Skip to content

espressif: bump IDF version to v6.0 and add ESP32-C5 initial support#2689

Open
almir-okato wants to merge 12 commits intomcu-tools:mainfrom
almir-okato:hal_update_idf_v6.0
Open

espressif: bump IDF version to v6.0 and add ESP32-C5 initial support#2689
almir-okato wants to merge 12 commits intomcu-tools:mainfrom
almir-okato:hal_update_idf_v6.0

Conversation

@almir-okato
Copy link
Copy Markdown
Collaborator

This PR bumps the IDF version supported by Espressif Port to v6.0 and adds basic support for ESP32-C5.
Also there are some minor fixes included.

@almir-okato almir-okato force-pushed the hal_update_idf_v6.0 branch from e989aab to 6926525 Compare April 9, 2026 11:41
almir-okato and others added 10 commits April 14, 2026 16:38
Signed-off-by: Almir Okato <almir.okato@espressif.com>
Signed-off-by: Almir Okato <almir.okato@espressif.com>
Signed-off-by: Almir Okato <almir.okato@espressif.com>
Signed-off-by: Almir Okato <almir.okato@espressif.com>
Signed-off-by: Almir Okato <almir.okato@espressif.com>
Signed-off-by: Almir Okato <almir.okato@espressif.com>
Signed-off-by: Danill <daniil.suhih@midomis.ru>
Signed-off-by: Almir Okato <almir.okato@espressif.com>
Declare total_len variable only when DEBUG log level is enabled.

Signed-off-by: Almir Okato <almir.okato@espressif.com>
Add sections used by the debugger and disassembler to
get more information about raw data present in the code.

Signed-off-by: Almir Okato <almir.okato@espressif.com>
Create another segment from dram_seg, dram_loader_seg, to place
objects accessed by code in iram_loader_seg as it must not be
overlapped while loading main application.
Also reorganize the linker scripts to improve these memory spaces.

Signed-off-by: Almir Okato <almir.okato@espressif.com>
@almir-okato almir-okato force-pushed the hal_update_idf_v6.0 branch from 6926525 to 9096d66 Compare April 14, 2026 19:50
@almir-okato almir-okato added the area: espressif Affects the Espressif port label Apr 14, 2026
@almir-okato almir-okato force-pushed the hal_update_idf_v6.0 branch from 9096d66 to af62f50 Compare April 14, 2026 19:57
@almir-okato almir-okato marked this pull request as ready for review April 14, 2026 19:59
@almir-okato almir-okato force-pushed the hal_update_idf_v6.0 branch from af62f50 to 6b00b99 Compare April 15, 2026 13:59
@almir-okato
Copy link
Copy Markdown
Collaborator Author

@nordicjm @sylvioalves @utzig could you please take a look?

@almir-okato almir-okato linked an issue Apr 17, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Member

@d3zd3z d3zd3z left a comment

Choose a reason for hiding this comment

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

Other than a minor question, this looks ok. Everything seems to be espressif specific. Presumably, there is testing on targets (CI only does compile testing).

Comment thread boot/espressif/hal/CMakeLists.txt Outdated
This updates the IDF HAL version used for Espressif port to v6.0.0
and update the files necessary to properly build MCUboot.

Signed-off-by: Almir Okato <almir.okato@espressif.com>
Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
Signed-off-by: Almir Okato <almir.okato@espressif.com>
@almir-okato almir-okato force-pushed the hal_update_idf_v6.0 branch from 6b00b99 to c83acea Compare April 23, 2026 13:34
@almir-okato
Copy link
Copy Markdown
Collaborator Author

Other than a minor question, this looks ok. Everything seems to be espressif specific. Presumably, there is testing on targets (CI only does compile testing).

I fixed that, for what I tested it wasn't affecting the behavior, but it's better to prevent potential issues. Thanks!

Copy link
Copy Markdown

@josesimoes josesimoes left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: espressif Affects the Espressif port

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Any plans to update Espressif IDF?

4 participants