mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:58:53 +08:00
- px4_add_module now requires MAIN - px4_add_library doesn't automatically link
42 lines
687 B
CMake
42 lines
687 B
CMake
|
|
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common)
|
|
|
|
set(config_module_list
|
|
#
|
|
# Board support modules
|
|
#
|
|
drivers/stm32
|
|
|
|
#
|
|
# System commands
|
|
#
|
|
systemcmds/bl_update
|
|
systemcmds/mixer
|
|
systemcmds/param
|
|
systemcmds/perf
|
|
systemcmds/reboot
|
|
systemcmds/top
|
|
systemcmds/config
|
|
systemcmds/nshterm
|
|
systemcmds/ver
|
|
|
|
#
|
|
# Demo apps
|
|
#
|
|
#examples/math_demo
|
|
# Tutorial code from
|
|
# https://px4.io/dev/px4_simple_app
|
|
examples/px4_simple_app
|
|
|
|
# Tutorial code from
|
|
# https://px4.io/dev/debug_values
|
|
#examples/px4_mavlink_debug
|
|
|
|
# Tutorial code from
|
|
# https://px4.io/dev/example_fixedwing_control
|
|
#examples/fixedwing_control
|
|
|
|
# Hardware test
|
|
#examples/hwtest
|
|
)
|