bootloader somehow working
Signed-off-by: Eduard Iten <eduard@iten.pro>
This commit is contained in:
23
software/apps/bl_test/sysbuild/mcuboot.conf
Normal file
23
software/apps/bl_test/sysbuild/mcuboot.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
CONFIG_LOG=y
|
||||
CONFIG_MCUBOOT_LOG_LEVEL_INF=y
|
||||
|
||||
# Enable UART console for MCUboot debug output
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_MCUBOOT_INDICATION_LED=y
|
||||
|
||||
# Enable external SPI flash support
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_NOR=y
|
||||
CONFIG_SPI_NOR_SFDP_DEVICETREE=n
|
||||
CONFIG_FLASH=y
|
||||
CONFIG_FLASH_MAP=y
|
||||
CONFIG_GPIO=y
|
||||
|
||||
# Add SPI NOR specific configurations - use 4KB page size (required by driver)
|
||||
CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
|
||||
CONFIG_SPI_NOR_INIT_PRIORITY=80
|
||||
|
||||
# Set maximum image sectors manually since auto doesn't work with external flash
|
||||
CONFIG_BOOT_MAX_IMG_SECTORS_AUTO=n
|
||||
CONFIG_BOOT_MAX_IMG_SECTORS=80
|
||||
Reference in New Issue
Block a user