|
|
@ -7,112 +7,122 @@ comment "Vendor: $(VENDOR)" |
|
|
|
comment "Model: $(MODEL)" |
|
|
|
comment "Model: $(MODEL)" |
|
|
|
comment "Label: $(LABEL)" |
|
|
|
comment "Label: $(LABEL)" |
|
|
|
|
|
|
|
|
|
|
|
choice |
|
|
|
menu "Toolchain" |
|
|
|
prompt "Platform" |
|
|
|
choice |
|
|
|
default PLATFORM_NUTTX |
|
|
|
prompt "Platform" |
|
|
|
config PLATFORM_NUTTX |
|
|
|
default PLATFORM_NUTTX |
|
|
|
bool "nuttx" |
|
|
|
config PLATFORM_NUTTX |
|
|
|
config PLATFORM_POSIX |
|
|
|
bool "nuttx" |
|
|
|
bool "posix" |
|
|
|
config PLATFORM_POSIX |
|
|
|
config PLATFORM_QURT |
|
|
|
bool "posix" |
|
|
|
bool "qurt" |
|
|
|
config PLATFORM_QURT |
|
|
|
endchoice |
|
|
|
bool "qurt" |
|
|
|
|
|
|
|
endchoice |
|
|
|
config BOARD_PLATFORM |
|
|
|
|
|
|
|
string |
|
|
|
config BOARD_PLATFORM |
|
|
|
default "nuttx" if PLATFORM_NUTTX |
|
|
|
string |
|
|
|
default "posix" if PLATFORM_POSIX |
|
|
|
default "nuttx" if PLATFORM_NUTTX |
|
|
|
default "qurt" if PLATFORM_QURT |
|
|
|
default "posix" if PLATFORM_POSIX |
|
|
|
|
|
|
|
default "qurt" if PLATFORM_QURT |
|
|
|
choice |
|
|
|
|
|
|
|
prompt "Toolchain" |
|
|
|
choice |
|
|
|
default TOOLCHAIN_ARM_NONE_EABI |
|
|
|
prompt "Toolchain" |
|
|
|
config TOOLCHAIN_ARM_NONE_EABI |
|
|
|
default TOOLCHAIN_ARM_NONE_EABI |
|
|
|
bool "arm-none-eabi" |
|
|
|
config TOOLCHAIN_ARM_NONE_EABI |
|
|
|
config TOOLCHAIN_RISV64 |
|
|
|
bool "arm-none-eabi" |
|
|
|
bool "riscv64-unknown-elf" |
|
|
|
config TOOLCHAIN_RISV64 |
|
|
|
help |
|
|
|
bool "riscv64-unknown-elf" |
|
|
|
cmake toolchain |
|
|
|
help |
|
|
|
endchoice |
|
|
|
cmake toolchain |
|
|
|
|
|
|
|
endchoice |
|
|
|
config BOARD_TOOLCHAIN |
|
|
|
|
|
|
|
string |
|
|
|
config BOARD_TOOLCHAIN |
|
|
|
default "arm-none-eabi" if TOOLCHAIN_ARM_NONE_EABI |
|
|
|
string |
|
|
|
default "riscv64-unknown-elf" if TOOLCHAIN_RISV64 |
|
|
|
default "arm-none-eabi" if TOOLCHAIN_ARM_NONE_EABI |
|
|
|
|
|
|
|
default "riscv64-unknown-elf" if TOOLCHAIN_RISV64 |
|
|
|
choice |
|
|
|
|
|
|
|
prompt "Architecture" |
|
|
|
choice |
|
|
|
config ARCHITECTURE_CORTEX_M3 |
|
|
|
prompt "Architecture" |
|
|
|
bool "cortex-m3" |
|
|
|
config ARCHITECTURE_CORTEX_M3 |
|
|
|
config ARCHITECTURE_CORTEX_M4 |
|
|
|
bool "cortex-m3" |
|
|
|
bool "cortex-m4" |
|
|
|
config ARCHITECTURE_CORTEX_M4 |
|
|
|
config ARCHITECTURE_CORTEX_M7 |
|
|
|
bool "cortex-m4" |
|
|
|
bool "cortex-m7" |
|
|
|
config ARCHITECTURE_CORTEX_M7 |
|
|
|
config ARCHITECTURE_CORTEX_A8 |
|
|
|
bool "cortex-m7" |
|
|
|
bool "cortex-a8" |
|
|
|
config ARCHITECTURE_CORTEX_A8 |
|
|
|
config ARCHITECTURE_CORTEX_A53 |
|
|
|
bool "cortex-a8" |
|
|
|
bool "cortex-a53" |
|
|
|
config ARCHITECTURE_CORTEX_A53 |
|
|
|
help |
|
|
|
bool "cortex-a53" |
|
|
|
name of the CPU CMake is building for (used by the toolchain) |
|
|
|
help |
|
|
|
endchoice |
|
|
|
name of the CPU CMake is building for (used by the toolchain) |
|
|
|
|
|
|
|
endchoice |
|
|
|
config BOARD_ARCHITECTURE |
|
|
|
|
|
|
|
string |
|
|
|
config BOARD_ARCHITECTURE |
|
|
|
default "cortex-m3" if ARCHITECTURE_CORTEX_M3 |
|
|
|
string |
|
|
|
default "cortex-m4" if ARCHITECTURE_CORTEX_M4 |
|
|
|
default "cortex-m3" if ARCHITECTURE_CORTEX_M3 |
|
|
|
default "cortex-m7" if ARCHITECTURE_CORTEX_M7 |
|
|
|
default "cortex-m4" if ARCHITECTURE_CORTEX_M4 |
|
|
|
default "cortex-a8" if ARCHITECTURE_CORTEX_A8 |
|
|
|
default "cortex-m7" if ARCHITECTURE_CORTEX_M7 |
|
|
|
default "cortex-a53" if ARCHITECTURE_CORTEX_A53 |
|
|
|
default "cortex-a8" if ARCHITECTURE_CORTEX_A8 |
|
|
|
|
|
|
|
default "cortex-a53" if ARCHITECTURE_CORTEX_A53 |
|
|
|
config BOARD_ROMFSROOT |
|
|
|
|
|
|
|
string "ROMFSROOT" |
|
|
|
config BOARD_ROMFSROOT |
|
|
|
default "px4fmu_common" |
|
|
|
string "ROMFSROOT" |
|
|
|
help |
|
|
|
default "px4fmu_common" |
|
|
|
relative path to the ROMFS root directory |
|
|
|
help |
|
|
|
|
|
|
|
relative path to the ROMFS root directory |
|
|
|
config BOARD_BUILD_BOOTLOADER |
|
|
|
|
|
|
|
bool "Enable bootloader" |
|
|
|
config BOARD_BUILD_BOOTLOADER |
|
|
|
help |
|
|
|
bool "Enable bootloader" |
|
|
|
flag to enable building and including the bootloader config |
|
|
|
help |
|
|
|
|
|
|
|
flag to enable building and including the bootloader config |
|
|
|
config BOARD_IO |
|
|
|
|
|
|
|
string "IO board name" |
|
|
|
config BOARD_IO |
|
|
|
help |
|
|
|
string "IO board name" |
|
|
|
name of IO board to be built and included in the ROMFS (requires a valid ROMFSROOT) |
|
|
|
help |
|
|
|
|
|
|
|
name of IO board to be built and included in the ROMFS (requires a valid ROMFSROOT) |
|
|
|
config BOARD_CONSTRAINED_FLASH |
|
|
|
|
|
|
|
bool "Contrained flash" |
|
|
|
config BOARD_CONSTRAINED_FLASH |
|
|
|
help |
|
|
|
bool "Contrained flash" |
|
|
|
flag to enable constrained flash options (eg limit init script status text) |
|
|
|
help |
|
|
|
|
|
|
|
flag to enable constrained flash options (eg limit init script status text) |
|
|
|
if BOARD_CONSTRAINED_FLASH |
|
|
|
|
|
|
|
|
|
|
|
if BOARD_CONSTRAINED_FLASH |
|
|
|
config BOARD_NO_HELP |
|
|
|
|
|
|
|
bool "No help" |
|
|
|
config BOARD_NO_HELP |
|
|
|
help |
|
|
|
bool "No help" |
|
|
|
optional condition flag to disable help text on constrained flash systems |
|
|
|
help |
|
|
|
|
|
|
|
optional condition flag to disable help text on constrained flash systems |
|
|
|
endif #BOARD_CONSTRAINED_FLASH |
|
|
|
|
|
|
|
|
|
|
|
endif #BOARD_CONSTRAINED_FLASH |
|
|
|
config BOARD_CONSTRAINED_MEMORY |
|
|
|
|
|
|
|
bool "Contrained memory" |
|
|
|
config BOARD_CONSTRAINED_MEMORY |
|
|
|
help |
|
|
|
bool "Contrained memory" |
|
|
|
flag to enable constrained memory options (eg limit maximum number of uORB publications) |
|
|
|
help |
|
|
|
|
|
|
|
flag to enable constrained memory options (eg limit maximum number of uORB publications) |
|
|
|
config BOARD_EXTERNAL_METADATA |
|
|
|
|
|
|
|
bool "External metadata" |
|
|
|
config BOARD_EXTERNAL_METADATA |
|
|
|
help |
|
|
|
bool "External metadata" |
|
|
|
flag to exclude metadata to reduce flash |
|
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
config BOARD_TESTING |
|
|
|
config BOARD_TESTING |
|
|
|
bool "Testing" |
|
|
|
bool "Testing" |
|
|
|
|
|
|
|
select SYSTEMCMDS_MICROBENCH |
|
|
|
|
|
|
|
select SYSTEMCMDS_TESTS |
|
|
|
help |
|
|
|
help |
|
|
|
flag to enable automatic inclusion of PX4 testing modules |
|
|
|
flag to enable automatic inclusion of PX4 testing modules |
|
|
|
|
|
|
|
|
|
|
|
config BOARD_LINKER_PREFIX |
|
|
|
|
|
|
|
bool "PX4 board linker prefix" |
|
|
|
|
|
|
|
help |
|
|
|
|
|
|
|
optional to prefix on the Linker script. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config BOARD_ETHERNET |
|
|
|
config BOARD_ETHERNET |
|
|
|
bool "Ethernet" |
|
|
|
bool "Ethernet" |
|
|
|