4d4566e9ed
This patch adds working integration of progmem FLASH. User can partition internal FLASH memory to up to 4 partitions and use any combination of raw, nxffs, smartfs and mtd_config filesystems (unless there are other limitations like nxffs supports only single instance). Support for dual CPU is added to Kconfig to not overwrite CPU2 program code. Code guards user to not allocate more memory than there is on FLASH, and warns user if not all FLASH memory is used. Errors will be printed when user tries to initialize two instances of nxffs or mtd_config filesystems. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
55 lines
1.7 KiB
Plaintext
55 lines
1.7 KiB
Plaintext
#
|
|
# This file is autogenerated: PLEASE DO NOT EDIT IT.
|
|
#
|
|
# You can use "make menuconfig" to make any modifications to the installed .config file.
|
|
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
|
# modifications.
|
|
#
|
|
# CONFIG_STANDARD_SERIAL is not set
|
|
CONFIG_ARCH="arm"
|
|
CONFIG_ARCH_BOARD="nucleo-wl55jc"
|
|
CONFIG_ARCH_BOARD_FLASH_CPU1_PROG_SIZE=116
|
|
CONFIG_ARCH_BOARD_FLASH_MOUNT=y
|
|
CONFIG_ARCH_BOARD_FLASH_PART1_MNT=""
|
|
CONFIG_ARCH_BOARD_FLASH_PART1_NAME="raw"
|
|
CONFIG_ARCH_BOARD_FLASH_PART2_FS_SMARTFS=y
|
|
CONFIG_ARCH_BOARD_FLASH_PART2_MNT="/mnt/smart"
|
|
CONFIG_ARCH_BOARD_FLASH_PART2_NAME="smartie"
|
|
CONFIG_ARCH_BOARD_FLASH_PART2_SIZE=8
|
|
CONFIG_ARCH_BOARD_FLASH_PART3_FS_NXFFS=y
|
|
CONFIG_ARCH_BOARD_FLASH_PART3_MNT="/mnt/nx"
|
|
CONFIG_ARCH_BOARD_FLASH_PART3_NAME="nxf"
|
|
CONFIG_ARCH_BOARD_FLASH_PART3_SIZE=2
|
|
CONFIG_ARCH_BOARD_FLASH_PART4_FS_MTDCONFIG=y
|
|
CONFIG_ARCH_BOARD_FLASH_PART4_MNT=""
|
|
CONFIG_ARCH_BOARD_FLASH_PART4_NAME="config"
|
|
CONFIG_ARCH_BOARD_FLASH_PART4_SIZE=1
|
|
CONFIG_ARCH_BOARD_NUCLEO_WL55JC=y
|
|
CONFIG_ARCH_BOARD_NUCLEO_WL55JC_DEMO_LED_IRQ=y
|
|
CONFIG_ARCH_BUTTONS=y
|
|
CONFIG_ARCH_CHIP="stm32wl5"
|
|
CONFIG_ARCH_CHIP_STM32WL55JC_CPU1=y
|
|
CONFIG_ARCH_CHIP_STM32WL5=y
|
|
CONFIG_ARCH_IRQBUTTONS=y
|
|
CONFIG_BUILTIN=y
|
|
CONFIG_EXAMPLES_BUTTONS=y
|
|
CONFIG_EXAMPLES_LEDS=y
|
|
CONFIG_INIT_ENTRYNAME="main"
|
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
|
CONFIG_INPUT=y
|
|
CONFIG_INPUT_BUTTONS=y
|
|
CONFIG_INPUT_BUTTONS_LOWER=y
|
|
CONFIG_LPUART1_SERIAL_CONSOLE=y
|
|
CONFIG_MTD_CONFIG_NAMED=y
|
|
CONFIG_MTD_SMART_SECTOR_SIZE=2048
|
|
CONFIG_NSH_ARCHINIT=y
|
|
CONFIG_NSH_BUILTIN_APPS=y
|
|
CONFIG_RAM_SIZE=32768
|
|
CONFIG_RAM_START=0x20000000
|
|
CONFIG_RAW_BINARY=y
|
|
CONFIG_STM32WL5_LPUART1=y
|
|
CONFIG_SYSTEM_CFGDATA=y
|
|
CONFIG_SYSTEM_NSH=y
|
|
CONFIG_USERLED=y
|
|
CONFIG_USERLED_LOWER=y
|