2021-03-10 17:10:49 -04:00
|
|
|
# PX4 Firmware Configuration
|
|
|
|
|
|
|
|
|
|
|
|
mainmenu "PX4 Firmware Configuration"
|
|
|
|
|
2021-03-11 14:39:01 -04:00
|
|
|
comment "Vendor: $(VENDOR)"
|
|
|
|
comment "Model: $(MODEL)"
|
|
|
|
comment "Label: $(LABEL)"
|
2021-08-04 09:58:31 -03:00
|
|
|
|
2021-08-18 10:12:37 -03:00
|
|
|
if $(HAS_CUSTOM_BOARD_KCONFIG)
|
|
|
|
menu "Custom board config"
|
|
|
|
osource "$(CUSTOM_BOARD_KCONFIG)"
|
|
|
|
endmenu
|
|
|
|
endif
|
|
|
|
|
2021-08-11 16:07:46 -03:00
|
|
|
menu "Toolchain"
|
|
|
|
choice
|
|
|
|
prompt "Platform"
|
|
|
|
default PLATFORM_NUTTX
|
|
|
|
config PLATFORM_NUTTX
|
|
|
|
bool "nuttx"
|
|
|
|
config PLATFORM_POSIX
|
|
|
|
bool "posix"
|
|
|
|
config PLATFORM_QURT
|
|
|
|
bool "qurt"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BOARD_PLATFORM
|
|
|
|
string
|
|
|
|
default "nuttx" if PLATFORM_NUTTX
|
|
|
|
default "posix" if PLATFORM_POSIX
|
|
|
|
default "qurt" if PLATFORM_QURT
|
|
|
|
|
2021-08-18 04:45:58 -03:00
|
|
|
config BOARD_LINUX
|
|
|
|
bool "Linux OS"
|
|
|
|
depends on PLATFORM_POSIX
|
2021-08-11 16:07:46 -03:00
|
|
|
help
|
2021-08-18 04:45:58 -03:00
|
|
|
Board Platform is running the Linux operating system
|
2021-08-11 16:07:46 -03:00
|
|
|
|
|
|
|
config BOARD_TOOLCHAIN
|
2021-08-18 04:45:58 -03:00
|
|
|
string "Toolchain"
|
2021-08-17 14:33:42 -03:00
|
|
|
default ""
|
2021-08-11 16:07:46 -03:00
|
|
|
|
|
|
|
config BOARD_ARCHITECTURE
|
2021-08-18 04:45:58 -03:00
|
|
|
string "Architecture"
|
2021-08-17 14:33:42 -03:00
|
|
|
default ""
|
2021-08-11 16:07:46 -03:00
|
|
|
|
|
|
|
config BOARD_ROMFSROOT
|
|
|
|
string "ROMFSROOT"
|
|
|
|
default "px4fmu_common"
|
|
|
|
help
|
|
|
|
relative path to the ROMFS root directory
|
|
|
|
|
|
|
|
config BOARD_BUILD_BOOTLOADER
|
|
|
|
bool "Enable bootloader"
|
|
|
|
help
|
|
|
|
flag to enable building and including the bootloader config
|
|
|
|
|
|
|
|
config BOARD_IO
|
|
|
|
string "IO board name"
|
|
|
|
help
|
|
|
|
name of IO board to be built and included in the ROMFS (requires a valid ROMFSROOT)
|
|
|
|
|
|
|
|
config BOARD_CONSTRAINED_FLASH
|
|
|
|
bool "Contrained flash"
|
|
|
|
help
|
|
|
|
flag to enable constrained flash options (eg limit init script status text)
|
|
|
|
|
|
|
|
if BOARD_CONSTRAINED_FLASH
|
|
|
|
|
|
|
|
config BOARD_NO_HELP
|
|
|
|
bool "No help"
|
|
|
|
help
|
|
|
|
optional condition flag to disable help text on constrained flash systems
|
|
|
|
|
|
|
|
endif #BOARD_CONSTRAINED_FLASH
|
|
|
|
|
|
|
|
config BOARD_CONSTRAINED_MEMORY
|
|
|
|
bool "Contrained memory"
|
|
|
|
help
|
|
|
|
flag to enable constrained memory options (eg limit maximum number of uORB publications)
|
|
|
|
|
|
|
|
config BOARD_EXTERNAL_METADATA
|
|
|
|
bool "External metadata"
|
|
|
|
help
|
|
|
|
flag to exclude metadata to reduce flash
|
|
|
|
|
|
|
|
config BOARD_LINKER_PREFIX
|
|
|
|
string "linker prefix"
|
|
|
|
help
|
|
|
|
optional to prefix on the Linker script.
|
|
|
|
|
|
|
|
config BOARD_COMPILE_DEFINITIONS
|
|
|
|
string "add custom compile definitions"
|
|
|
|
help
|
|
|
|
add custom compile defitions to this specific target
|
|
|
|
endmenu #Toolchain
|
2021-08-04 09:58:31 -03:00
|
|
|
|
|
|
|
config BOARD_TESTING
|
|
|
|
bool "Testing"
|
2021-08-11 16:07:46 -03:00
|
|
|
select SYSTEMCMDS_MICROBENCH
|
|
|
|
select SYSTEMCMDS_TESTS
|
2021-08-04 09:58:31 -03:00
|
|
|
help
|
|
|
|
flag to enable automatic inclusion of PX4 testing modules
|
|
|
|
|
|
|
|
|
|
|
|
config BOARD_ETHERNET
|
|
|
|
bool "Ethernet"
|
|
|
|
help
|
|
|
|
flag to indicate that ethernet is enabled
|
|
|
|
|
|
|
|
config BOARD_CRYPTO
|
|
|
|
string "Crypto"
|
|
|
|
help
|
|
|
|
Crypto implementation selection
|
|
|
|
|
|
|
|
config BOARD_KEYSTORE
|
|
|
|
string "Keystore"
|
|
|
|
help
|
|
|
|
Keystore implememntation selection
|
|
|
|
|
|
|
|
menu "Serial ports"
|
|
|
|
|
|
|
|
config BOARD_SERIAL_GPS1
|
|
|
|
string "GPS1 tty port"
|
|
|
|
|
|
|
|
config BOARD_SERIAL_GPS2
|
|
|
|
string "GPS2 tty port"
|
|
|
|
|
|
|
|
config BOARD_SERIAL_GPS3
|
|
|
|
string "GPS3 tty port"
|
|
|
|
|
|
|
|
config BOARD_SERIAL_GPS4
|
|
|
|
string "GPS4 tty port"
|
|
|
|
|
|
|
|
config BOARD_SERIAL_GPS5
|
|
|
|
string "GPS5 tty port"
|
|
|
|
|
|
|
|
config BOARD_SERIAL_TEL1
|
|
|
|
string "TEL1 tty port"
|
|
|
|
|
|
|
|
config BOARD_SERIAL_TEL2
|
|
|
|
string "TEL2 tty port"
|
|
|
|
|
|
|
|
config BOARD_SERIAL_TEL3
|
|
|
|
string "TEL3 tty port"
|
|
|
|
|
|
|
|
config BOARD_SERIAL_TEL4
|
|
|
|
string "TEL4 tty port"
|
|
|
|
|
|
|
|
config BOARD_SERIAL_TEL5
|
|
|
|
string "TEL5 tty port"
|
|
|
|
endmenu
|
2021-03-11 14:39:01 -04:00
|
|
|
|
2021-03-10 17:10:49 -04:00
|
|
|
menu "drivers"
|
2021-03-12 10:50:25 -04:00
|
|
|
source "src/drivers/Kconfig"
|
2021-03-10 17:10:49 -04:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "modules"
|
2021-03-12 10:50:25 -04:00
|
|
|
source "src/modules/Kconfig"
|
2021-03-10 17:10:49 -04:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "systemcmds"
|
2021-03-12 10:50:25 -04:00
|
|
|
source "src/systemcmds/Kconfig"
|
2021-03-10 17:10:49 -04:00
|
|
|
endmenu
|
2021-03-11 18:03:45 -04:00
|
|
|
|
|
|
|
menu "examples"
|
2021-03-12 10:50:25 -04:00
|
|
|
source "src/examples/Kconfig"
|
2021-03-11 18:03:45 -04:00
|
|
|
endmenu
|