24 lines
614 B
Plaintext
24 lines
614 B
Plaintext
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
|