Skip to content

boot: zephyr: socs: add esp32c61 and esp32s31 config - #2809

Merged
sylvioalves merged 2 commits into
mcu-tools:mainfrom
sylvioalves:add-esp32c61-esp32s31-socs
Aug 13, 2026
Merged

boot: zephyr: socs: add esp32c61 and esp32s31 config#2809
sylvioalves merged 2 commits into
mcu-tools:mainfrom
sylvioalves:add-esp32c61-esp32s31-socs

Conversation

@sylvioalves

@sylvioalves sylvioalves commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Add Kconfig for the ESP32-C61 and ESP32-S31 SoCs, mirroring
the existing Espressif bootloader configuration.

Also cleanup other SoCs .conf entries.

Comment thread boot/zephyr/socs/esp32c61.conf Outdated
Comment thread boot/zephyr/socs/esp32c61.conf Outdated
Comment on lines +13 to +14
CONFIG_MCUBOOT_LOG_LEVEL_OFF=y
CONFIG_LOG_DEFAULT_LEVEL=0

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why not just disable logging?

@sylvioalves sylvioalves Aug 6, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

CONFIG_LOG=n costs ~1.4 KB on any RISC-V Zephyr target because it swaps a compile-time-gated LOG_ERR for an ungated printk, so better keep as is until some work is done.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

that is actually shocking information...

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

CONFIG_PICOLIBC and CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE are
already set to the same values in prj.conf, so setting them
again per SoC has no effect. Remove them from the Espressif
fragments.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Add Kconfig for the ESP32-C61 and ESP32-S31 SoCs, mirroring
the existing Espressif bootloader configuration.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
@sylvioalves
sylvioalves force-pushed the add-esp32c61-esp32s31-socs branch from 2014ee8 to 930ae10 Compare August 6, 2026 14:30
@sylvioalves
sylvioalves requested a review from nordicjm August 6, 2026 14:34
@sylvioalves sylvioalves closed this Aug 7, 2026
@sylvioalves sylvioalves reopened this Aug 7, 2026
@sylvioalves
sylvioalves merged commit b1b886e into mcu-tools:main Aug 13, 2026
256 of 300 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants