Skip to content

Commit

Permalink
AP_HAL_Chibios: enable MSP and CRSF on KauteF7 and Pixhawk1-1M
Browse files Browse the repository at this point in the history
  • Loading branch information
yaapu committed Jan 16, 2021
1 parent 955b483 commit 62ce1aa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
10 changes: 8 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/KakuteF7/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"

# setup for OSD
define OSD_ENABLED 1
define OSD_PARAM_ENABLED 0
define OSD_PARAM_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

Expand All @@ -157,9 +157,15 @@ define HAL_BATTMON_FUEL_ENABLE 0
define HAL_PARACHUTE_ENABLED 0
define HAL_SPRAYER_ENABLED 0

define HAL_MSP_ENABLED 1
define HAL_CRSF_ENABLED 1
define HAL_CRSF_TELEM_ENABLED 1
define HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED 1

# save FLASH, but leave above when flash issue is fixed
#define HAL_NAVEKF2_AVAILABLE 1
#define HAL_NAVEKF3_AVAILABLE 0
define HAL_MINIMIZE_FEATURES 1


# reduce max size of embedded params for apj_tool.py
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
7 changes: 7 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1-1M/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,12 @@
include ../Pixhawk1/hwdef.dat

FLASH_SIZE_KB 1024

define HAL_MSP_ENABLED 1
define OSD_PARAM_ENABLED 1
define HAL_CRSF_ENABLED 1
define HAL_CRSF_TELEM_ENABLED 1
define HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED 1

define HAL_MINIMIZE_FEATURES 1
undef STORAGE_FLASH_PAGE

0 comments on commit 62ce1aa

Please sign in to comment.