Skip to content

Commit

Permalink
hwdef: make a skyviper.inc, use it on skyviper-journey
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Mar 22, 2024
1 parent be85cb6 commit fbb9e3e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/include/skyviper.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# include file for SkyViper boards. Move things in from
# skyviper-v2450/hwdef.dat as required.

define AP_AIRSPEED_ENABLED 0
1 change: 1 addition & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/skyviper-journey/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ env BUILD_ABIN True
define AP_PARAM_MAX_EMBEDDED_PARAM 8192

# Disable un-needed hardware drivers
include ../include/skyviper.inc
define HAL_WITH_ESC_TELEM 0
define AP_FETTEC_ONEWIRE_ENABLED 0

Expand Down
1 change: 1 addition & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ STORAGE_FLASH_PAGE 22
env BUILD_ABIN True

# Disable un-needed hardware drivers
include ../include/skyviper.inc
define AP_AIRSPEED_ENABLED 0
define AP_BEACON_ENABLED 0
define AP_OPTICALFLOW_ENABLED 0
Expand Down

0 comments on commit fbb9e3e

Please sign in to comment.