mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: use minimize_features.inc for more features
This commit is contained in:
parent
3f70f2104a
commit
cf24382e58
|
@ -36,12 +36,21 @@ define HAL_HOTT_TELEM_ENABLED 0
|
||||||
# smaller boards lose SIRF GPS support
|
# smaller boards lose SIRF GPS support
|
||||||
define AP_GPS_SIRF_ENABLED 0
|
define AP_GPS_SIRF_ENABLED 0
|
||||||
|
|
||||||
|
# no moving baseline support:
|
||||||
|
define GPS_MOVING_BASELINE 0
|
||||||
|
|
||||||
# minimized boards don't get configuration via SmartAudio by default:
|
# minimized boards don't get configuration via SmartAudio by default:
|
||||||
define AP_SMARTAUDIO_ENABLED 0
|
define AP_SMARTAUDIO_ENABLED 0
|
||||||
|
|
||||||
# minimized boards don't get configuration via Tramp by default:
|
# minimized boards don't get configuration via Tramp by default:
|
||||||
define AP_TRAMP_ENABLED 0
|
define AP_TRAMP_ENABLED 0
|
||||||
|
|
||||||
|
# No LTM telemetry on minimized boards:
|
||||||
|
define AP_LTM_TELEM_ENABLED 0
|
||||||
|
|
||||||
|
# no Spektrum telemetry:
|
||||||
|
define HAL_SPEKTRUM_TELEM_ENABLED 0
|
||||||
|
|
||||||
# various structures increase the flash size when using >16 servos:
|
# various structures increase the flash size when using >16 servos:
|
||||||
define NUM_SERVO_CHANNELS 16
|
define NUM_SERVO_CHANNELS 16
|
||||||
|
|
||||||
|
@ -62,6 +71,9 @@ define AP_CAMERA_SERVO_ENABLED AP_CAMERA_ENABLED
|
||||||
# no SLCAN on these boards (use can-over-mavlink if required)
|
# no SLCAN on these boards (use can-over-mavlink if required)
|
||||||
define AP_CAN_SLCAN_ENABLED 0
|
define AP_CAN_SLCAN_ENABLED 0
|
||||||
|
|
||||||
|
# no PiccoloCAN:
|
||||||
|
define HAL_PICCOLO_CAN_ENABLE 0
|
||||||
|
|
||||||
# no beacon support on minimized boards:
|
# no beacon support on minimized boards:
|
||||||
define AP_BEACON_ENABLED 0
|
define AP_BEACON_ENABLED 0
|
||||||
|
|
||||||
|
@ -81,3 +93,18 @@ define AP_BATTERY_SMBUS_ROTOYE_ENABLED AP_BATTERY_SMBUS_ENABLED
|
||||||
|
|
||||||
# don't probe for external Barometers:
|
# don't probe for external Barometers:
|
||||||
define AP_BARO_PROBE_EXTERNAL_I2C_BUSES 0
|
define AP_BARO_PROBE_EXTERNAL_I2C_BUSES 0
|
||||||
|
|
||||||
|
# no wind compensation code:
|
||||||
|
define HAL_BARO_WIND_COMP_ENABLED 0
|
||||||
|
|
||||||
|
# no mounts:
|
||||||
|
define HAL_MOUNT_ENABLED 0
|
||||||
|
|
||||||
|
# no generator:
|
||||||
|
define HAL_GENERATOR_ENABLED 0
|
||||||
|
|
||||||
|
# no NMEA output:
|
||||||
|
define HAL_NMEA_OUTPUT_ENABLED 0
|
||||||
|
|
||||||
|
# no Notify Display support:
|
||||||
|
define HAL_DISPLAY_ENABLED 0
|
||||||
|
|
Loading…
Reference in New Issue