mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 19:57:12 +08:00
543851db50
* Bidirectional DShot Co-authored-by: Julian Oes <julian@oes.ch> * f4/f1 support, not supported * fix f1 build target * sanity check timer_channel value, fix CCxNP ifdef, debug stuff * removed debug code, added define for H7 HAVE_GTIM_CCXNP * round robin sampling for less than 4 DMA * unlimited esc_status logging * dshot: fix formatting * dshot: add define for number of DMA channels to use This allows individual boards to override the number of DShot channels and hence avoid round robin capture of the RPM feedback. * ARK: enable 4 DMA channels for DShot on 6X * dshot: publish when all channels are updated This slows down the ESC_STATUS publication in the case of round robin capture. E.g. for 800 Hz output with one DMA channel, the ESC_STATUS is now published at 200 Hz. * dshot: avoid duplicate publications for bidir and telem Instead of publishing both bidirectional dshot updates as well as telemetry updates, we now combine the data from both streams, and publish whenever we get RPM updates, as the latter arrives with higher rate, e.g. 200 Hz with round robin, or faster otherwise. When combining the data, we take RPM from bidirectional dshot, and the rest from telemetry. When we have only one of the two, either telemetry or bidirectional dshot, we just publish that one. * boards: add ark fpv and pi6x BOARD_DMA_NUM_DSHOT_CHANNELS * dshot: turn off debug build --------- Co-authored-by: Julian Oes <julian@oes.ch> Co-authored-by: alexklimaj <alex@arkelectron.com>
52 lines
1.7 KiB
Plaintext
52 lines
1.7 KiB
Plaintext
CONFIG_BOARD_TOOLCHAIN="arm-none-eabi"
|
|
CONFIG_BOARD_ARCHITECTURE="cortex-m7"
|
|
CONFIG_BOARD_CONSTRAINED_FLASH=y
|
|
CONFIG_BOARD_NO_HELP=y
|
|
CONFIG_BOARD_EXTERNAL_METADATA=y
|
|
CONFIG_BOARD_SERIAL_GPS1="/dev/ttyS3"
|
|
CONFIG_BOARD_SERIAL_TEL1="/dev/ttyS0"
|
|
CONFIG_BOARD_SERIAL_TEL2="/dev/ttyS1"
|
|
CONFIG_BOARD_SERIAL_RC="/dev/ttyS4"
|
|
CONFIG_DRIVERS_ADC_BOARD_ADC=y
|
|
CONFIG_DRIVERS_BAROMETER_BMP280=y
|
|
CONFIG_DRIVERS_CDCACM_AUTOSTART=y
|
|
CONFIG_DRIVERS_DSHOT=y
|
|
CONFIG_DRIVERS_GPS=y
|
|
CONFIG_DRIVERS_IMU_INVENSENSE_ICM20689=y
|
|
CONFIG_DRIVERS_IMU_INVENSENSE_MPU6000=y
|
|
CONFIG_DRIVERS_OSD_ATXXXX=y
|
|
CONFIG_DRIVERS_PWM_OUT=y
|
|
CONFIG_DRIVERS_RC_INPUT=y
|
|
CONFIG_MODULES_BATTERY_STATUS=y
|
|
CONFIG_MODULES_COMMANDER=y
|
|
CONFIG_MODULES_CONTROL_ALLOCATOR=y
|
|
CONFIG_MODULES_DATAMAN=y
|
|
CONFIG_MODULES_EKF2=y
|
|
# CONFIG_EKF2_AUX_GLOBAL_POSITION is not set
|
|
# CONFIG_EKF2_AUXVEL is not set
|
|
# CONFIG_EKF2_BARO_COMPENSATION is not set
|
|
# CONFIG_EKF2_DRAG_FUSION is not set
|
|
# CONFIG_EKF2_EXTERNAL_VISION is not set
|
|
# CONFIG_EKF2_GNSS_YAW is not set
|
|
# CONFIG_EKF2_MAGNETOMETER is not set
|
|
# CONFIG_EKF2_RANGE_FINDER is not set
|
|
# CONFIG_EKF2_SIDESLIP is not set
|
|
CONFIG_MODULES_FLIGHT_MODE_MANAGER=y
|
|
CONFIG_MODULES_LAND_DETECTOR=y
|
|
CONFIG_MODULES_LOGGER=y
|
|
CONFIG_MODULES_MANUAL_CONTROL=y
|
|
CONFIG_MODULES_MAVLINK=y
|
|
CONFIG_MODULES_MC_ATT_CONTROL=y
|
|
CONFIG_MODULES_MC_POS_CONTROL=y
|
|
CONFIG_MODULES_MC_RATE_CONTROL=y
|
|
CONFIG_MODULES_NAVIGATOR=y
|
|
# CONFIG_NAVIGATOR_ADSB is not set
|
|
CONFIG_MODULES_RC_UPDATE=y
|
|
CONFIG_MODULES_SENSORS=y
|
|
# CONFIG_SENSORS_VEHICLE_AIRSPEED is not set
|
|
# CONFIG_SENSORS_VEHICLE_MAGNETOMETER is not set
|
|
# CONFIG_SENSORS_VEHICLE_OPTICAL_FLOW is not set
|
|
# CONFIG_SYSTEMCMDS_DMESG is not set
|
|
CONFIG_SYSTEMCMDS_PARAM=y
|
|
# CONFIG_SYSTEMCMDS_TOP is not set
|