mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: use standard FPV config for SpeedyBeeF405WING
This commit is contained in:
parent
37c8c6a465
commit
df19d143f2
|
@ -169,58 +169,19 @@ PC13 PINIO1 OUTPUT GPIO(81) LOW
|
|||
|
||||
define STM32_PWM_USE_ADVANCED TRUE
|
||||
|
||||
define HAL_WITH_DSP FALSE
|
||||
# minimal drivers to reduce flash usage
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
|
||||
# save some flash
|
||||
undef AP_CAMERA_MOUNT_ENABLED
|
||||
undef AP_LANDINGGEAR_ENABLED
|
||||
undef HAL_MOUNT_ENABLED
|
||||
undef HAL_MOUNT_SERVO_ENABLED
|
||||
undef QAUTOTUNE_ENABLED
|
||||
|
||||
# disable SMBUS and fuel battery monitors to save flash
|
||||
define AP_BATTMON_SMBUS_ENABLE 0
|
||||
define AP_BATTMON_FUEL_ENABLE 0
|
||||
define AP_BATTMON_SYNTHETIC_CURRENT_ENABLED 0
|
||||
define HAL_BATTMON_INA2XX_ENABLED 0
|
||||
|
||||
# disable parachute and sprayer to save flash
|
||||
define HAL_PARACHUTE_ENABLED 0
|
||||
define HAL_SPRAYER_ENABLED 0
|
||||
define AP_GRIPPER_ENABLED 0
|
||||
define HAL_GENERATOR_ENABLED 0
|
||||
define AP_ICENGINE_ENABLED 0
|
||||
#define LANDING_GEAR_ENABLED 0
|
||||
define WINCH_ENABLED 0
|
||||
define HAL_ADSB_ENABLED 0
|
||||
|
||||
define AC_OAPATHPLANNER_ENABLED 0
|
||||
define PRECISION_LANDING 0
|
||||
#define HAL_BARO_WIND_COMP_ENABLED 0
|
||||
define AP_OPTICALFLOW_ENABLED 0
|
||||
|
||||
|
||||
# Disable un-needed hardware drivers
|
||||
define HAL_WITH_ESC_TELEM 0
|
||||
define AP_FETTEC_ONEWIRE_ENABLED 0
|
||||
|
||||
define AP_VOLZ_ENABLED 0
|
||||
define AP_ROBOTISSERVO_ENABLE 0
|
||||
define HAL_PICCOLO_CAN_ENABLE 0
|
||||
define HAL_TORQEEDO_ENABLED 0
|
||||
define HAL_RUNCAM_ENABLED 0
|
||||
define HAL_HOTT_TELEM_ENABLED 0
|
||||
define HAL_NMEA_OUTPUT_ENABLED 0
|
||||
define HAL_BUTTON_ENABLED 0
|
||||
define AP_NOTIFY_OREOLED_ENABLED 0
|
||||
|
||||
#only support MS4525 ANALOG ASP5033 driver
|
||||
define AP_AIRSPEED_BACKEND_DEFAULT_ENABLED 0
|
||||
define AP_AIRSPEED_MS4525_ENABLED 1
|
||||
define AP_AIRSPEED_ANALOG_ENABLED 1
|
||||
define AP_AIRSPEED_ASP5033_ENABLED 1
|
||||
|
||||
#only support UBLOX and NMEA GPS driver
|
||||
define AP_GPS_BACKEND_DEFAULT_ENABLED 0
|
||||
define AP_GPS_UBLOX_ENABLED 1
|
||||
define AP_GPS_NMEA_ENABLED 1
|
||||
define HAL_MSP_GPS_ENABLED 1
|
||||
|
||||
define AP_TRAMP_ENABLED 1
|
||||
define AP_CAMERA_MOUNT_ENABLED 1
|
||||
define AP_LANDINGGEAR_ENABLED 1
|
||||
define HAL_MOUNT_ENABLED 1
|
||||
define HAL_MOUNT_SERVO_ENABLED 1
|
||||
define QAUTOTUNE_ENABLED 1
|
||||
|
||||
define DEFAULT_NTF_LED_TYPES 257
|
||||
|
|
Loading…
Reference in New Issue