Skip to content

Commit

Permalink
hwdef: remove parachute from many FPV/OSD boards
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Feb 2, 2024
1 parent dd69805 commit a793925
Show file tree
Hide file tree
Showing 19 changed files with 80 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/BETAFPV-F405/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,7 @@ define HAL_FRAME_TYPE_DEFAULT 12
AUTOBUILD_TARGETS Copter

include ../include/minimize_fpv_osd.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/BeastF7/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,8 @@ define STM32_PWM_USE_ADVANCED TRUE
# save some flash
include ../include/minimize_fpv_osd.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1

define DEFAULT_NTF_LED_TYPES 257
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/BeastF7v2/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,8 @@ define HAL_BARO_ALLOW_INIT_NO_BARO 1
# save some flash
include ../include/minimize_fpv_osd.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1

define DEFAULT_NTF_LED_TYPES 257
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/F35Lightning/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,7 @@ define HAL_DEFAULT_INS_FAST_SAMPLE 1
# no space for bootloader in firmware image:
include ../include/minimize_fpv_osd.inc
include ../include/no_bootloader_DFU.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1
6 changes: 6 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/FlywooF405Pro/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,10 @@ define HAL_DEFAULT_INS_FAST_SAMPLE 3
define HAL_FRAME_TYPE_DEFAULT 12

include ../include/minimize_fpv_osd.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1

AUTOBUILD_TARGETS Copter

4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/FlywooF405S-AIO/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,8 @@ define DEFAULT_NTF_LED_TYPES 257
# save some flash space
include ../include/minimize_fpv_osd.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1

AUTOBUILD_TARGETS Copter
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/HEEWING-F405/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,8 @@ define AP_BATTMON_SMBUS_ENABLE 0
include ../include/minimize_fpv_osd.inc
include ../include/save_some_flash.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1

AUTOBUILD_TARGETS Plane
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/KakuteF4/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,8 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
# minimal drivers to reduce flash usage
include ../include/minimize_fpv_osd.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1

define DEFAULT_NTF_LED_TYPES 256
3 changes: 3 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/KakuteF4Mini/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ define HAL_MOUNT_ENABLED 0

undef DEFAULT_NTF_LED_TYPES
define DEFAULT_NTF_LED_TYPES 257

# KakuteF4Mini has never had a parachute, so we don't need to warn about it
undef AP_PARACHUTE_UNAVAILABLE_ENABLED
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/MambaF405US-I2C/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,7 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
# no space for bootloader:
include ../include/minimize_fpv_osd.inc
include ../include/no_bootloader_DFU.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/MambaF405v2/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,7 @@ DMA_PRIORITY TIM2* TIM3*

# minimal drivers to reduce flash usage
include ../include/minimize_fpv_osd.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/OmnibusNanoV6/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,7 @@ define HAL_MOUNT_ENABLED 0

# minimal drivers to reduce flash usage
include ../include/minimize_fpv_osd.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/SpeedyBeeF405Mini/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,9 @@ define HAL_DEFAULT_INS_FAST_SAMPLE 3
# Motor order implies Betaflight/X for standard ESCs
define HAL_FRAME_TYPE_DEFAULT 12

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1

include ../include/minimize_fpv_osd.inc
AUTOBUILD_TARGETS Copter
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/omnibusf4v6/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,9 @@ define OSD_ENABLED 1
#font for the osd
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1

# minimal drivers to reduce flash usage
include ../include/minimize_fpv_osd.inc
5 changes: 5 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/revo-mini-i2c/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,10 @@ define HAL_GYROFFT_ENABLED 0

# bootloader embedding / bootloader flashing not available
define AP_BOOTLOADER_FLASHING_ENABLED 0

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1

include ../include/minimize_fpv_osd.inc

4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/revo-mini/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,8 @@ define HAL_LOGGING_DATAFLASH_ENABLED 1

define HAL_GYROFFT_ENABLED 0

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1

include ../include/minimize_fpv_osd.inc
5 changes: 5 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/speedybeef4/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,10 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
# minimal drivers to reduce flash usage
include ../include/minimize_fpv_osd.inc
include ../include/no_bootloader_DFU.inc

undef AP_BATTERY_SYNTHETIC_CURRENT_ENABLED
define AP_BATTERY_SYNTHETIC_CURRENT_ENABLED 0

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1
5 changes: 5 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/speedybeef4v3/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,12 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
# minimal drivers to reduce flash usage
include ../include/minimize_fpv_osd.inc
include ../include/no_bootloader_DFU.inc

undef AP_BATTERY_SYNTHETIC_CURRENT_ENABLED
define AP_BATTERY_SYNTHETIC_CURRENT_ENABLED 0

define DEFAULT_NTF_LED_TYPES 257

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/speedybeef4v4/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,8 @@ define HAL_OS_FATFS_IO 1
# minimal drivers to reduce flash usage
include ../include/minimize_fpv_osd.inc

# defines to transition minimize-fpv-osd boards to parachute-not-compiled-in:
define HAL_PARACHUTE_ENABLED 0
define AP_PARACHUTE_UNAVAILABLE_ENABLED 1

define DEFAULT_NTF_LED_TYPES 257

0 comments on commit a793925

Please sign in to comment.