Skip to content

Commit

Permalink
hwdef: enable GPS_MOVING_BASELINE on FreeflyRTK and f303-GPS
Browse files Browse the repository at this point in the history
this allows for F9P based dual-GPS yaw on DroneCAN peripherals with
auto-config
  • Loading branch information
tridge committed Mar 8, 2022
1 parent 1af3c69 commit ea4e136
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/FreeflyRTK/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ define AP_PARAM_MAX_EMBEDDED_PARAM 256
# disable dual GPS and GPS blending to save flash space
define GPS_MAX_RECEIVERS 1
define GPS_MAX_INSTANCES 1
define GPS_MOVING_BASELINE 1
define HAL_COMPASS_MAX_SENSORS 1

# GPS+MAG+BARO+Buzzer+NeoPixels
Expand Down
3 changes: 3 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/f303-GPS/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_PERIPH_ENABLE_GPS
define HAL_PERIPH_ENABLE_MAG
define HAL_PERIPH_ENABLE_NCP5623_LED_WITHOUT_NOTIFY

# allow for F9P GPS modules with moving baseline
define GPS_MOVING_BASELINE 1
3 changes: 3 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/f303-Universal/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ define HAL_PERIPH_ENABLE_ADSB
define HAL_PERIPH_ENABLE_NCP5623_LED_WITHOUT_NOTIFY
define HAL_PERIPH_ENABLE_RANGEFINDER

# allow for F9P GPS modules with moving baseline
define GPS_MOVING_BASELINE 1

define HAL_PERIPH_ADSB_PORT_DEFAULT 3

define HAL_AIRSPEED_BUS_DEFAULT 0
Expand Down

0 comments on commit ea4e136

Please sign in to comment.