112 lines
2.4 KiB
Plaintext
Raw Normal View History

2025-10-10 16:07:00 +08:00
#TODO add full ARMINO Kconfig
source "${ARMINO_PATH}/middleware/soc/Kconfig"
mainmenu "Beken Development Configuration"
menu "ARMINO Configuration"
menu "Common Configuration"
menu "Compile/Build"
# Don't modify the default value directly!
# modify middleware/soc/bkxxx/bkxxx.defconfig,
# or modify it in per-project bkxxx.config
config TOOLCHAIN_PATH
string "Toolchain absolute path"
default "/opt/gcc-arm-none-eabi-10.3-2021.10/bin"
config TOOLCHAIN_PREFIX
string "Toolchain prefix"
default "arm-none-eabi-"
config OBJDUMP
bool "whether Objdump -d elf to lst or not"
default y
endmenu
menu "Debug"
choice ASSERT
prompt "Assert options"
default ASSERT_REBOOT
config ASSERT_IGNORE
bool "Ignore Assert"
config ASSERT_HALT
bool "Assert halts the system"
config ASSERT_REBOOT
bool "Assert reboots the system"
endchoice
config JTAG
bool "Enable JTAG"
default n
endmenu
endmenu
# Configure global or cross-components features
# Place configurations here if:
# - Global features which is NOT suitable to configure in any specific component
# - Mutual exclusive components, such as ble, ble_5_x_rw etc
menu "Features Configuration"
config LWIP
depends on WIFI_ENABLE
bool "Enable LWIP"
default y
choice LWIP
depends on LWIP
prompt "LWIP Version"
default LWIP_V2_0
config LWIP_V2_0
depends on LWIP
bool "LWIP 2.0.2"
config LWIP_V2_1
depends on LWIP
bool "LWIP 2.1.2"
endchoice
choice HOST
prompt "Hosted Mode"
default NO_HOSTED
config NO_HOSTED
bool "Disable Hosted"
config SEMI_HOSTED
bool "Semi Hosted"
config FULLY_HOSTED
bool "Fully Hosted"
endchoice
config WIFI_SENSOR
bool "Enable WiFi sensor"
default n
config BLUETOOTH
bool "Enable Bluetooth"
default y
endmenu
menu "Modules Configuration"
menu "Components Configuration"
source "$COMPONENTS_KCONFIGS_SOURCE_FILE"
endmenu
menu "Middleware Configuration"
source "$MIDDLEWARE_KCONFIGS_SOURCE_FILE"
endmenu
menu "Projects Configuration"
source "$PROJECTS_KCONFIGS_SOURCE_FILE"
endmenu
menu "Properties Configuration"
source "$PROPERTIES_KCONFIGS_SOURCE_FILE"
endmenu
menu "Extra Modules Configuration"
source "$EXTRA_KCONFIGS_SOURCE_FILE"
endmenu
endmenu
endmenu
source "$COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE"