hwdef: Add f405-MatekAirspeed

This commit is contained in:
Joshua Henderson 2022-02-02 04:10:13 -05:00 committed by Andrew Tridgell
parent 717b18a680
commit 8505017d26
3 changed files with 36 additions and 0 deletions

View File

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

View File

@ -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"

View File

@ -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