forked from Archive/PX4-Autopilot
PX4 full firmware Kconfig PoC
This commit is contained in:
parent
55aa2e50ff
commit
4b89ff29ce
|
@ -0,0 +1,16 @@
|
|||
# PX4 Firmware Configuration
|
||||
|
||||
|
||||
mainmenu "PX4 Firmware Configuration"
|
||||
|
||||
menu "drivers"
|
||||
source src/drivers/Kconfig
|
||||
endmenu
|
||||
|
||||
menu "modules"
|
||||
source src/modules/Kconfig
|
||||
endmenu
|
||||
|
||||
menu "systemcmds"
|
||||
source src/systemcmds/Kconfig
|
||||
endmenu
|
|
@ -0,0 +1,86 @@
|
|||
|
||||
menuconfig ADC
|
||||
bool "ADC Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for ADC
|
||||
|
||||
menuconfig BAROMETER
|
||||
bool "Barometer Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for all available barometer drivers
|
||||
|
||||
menuconfig BOOTLOADERS
|
||||
bool "BOOTLOADERS Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for bootloaders
|
||||
|
||||
menuconfig DIFFERENTIAL_PRESSURE
|
||||
bool "Differential pressure Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for all available differential pressure drivers
|
||||
|
||||
menuconfig GPS
|
||||
bool "GPS Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for all available GPS drivers
|
||||
|
||||
menuconfig IMU
|
||||
bool "IMU Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for all available IMU drivers
|
||||
|
||||
menuconfig LIGHTS
|
||||
bool "Lights Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for lights
|
||||
|
||||
if LIGHTS
|
||||
#source src/drivers/lights/Kconfig
|
||||
endif #LIGHTS
|
||||
|
||||
menuconfig MAGNETOMETER
|
||||
bool "Magnetometer Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for all available magnetometer drivers
|
||||
|
||||
menuconfig OPTICAL_FLOW
|
||||
bool "Optical flow Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for all available optical flow drivers
|
||||
|
||||
menuconfig PWM_OUT
|
||||
bool "PWM Out Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for PWM Out
|
||||
|
||||
menuconfig SAFETY_BUTTON
|
||||
bool "Safety button Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for Safety button
|
||||
|
||||
menuconfig TONE_ALARM
|
||||
bool "Tone alarm Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for tone alarm
|
||||
|
||||
menuconfig UAVCAN_V1
|
||||
bool "UAVCANv1 Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for UAVCANv1
|
||||
|
||||
if UAVCAN_V1
|
||||
source src/drivers/uavcan_v1/Kconfig
|
||||
endif #UAVCAN_V1
|
|
@ -3,6 +3,9 @@
|
|||
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
choice
|
||||
prompt "UAVCANv1 Mode"
|
||||
default none
|
||||
|
|
|
@ -0,0 +1,245 @@
|
|||
menuconfig AIRSHIP_ATT_CONTROL
|
||||
bool "airship att control Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for airship att control
|
||||
|
||||
menuconfig AIRSPEED_SELECTOR
|
||||
bool "airspeed selector Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for airspeed selector
|
||||
|
||||
menuconfig ANGULAR_VELOCITY_CONTROLLER
|
||||
bool "angular velocity controller Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for angular velocity controller
|
||||
|
||||
menuconfig ATTITUDE_ESTIMATOR_Q
|
||||
bool "attitude estimator q Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for attitude estimator q
|
||||
|
||||
menuconfig BATTERY_STATUS
|
||||
bool "battery status Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for battery status
|
||||
|
||||
menuconfig CAMERA_FEEDBACK
|
||||
bool "camera feedback Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for camera feedback
|
||||
|
||||
menuconfig COMMANDER
|
||||
bool "commander Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for commander
|
||||
|
||||
menuconfig CONTROL_ALLOCATOR
|
||||
bool "control allocator Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for control allocator
|
||||
|
||||
menuconfig DATAMAN
|
||||
bool "dataman Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for dataman
|
||||
|
||||
menuconfig EKF2
|
||||
bool "ekf2 Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for ekf2
|
||||
|
||||
menuconfig ESC_BATTERY
|
||||
bool "esc battery Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for esc battery
|
||||
|
||||
menuconfig EVENTS
|
||||
bool "events Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for events
|
||||
|
||||
menuconfig FLIGHT_MODE_MANAGER
|
||||
bool "flight mode manager Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for flight mode manager
|
||||
|
||||
menuconfig FW_ATT_CONTROL
|
||||
bool "fw att control Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for fw att control
|
||||
|
||||
menuconfig FW_POS_CONTROL_L1
|
||||
bool "fw pos control l1 Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for fw pos control l1
|
||||
|
||||
menuconfig GYRO_FFT
|
||||
bool "gyro fft Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for gyro fft
|
||||
|
||||
menuconfig LAND_DETECTOR
|
||||
bool "land detector Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for land detector
|
||||
|
||||
menuconfig LANDING_TARGET_ESTIMATOR
|
||||
bool "landing target estimator Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for landing target estimator
|
||||
|
||||
menuconfig LOAD_MON
|
||||
bool "load mon Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for load mon
|
||||
|
||||
menuconfig LOCAL_POSITION_ESTIMATOR
|
||||
bool "local position estimator Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for local position estimator
|
||||
|
||||
menuconfig LOGGER
|
||||
bool "logger Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for logger
|
||||
|
||||
menuconfig MAVLINK
|
||||
bool "mavlink Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mavlink
|
||||
|
||||
menuconfig MC_ATT_CONTROL
|
||||
bool "mc att control Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mc att control
|
||||
|
||||
menuconfig MC_HOVER_THRUST_ESTIMATOR
|
||||
bool "mc hover thrust estimator Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mc hover thrust estimator
|
||||
|
||||
menuconfig MC_POS_CONTROL
|
||||
bool "mc pos control Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mc pos control
|
||||
|
||||
menuconfig MC_RATE_CONTROL
|
||||
bool "mc rate control Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mc rate control
|
||||
|
||||
menuconfig MICRORTPS_BRIDGE
|
||||
bool "micrortps bridge Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for micrortps bridge
|
||||
|
||||
menuconfig MUORB
|
||||
bool "muorb Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for muorb
|
||||
|
||||
menuconfig NAVIGATOR
|
||||
bool "navigator Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for navigator
|
||||
|
||||
menuconfig PX4IOFIRMWARE
|
||||
bool "px4iofirmware Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for px4iofirmware
|
||||
|
||||
menuconfig RC_UPDATE
|
||||
bool "rc update Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for rc update
|
||||
|
||||
menuconfig REPLAY
|
||||
bool "replay Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for replay
|
||||
|
||||
menuconfig ROVER_POS_CONTROL
|
||||
bool "rover pos control Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for rover pos control
|
||||
|
||||
menuconfig SENSORS
|
||||
bool "sensors Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for sensors
|
||||
|
||||
menuconfig SIH
|
||||
bool "sih Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for sih
|
||||
|
||||
menuconfig SIMULATOR
|
||||
bool "simulator Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for simulator
|
||||
|
||||
menuconfig TEMPERATURE_COMPENSATION
|
||||
bool "temperature compensation Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for temperature compensation
|
||||
|
||||
menuconfig UUV_ATT_CONTROL
|
||||
bool "uuv att control Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for uuv att control
|
||||
|
||||
menuconfig UUV_POS_CONTROL
|
||||
bool "uuv pos control Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for uuv pos control
|
||||
|
||||
menuconfig VMOUNT
|
||||
bool "vmount Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for vmount
|
||||
|
||||
menuconfig VTOL_ATT_CONTROL
|
||||
bool "vtol att control Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for vtol att control
|
|
@ -0,0 +1,203 @@
|
|||
menuconfig BL_UPDATE
|
||||
bool "bl update Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for bl update
|
||||
|
||||
menuconfig DMESG
|
||||
bool "dmesg Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for dmesg
|
||||
|
||||
menuconfig DUMPFILE
|
||||
bool "dumpfile Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for dumpfile
|
||||
|
||||
menuconfig DYN
|
||||
bool "dyn Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for dyn
|
||||
|
||||
menuconfig ESC_CALIB
|
||||
bool "esc calib Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for esc calib
|
||||
|
||||
menuconfig FAILURE
|
||||
bool "failure Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for failure
|
||||
|
||||
menuconfig GPIO
|
||||
bool "gpio Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for gpio
|
||||
|
||||
menuconfig HARDFAULT_LOG
|
||||
bool "hardfault log Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for hardfault log
|
||||
|
||||
menuconfig I2CDETECT
|
||||
bool "i2cdetect Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for i2cdetect
|
||||
|
||||
menuconfig LED_CONTROL
|
||||
bool "led control Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for led control
|
||||
|
||||
menuconfig MFT
|
||||
bool "mft Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mft
|
||||
|
||||
menuconfig MIXER
|
||||
bool "mixer Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mixer
|
||||
|
||||
menuconfig MOTOR_RAMP
|
||||
bool "motor ramp Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for motor ramp
|
||||
|
||||
menuconfig MOTOR_TEST
|
||||
bool "motor test Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for motor test
|
||||
|
||||
menuconfig MTD
|
||||
bool "mtd Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for mtd
|
||||
|
||||
menuconfig NETMAN
|
||||
bool "netman Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for netman
|
||||
|
||||
menuconfig NSHTERM
|
||||
bool "nshterm Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for nshterm
|
||||
|
||||
menuconfig PARAM
|
||||
bool "param Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for param
|
||||
|
||||
menuconfig PERF
|
||||
bool "perf Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for perf
|
||||
|
||||
menuconfig PWM
|
||||
bool "pwm Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for pwm
|
||||
|
||||
menuconfig REBOOT
|
||||
bool "reboot Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for reboot
|
||||
|
||||
menuconfig REFLECT
|
||||
bool "reflect Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for reflect
|
||||
|
||||
menuconfig SD_BENCH
|
||||
bool "sd bench Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for sd bench
|
||||
|
||||
menuconfig SERIAL_TEST
|
||||
bool "serial test Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for serial test
|
||||
|
||||
menuconfig SHUTDOWN
|
||||
bool "shutdown Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for shutdown
|
||||
|
||||
menuconfig SYSTEM_TIME
|
||||
bool "system time Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for system time
|
||||
|
||||
menuconfig TESTS
|
||||
bool "tests Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for tests
|
||||
|
||||
menuconfig TOP
|
||||
bool "top Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for top
|
||||
|
||||
menuconfig TOPIC_LISTENER
|
||||
bool "topic listener Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for topic listener
|
||||
|
||||
menuconfig TUNE_CONTROL
|
||||
bool "tune control Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for tune control
|
||||
|
||||
menuconfig UORB
|
||||
bool "uorb Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for uorb
|
||||
|
||||
menuconfig USB_CONNECTED
|
||||
bool "usb connected Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for usb connected
|
||||
|
||||
menuconfig VER
|
||||
bool "ver Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for ver
|
||||
|
||||
menuconfig WORK_QUEUE
|
||||
bool "work queue Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for work queue
|
Loading…
Reference in New Issue