669ef1eb2b
2、support BSP_USING_OTA MCUBOOT_BOOTLOADER and MCUBOOT_APPLICATION in xidatong-arm32/Kconfig; 3、support compile XiZi-xidatong-arm32-boot.bin when enable MCUBOOT_BOOTLOADER and XiZi-xidatong-arm32-app.bin when enable MCUBOOT_APPLICATION; 4、add QSPIFlash function for xidatong-arm32。
78 lines
1.6 KiB
Plaintext
78 lines
1.6 KiB
Plaintext
mainmenu "XiZi_IIoT Project Configuration"
|
|
|
|
config BSP_DIR
|
|
string
|
|
option env="BSP_ROOT"
|
|
default "."
|
|
|
|
config KERNEL_DIR
|
|
string
|
|
option env="KERNEL_ROOT"
|
|
default "../.."
|
|
|
|
config BOARD_CORTEX_M7_EVB
|
|
bool
|
|
select ARCH_ARM
|
|
default y
|
|
|
|
|
|
source "$KERNEL_DIR/arch/Kconfig"
|
|
|
|
menu "xidatong-arm32 feature"
|
|
source "$BSP_DIR/third_party_driver/Kconfig"
|
|
|
|
menu "config default board resources"
|
|
menu "config board app name"
|
|
config BOARD_APP_NAME
|
|
string "config board app name"
|
|
default "/XiUOS_xidatong_app.bin"
|
|
endmenu
|
|
|
|
menu "config board service table"
|
|
config SERVICE_TABLE_ADDRESS
|
|
hex "board service table address"
|
|
default 0x2007F0000
|
|
endmenu
|
|
|
|
endmenu
|
|
|
|
config __STACKSIZE__
|
|
int "stack size for interrupt"
|
|
default 4096
|
|
|
|
config BSP_USING_OTA
|
|
bool "xidatong arm32 support OTA function"
|
|
default n
|
|
if BSP_USING_OTA
|
|
choice
|
|
prompt "compile bootloader bin or application bin."
|
|
default MCUBOOT_BOOTLOADER
|
|
|
|
config MCUBOOT_BOOTLOADER
|
|
bool "config as bootloader."
|
|
|
|
config MCUBOOT_APPLICATION
|
|
bool "config as application."
|
|
endchoice
|
|
endif
|
|
|
|
menu "config board peripheral"
|
|
config MOUNT_SDCARD
|
|
bool
|
|
default n
|
|
config MOUNT_USB
|
|
bool
|
|
default n
|
|
endmenu
|
|
|
|
endmenu
|
|
|
|
|
|
menu "Hardware feature"
|
|
source "$KERNEL_DIR/resources/Kconfig"
|
|
endmenu
|
|
|
|
source "$KERNEL_DIR/Kconfig"
|
|
|
|
|