-
Notifications
You must be signed in to change notification settings - Fork 7.8k
stm32: mcuboot: add support for mcuboot tests and samples #93862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
stm32: mcuboot: add support for mcuboot tests and samples #93862
Conversation
959b37f
to
9b3a129
Compare
add boot and slots partitions for flash memory in dedicated mcu boards Signed-off-by: Fabrice DJIATSA <[email protected]>
Add STM32 supported boards for the test. Signed-off-by: Fabrice DJIATSA <[email protected]>
Add STM32 supported boards for the test. Signed-off-by: Fabrice DJIATSA <[email protected]>
Add STM32 supported boards for the test. Signed-off-by: Fabrice DJIATSA <[email protected]>
Since the addition of a new storage partition definition in the nucleo_f746zg dts, this node must be deleted before performing this test. Signed-off-by: Fabrice DJIATSA <[email protected]>
9b3a129
to
920d124
Compare
|
@@ -177,17 +177,17 @@ stm32_lp_tick_source: &lptim1 { | |||
|
|||
boot_partition: partition@0 { | |||
label = "mcuboot"; | |||
reg = <0x00000000 DT_SIZE_K(34)>; | |||
reg = <0x00000000 DT_SIZE_K(64)>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
48KB is the minimum MCUboot partition size, Flash sectors are atmost 4KB on this SoC, so why give more to MCUboot?
Same for other Flash-constrainted SoCs with sub-32KB sector size.
This PR adds support for testing MCUboot tests and samples. However, not all series are supported yet due to some limitations and hardware incapacity.
Related tests and samples :