Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_HAL_ChibiOS: use standard FPV config for SpeedyBeeF405WING #26327

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 14 additions & 45 deletions libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405WING/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -169,50 +169,19 @@ PC13 PINIO1 OUTPUT GPIO(81) LOW

define STM32_PWM_USE_ADVANCED TRUE

define HAL_WITH_DSP FALSE

# 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
# minimal drivers to reduce flash usage
include ../include/minimize_fpv_osd.inc

undef AP_CAMERA_MOUNT_ENABLED
undef AP_LANDINGGEAR_ENABLED
undef HAL_MOUNT_ENABLED
undef HAL_MOUNT_SERVO_ENABLED
undef QAUTOTUNE_ENABLED

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