mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
HAL_ChibiOS: added a f303-Universal build target
This commit is contained in:
1 parent
1734541eb7
commit
a7b6887f44
2 files changed
+35
No files matched your search
@@ -0,0 +1,6 @@
|
||||
include ../f303-periph/hwdef-bl.dat
|
||||
|
||||
# start with a fixed node ID so the board is usable without DNA
|
||||
define HAL_CAN_DEFAULT_NODE_ID 112
|
||||
|
||||
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_universal"
|
||||
@@ -0,0 +1,29 @@
|
||||
include ../f303-periph/hwdef.dat
|
||||
|
||||
# start with a fixed node ID so the board is usable without DNA
|
||||
define HAL_CAN_DEFAULT_NODE_ID 112
|
||||
|
||||
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_universal"
|
||||
|
||||
# and support all external compass and baro types
|
||||
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||||
define HAL_PROBE_EXTERNAL_I2C_BAROS
|
||||
|
||||
# enable all features
|
||||
define HAL_PERIPH_ENABLE_GPS
|
||||
define HAL_PERIPH_ENABLE_MAG
|
||||
define HAL_PERIPH_ENABLE_BARO
|
||||
define HAL_PERIPH_ENABLE_AIRSPEED
|
||||
define HAL_PERIPH_ENABLE_ADSB
|
||||
define HAL_PERIPH_ENABLE_NCP5623_LED
|
||||
define HAL_PERIPH_ENABLE_RANGEFINDER
|
||||
|
||||
define RANGEFINDER_MAX_INSTANCES 1
|
||||
define ADSB_PORT hal.uartB
|
||||
|
||||
define HAL_AIRSPEED_BUS_DEFAULT 0
|
||||
define AIRSPEED_MAX_SENSORS 1
|
||||
|
||||
# default ADSB off by setting 0 baudrate
|
||||
define HAL_PERIPH_ADSB_BAUD_DEFAULT 0
|
||||
|
||||
Reference in new issue
Block a user