Extra memory after "run FreeRTOS only on first core"
Posted: Tue May 17, 2022 8:55 am
Hi,
I have two questions that are related to each other:
1)
After enabling the "run FreeRTOS only on first core" option, I observed the following memory increases:
~51 KB for MALLOC_CAP_EXEC
~17.5 KB for free_heap_size, MALLOC_CAP_DMA, MALLOC_CAP_8BIT, and MALLOC_CAP_DEFAULT
I understand that enabling this option free the cache1 which is 32 KB. However, it does not explain the numbers above totally. Any idea?
2)
I observe the following changes in sdkconfig after enabling only "run FreeRTOS only on first core" :
-CONFIG_BTDM_CTRL_PINNED_TO_CORE_0=y
-CONFIG_BLUEDROID_PINNED_TO_CORE_0=y
-CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y
+CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y
What does it mean?
Extra: Is there anything that uses cache1 different than freertos?
I have two questions that are related to each other:
1)
After enabling the "run FreeRTOS only on first core" option, I observed the following memory increases:
~51 KB for MALLOC_CAP_EXEC
~17.5 KB for free_heap_size, MALLOC_CAP_DMA, MALLOC_CAP_8BIT, and MALLOC_CAP_DEFAULT
I understand that enabling this option free the cache1 which is 32 KB. However, it does not explain the numbers above totally. Any idea?
2)
I observe the following changes in sdkconfig after enabling only "run FreeRTOS only on first core" :
-CONFIG_BTDM_CTRL_PINNED_TO_CORE_0=y
-CONFIG_BLUEDROID_PINNED_TO_CORE_0=y
-CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y
+CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE=y
What does it mean?
Extra: Is there anything that uses cache1 different than freertos?