Browse Source

hwdef: Add f405-MatekAirspeed

gps-1.3.1
Joshua Henderson 3 years ago committed by Andrew Tridgell
parent
commit
8505017d26
  1. 4
      libraries/AP_HAL_ChibiOS/hwdef/f405-MatekAirspeed/defaults.parm
  2. 11
      libraries/AP_HAL_ChibiOS/hwdef/f405-MatekAirspeed/hwdef-bl.dat
  3. 21
      libraries/AP_HAL_ChibiOS/hwdef/f405-MatekAirspeed/hwdef.dat

4
libraries/AP_HAL_ChibiOS/hwdef/f405-MatekAirspeed/defaults.parm

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
# setup for PORT
#| PORT0 | PORT1 | PORT2 | GPS | MSP |
#| USART1 | USART2 | USART3 | UART4 | UART5 |
GPS_PORT 3

11
libraries/AP_HAL_ChibiOS/hwdef/f405-MatekAirspeed/hwdef-bl.dat

@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
# hw definition file for the f405 Matek DLVR Airspeed Sensor
# setup build for a peripheral firmware
env AP_PERIPH 1
include ../f405-MatekGPS/hwdef-bl.dat
# Rename to f405_MatekAirspeed
undef CAN_APP_NODE_NAME
define CAN_APP_NODE_NAME "org.ardupilot.f405_MatekAirspeed"

21
libraries/AP_HAL_ChibiOS/hwdef/f405-MatekAirspeed/hwdef.dat

@ -0,0 +1,21 @@ @@ -0,0 +1,21 @@
# hw definition file for the f405 Matek DLVR Airspeed Sensor
# setup build for a peripheral firmware
env AP_PERIPH 1
include ../f405-MatekGPS/hwdef.dat
# Rename to f405_MatekAirspeed
undef CAN_APP_NODE_NAME
define CAN_APP_NODE_NAME "org.ardupilot.f405_MatekAirspeed"
# Setup Airspeed Sensor to be I2C-DLVR-10in
undef HAL_AIRSPEED_TYPE_DEFAULT
define HAL_AIRSPEED_TYPE_DEFAULT 9
# Disable these sensors by default
# This is so we do not send messages onto the CAN network for unattached devices
# A user may change this by using a tool to edit the CAN device parameters such as the DroneCAN GUI Tool
define AP_COMPASS_ENABLE_DEFAULT 0
define AP_PERIPH_BARO_ENABLE_DEFAULT 0
define HAL_GPS_TYPE_DEFAULT 0
Loading…
Cancel
Save