same sdkconfig but different memory layouts
Posted: Thu Apr 27, 2017 9:18 pm
Hello,
I've two project with the same sdkconfig and created using esp-idf-template. When I flash and run monitor, the memory layout presented by the boot process are different.
Let me show:
I (1428) cpu_start: Pro cpu up.
I (1428) cpu_start: Single core mode
I (1429) heap_alloc_caps: Initializing. RAM available for dynamic allocation:
I (1442) heap_alloc_caps: At 3FFAE2A0 len 00001D60 (7 KiB): DRAM
I (1462) heap_alloc_caps: At 3FFC37C0 len 0001C840 (114 KiB): DRAM
I (1483) heap_alloc_caps: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (1505) heap_alloc_caps: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1526) heap_alloc_caps: At 40086C04 len 000193FC (100 KiB): IRAM
I (1548) cpu_start: Pro cpu start user code
I (1607) cpu_start: Starting scheduler on PRO CPU.
ESP32 SDK version:v2.0-rc1-666-g0fe765a9, RAM left 212192
==================================================================================================================
I (1428) cpu_start: Pro cpu up.
I (1429) cpu_start: Single core mode
I (1430) heap_alloc_caps: Initializing. RAM available for dynamic allocation:
I (1443) heap_alloc_caps: At 3FFAE2A0 len 00001D60 (7 KiB): DRAM
I (1463) heap_alloc_caps: At 3FFB1B58 len 0002E4A8 (185 KiB): DRAM
I (1484) heap_alloc_caps: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (1506) heap_alloc_caps: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1527) heap_alloc_caps: At 40086C04 len 000193FC (100 KiB): IRAM
I (1548) cpu_start: Pro cpu start user code
I (1607) cpu_start: Starting scheduler on PRO CPU.
ESP32 SDK version:v2.0-rc1-666-g0fe765a9, RAM left 285000
The first one was created 3 week ago and the second one today. I'm doing "make clean flash monitor" in both projects.
Could someone explain de difference ?
Thanks
I've two project with the same sdkconfig and created using esp-idf-template. When I flash and run monitor, the memory layout presented by the boot process are different.
Let me show:
I (1428) cpu_start: Pro cpu up.
I (1428) cpu_start: Single core mode
I (1429) heap_alloc_caps: Initializing. RAM available for dynamic allocation:
I (1442) heap_alloc_caps: At 3FFAE2A0 len 00001D60 (7 KiB): DRAM
I (1462) heap_alloc_caps: At 3FFC37C0 len 0001C840 (114 KiB): DRAM
I (1483) heap_alloc_caps: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (1505) heap_alloc_caps: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1526) heap_alloc_caps: At 40086C04 len 000193FC (100 KiB): IRAM
I (1548) cpu_start: Pro cpu start user code
I (1607) cpu_start: Starting scheduler on PRO CPU.
ESP32 SDK version:v2.0-rc1-666-g0fe765a9, RAM left 212192
==================================================================================================================
I (1428) cpu_start: Pro cpu up.
I (1429) cpu_start: Single core mode
I (1430) heap_alloc_caps: Initializing. RAM available for dynamic allocation:
I (1443) heap_alloc_caps: At 3FFAE2A0 len 00001D60 (7 KiB): DRAM
I (1463) heap_alloc_caps: At 3FFB1B58 len 0002E4A8 (185 KiB): DRAM
I (1484) heap_alloc_caps: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (1506) heap_alloc_caps: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1527) heap_alloc_caps: At 40086C04 len 000193FC (100 KiB): IRAM
I (1548) cpu_start: Pro cpu start user code
I (1607) cpu_start: Starting scheduler on PRO CPU.
ESP32 SDK version:v2.0-rc1-666-g0fe765a9, RAM left 285000
The first one was created 3 week ago and the second one today. I'm doing "make clean flash monitor" in both projects.
Could someone explain de difference ?
Thanks