Commit Graph

66 Commits

Author SHA1 Message Date
Peter Barker 42e0d85ac9 hwdef: SkyViper doesn't have two batteries; remove code based on that 2023-06-17 11:27:46 +10:00
Peter Barker 3aaeb0f29c AP_HAL_ChibiOS: allow AP_SCRIPTING_ENABLED to come from hwdef files 2023-06-09 16:10:52 +10:00
Peter Barker 2d7123fcff AP_HAL_ChibiOS: add and use AP_RCPROTOCOL_ENABLED 2023-05-16 09:16:37 +10:00
Peter Barker 5121b33c03 hwdef: remove more features from SkyViper 2023-04-18 11:45:39 +10:00
Peter Barker 3c86167544 hwdef: only allow specific VisualOdom devices (right now, MAVLink) 2023-04-15 22:19:21 +10:00
Peter Barker 92dea59620 hwdef: SkyViper doesn't need most proximity sensors 2023-04-13 07:07:18 +10:00
Peter Barker aab771d380 AP_HAL_ChibiOS: use AP_BEACON_ENABLED instead of BEACON_ENABLED 2023-04-12 09:24:39 +10:00
Peter Barker 9643f44ecc hwdef: skyviper has only companion support for precision landing 2023-04-05 18:33:19 +10:00
Peter Barker 1c5f5b6ef2 AP_HAL_ChibiOS: add option to not include SRXL in build 2023-03-15 22:45:23 +11:00
Peter Barker b52f54d480 AP_HAL_ChibiOS: add defines for all battery backends 2023-03-10 08:48:24 +11:00
Peter Barker 1035ec9f31 hwdef: skyviper can only have a mavlink-enabled camera 2023-03-08 19:11:30 +11:00
Peter Barker f353241375 AP_HAL_ChibiOS: disable ProfiLED SPI by default
this requires a SPI profiled line to function.  Unless that exists in the board's hwdef this driver can do nothing.  So require those drivers to turn the device on with a define, saving bytes in many places
2023-03-07 22:51:43 +11:00
Peter Barker a647f79371 AP_HAL_ChibiOS: add defines for some AP_Notify LED libraries
allow ProfiLEDs (serial and SPI) and NeoPixel to be compiled out
2023-03-07 10:30:13 +11:00
Peter Barker 6a20916a35 hwdef: adjust SkyViper config for define change 2023-03-03 20:59:06 +11:00
Peter Barker b4fc6b2215 AP_HAL_ChibiOS: do not detect extra bmm150 instances on SkyViper-v2450 2023-02-09 17:52:52 +11:00
Peter Barker a7a2779a0f AP_HAL_ChibiOS: add and use AP_COMPASS_BMM150_ENABLED 2023-02-09 17:52:52 +11:00
Peter Barker c12486829a hwdef: SkyViper doesn't need AP_AdvancedFailsafe 2023-02-08 19:00:13 +11:00
Peter Barker c13eada898 hwdef: SkyViper-v2450 has no SD card on the FCU, so remove intervals-from-files 2023-02-01 18:54:07 +11:00
Peter Barker 5f2b4c3144 hwdef: enable only BMI150 compass on SkyViper 2023-01-25 19:58:02 +11:00
Peter Barker e0f6b264d0 AP_HAL_ChibiOS: use minimize.inc for Tramp and SmartAudio
... and rename HAL_SMARTAUDIO_ENABLED
2023-01-24 11:03:27 +11:00
Peter Barker 3a604ecfdf AP_HAL_ChibiOS: add and use AP_VIDEOTX_ENABLED 2023-01-24 11:03:27 +11:00
Peter Barker 84d49d5a88 hwdef: skyviper-v2450: remove EK3 external nav and body-frame-odometry
Neither of these are applicable to SkyViper
2023-01-17 10:50:37 +11:00
Peter Barker 9cb3bfbe05 AP_HAL_ChibiOS: disable batch sampler on SkyViper-v2450
saves ~1.8kB
2023-01-11 19:08:41 +11:00
Peter Barker d60db821cf AP_HAL_ChibiOS: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Peter Barker d075cc3cc5 hwdef: disable oreoled on SkyViper 2022-11-22 10:23:35 +11:00
Peter Barker 7fa9364809 AP_HAL_ChibiOS: add and use AP_BEACON_ENABLED 2022-11-16 08:16:31 +11:00
Peter Barker 267353d280 hwdef: disable notify displays on SkyViper 2022-11-16 08:12:28 +11:00
Peter Barker dd35ca4583 AP_HAL_ChibiOS: allow FRSky to be compiled out 2022-11-15 18:44:45 +11:00
Peter Barker ab83f42380 AP_HAL_ChibiOS: add and use AP_NOTIFY_TOSHIBALED_ENABLED 2022-11-15 11:03:51 +11:00
Peter Barker 2ee0fb671b AP_HAL_ChibiOS: allow pca9685 to be compiled out of code 2022-11-09 18:45:25 +11:00
Peter Barker 6e6fb70541 AP_HAL_ChibiOS: make explicit define for notify's NCP5623 2022-11-08 10:56:12 +11:00
Peter Barker 0bd08a4a82 AP_HAL_ChibiOS: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Peter Barker 670a1dbdb1 hwdef: disable RPM on skyviper 2022-10-04 10:58:34 +11:00
Yuri 765cb4581c AP_HAL_ChibiOS: define skyviper short board names 2022-09-21 17:56:42 +10:00
Peter Barker 9b1b06fd95 hwdef: remove ICEngine support from many boards
Ran out of room on omnibusf4pro-bdshot.

Removed ICEngine in the same place we were removing OpticalFlow
2022-08-17 17:40:21 +10:00
TunaLobster 01035b81b3 AP_HAL_ChibiOS: Add macros for Fuel options
Adds macros for FuelFlow, FuelLevel_PWM, and FuelLevel_Analog. The features are enabled on all 2MB boards.
2022-08-16 09:36:31 +10:00
Iampete1 60408fd16e hwdef: skyviper: update AP_AIS_ENABLED to AP_AIS_ENABLED 2022-07-12 09:39:54 +10:00
Peter Barker ce1bb906b7 AP_HAL_ChibiOS: allow rangefinder backends to be individually compiled in 2022-06-21 09:15:20 +10:00
Peter Barker e2f5443a1e hwdef: skyviper-v2450: compile in only ICM20789 2022-05-22 12:11:45 +10:00
Peter Barker bca4fc9608 hwdef: disable serially-attached actuators on SkyViper 2022-04-17 09:10:10 +10:00
Peter Barker 11f7cce978 AP_HAL_ChibiOS: allow specification of AUTOBUILD_TARGETS in hwdef files 2022-03-03 09:03:17 +11:00
Peter Barker 6e684b3496 hwdef: disable blheli on skyviper 2022-02-08 20:39:44 +11:00
Peter Barker 09c040891e hwdef: cap number of Compass, Baro and INS instances
saves flash as we don't have to have the parameter structures
2022-02-08 20:39:44 +11:00
Peter Barker 7f584ad2c8 hwdef: SkyViper gets COMPASS_MAX_SENSORS 1 2022-02-08 20:39:44 +11:00
Peter Barker b88bfa962b AP_HAL_ChibiOS: add and use AP_MOTORS_FRAME_DEFAULT_ENABLED 2022-02-08 11:06:24 +11:00
Hwurzburg 0ea7044796 AP_HAL_ChibiOS: update option names in BATTMonitor in prep for expansion 2022-02-01 12:35:03 +11:00
Peter Barker a4d2194f80 hwdef: SkyViper-v2450: enable only UBLOX and MAV GPS backends 2022-02-01 11:22:02 +11:00
Peter Barker da79a5ea78 hwdef: skyviper-v2450: exclude many build features 2022-01-27 20:58:24 +11:00
Peter Barker f44335371f hwdef: set AP_OPTICALFLOW_ENABLED 0 for SkyViper-v2450 2022-01-04 11:01:40 +11:00
Peter Barker 5d005df92f AP_HAL_ChibiOS: rename HAL_AP_FETTEC_ONEWIRE_ENABLED to AP_FETTEC_ONEWIRE_ENABLED 2021-11-24 12:01:22 +11:00