Skip to content

Commit

Permalink
ESP32: Update ESP-IDF to 4.2+b132b611
Browse files Browse the repository at this point in the history
Our branch: https://github.com/mongoose-os/esp-idf/tree/4.2-r3

Based on upstream commit: espressif/esp-idf@b132b61

#580

ESP32: Update ESP-IDF to 4.2+b132b611
  • Loading branch information
rojer committed Sep 9, 2021
1 parent 49909a9 commit 9da5cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/esp32/sdk.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker.io/mgos/esp32-build:4.2-r2
docker.io/mgos/esp32-build:4.2-r3

4 comments on commit 9da5cb8

@nliviu
Copy link
Collaborator

@nliviu nliviu commented on 9da5cb8 Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something tries to allocate >1MB of memory early in the boot process:

[Sep 14 10:22:30.846] I (499) cpu_start: Single core mode
[Sep 14 10:22:30.846] I (504) heap_init: Initializing. RAM available for dynamic allocation:
[Sep 14 10:22:30.846] I (511) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
[Sep 14 10:22:30.846] I (517) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
[Sep 14 10:22:30.846] I (523) heap_init: At 3FFB9B28 len 000264D8 (153 KiB): DRAM
[Sep 14 10:22:30.846] I (529) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
[Sep 14 10:22:30.846] I (536) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
[Sep 14 10:22:30.859] I (542) heap_init: At 4009501C len 0000AFE4 (43 KiB): IRAM
[Sep 14 10:22:30.859] I (548) cpu_start: Pro cpu start user code
[Sep 14 10:22:30.906] E:M 1310720
[Sep 14 10:22:30.906] Heap summary for capabilities 0x00001800:
[Sep 14 10:22:30.906]   At 0x3ff80000 len 8192 free 2136 allocated 5928 min_free 2136
[Sep 14 10:22:30.906]     largest_free_block 2136 alloc_blocks 23 free_blocks 1 total_blocks 24
[Sep 14 10:22:30.906]   At 0x3ffae6e0 len 6432 free 6396 allocated 0 min_free 6396
[Sep 14 10:22:30.906]     largest_free_block 6396 alloc_blocks 0 free_blocks 1 total_blocks 1
[Sep 14 10:22:30.906]   At 0x3ffb9b28 len 156888 free 156852 allocated 0 min_free 156852
[Sep 14 10:22:30.906]     largest_free_block 156852 alloc_blocks 0 free_blocks 1 total_blocks 1
[Sep 14 10:22:30.906]   Totals:
[Sep 14 10:22:30.906]     free 165384 allocated 5928 min_free 165384 largest_free_block 156852
[Sep 14 10:22:30.923] I (604) spi_flash: detected chip: generic
[Sep 14 10:22:30.923] I (608) spi_flash: flash io: qio
[Sep 14 10:22:30.923] I (612) cpu_start: Starting scheduler on PRO CPU.

It doesn't happen with 4.2-r2

[Sep 14 10:44:48.962] I (514) cpu_start: Single core mode
[Sep 14 10:44:48.962] I (518) heap_init: Initializing. RAM available for dynamic allocation:
[Sep 14 10:44:48.962] I (525) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
[Sep 14 10:44:48.962] I (532) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
[Sep 14 10:44:48.962] I (538) heap_init: At 3FFBA0A0 len 00025F60 (151 KiB): DRAM
[Sep 14 10:44:48.962] I (544) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
[Sep 14 10:44:48.962] I (550) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
[Sep 14 10:44:48.975] I (557) heap_init: At 40095044 len 0000AFBC (43 KiB): IRAM
[Sep 14 10:44:48.975] I (563) cpu_start: Pro cpu start user code
[Sep 14 10:44:48.991] I (580) spi_flash: detected chip: generic
[Sep 14 10:44:48.991] I (580) spi_flash: flash io: qio
[Sep 14 10:44:48.991] I (580) cpu_start: Starting scheduler on PRO CPU.

@rojer
Copy link
Collaborator Author

@rojer rojer commented on 9da5cb8 Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C++ exception frame initialization code. it' benign (exceptions are disabled anyway) but it looks scary, will fix.

@nliviu
Copy link
Collaborator

@nliviu nliviu commented on 9da5cb8 Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't look scary to me, but I thought it's better to notify you.

@rojer
Copy link
Collaborator Author

@rojer rojer commented on 9da5cb8 Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in r4

Please sign in to comment.