-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
79 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/ { | ||
chosen { | ||
zephyr,code-partition = &slot0_partition; | ||
}; | ||
aliases { | ||
die-temp0 = &die_temp; | ||
}; | ||
}; | ||
|
||
&die_temp { | ||
status = "okay"; | ||
}; | ||
|
||
&adc2 { | ||
pinctrl-0 = <&adc2_inp0_pc2_c>; | ||
pinctrl-names = "default"; | ||
st,adc-clock-source = <SYNC>; | ||
st,adc-prescaler = <4>; | ||
status = "okay"; | ||
}; | ||
|
||
&flash0 { | ||
partitions { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
boot_partition: partition@0 { | ||
label = "mcuboot"; | ||
reg = <0x00000000 0x00010000>; | ||
read-only; | ||
}; | ||
/* | ||
* The flash starting at 0x00010000 and ending at | ||
* 0x0001ffff (sectors 16-31) is reserved for use | ||
* by the application. | ||
*/ | ||
storage_partition: partition@1e000 { | ||
label = "storage"; | ||
reg = <0x0001e000 0x00002000>; | ||
}; | ||
slot0_partition: partition@20000 { | ||
label = "image-0"; | ||
reg = <0x00020000 0x00060000>; | ||
}; | ||
slot1_partition: partition@80000 { | ||
label = "image-1"; | ||
reg = <0x00080000 0x00060000>; | ||
}; | ||
scratch_partition: partition@e0000 { | ||
label = "image-scratch"; | ||
reg = <0x000e0000 0x00020000>; | ||
}; | ||
}; | ||
}; |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sysbuild configuration file. | ||
|
||
# Enable MCUboot per default for this sample. | ||
SB_CONFIG_BOOTLOADER_MCUBOOT=y |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "../../../boards/stm32h7b3i_dk.overlay" | ||
|
||
/ { | ||
chosen { | ||
zephyr,code-partition = &boot_partition; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Enable debug logs for testing | ||
CONFIG_MCUBOOT_LOG_LEVEL_DBG=y | ||
|
||
CONFIG_MCUBOOT_IMG_MANAGER=y | ||
CONFIG_IMG_MANAGER=y | ||
CONFIG_FLASH=y | ||
CONFIG_FLASH_PAGE_LAYOUT=y | ||
CONFIG_FLASH_MAP=y | ||
CONFIG_STREAM_FLASH=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ manifest: | |
name-allowlist: | ||
- cmsis | ||
- hal_stm32 | ||
# - mbedtls | ||
- mbedtls | ||
- mcuboot | ||
- picolibc | ||
|
||
|