mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
hwdef: add mRo M10025 KITCAN
This commit is contained in:
parent
26d81e3d13
commit
8f6d2aab7a
6
libraries/AP_HAL_ChibiOS/hwdef/f303-M10025/hwdef-bl.dat
Normal file
6
libraries/AP_HAL_ChibiOS/hwdef/f303-M10025/hwdef-bl.dat
Normal file
@ -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 117
|
||||
|
||||
define CAN_APP_NODE_NAME "org.ardupilot.mro_m10025"
|
26
libraries/AP_HAL_ChibiOS/hwdef/f303-M10025/hwdef.dat
Normal file
26
libraries/AP_HAL_ChibiOS/hwdef/f303-M10025/hwdef.dat
Normal file
@ -0,0 +1,26 @@
|
||||
include ../f303-periph/hwdef.dat
|
||||
|
||||
# start with a fixed node ID so the board is usable without DNA
|
||||
define HAL_CAN_DEFAULT_NODE_ID 117
|
||||
|
||||
define CAN_APP_NODE_NAME "org.ardupilot.mro_m10025"
|
||||
|
||||
# added rm3100 mag on SPI
|
||||
SPIDEV rm3100 SPI1 DEVID1 MAG_CS MODE0 1*MHZ 1*MHZ
|
||||
COMPASS RM3100 SPI:rm3100 false ROTATION_NONE
|
||||
|
||||
# an I2C baro (DPS310)
|
||||
BARO DPS280 I2C:0:0x77
|
||||
|
||||
# GPS+MAG+LED+Baro
|
||||
define HAL_PERIPH_ENABLE_GPS
|
||||
define HAL_PERIPH_ENABLE_MAG
|
||||
define HAL_PERIPH_ENABLE_NCP5623_LED
|
||||
define HAL_PERIPH_ENABLE_BARO
|
||||
# I2C Airspeed sensor must use a different address than 0x77
|
||||
define HAL_PERIPH_ENABLE_AIRSPEED
|
||||
|
||||
# Safety button
|
||||
PC13 SAFE_BUTTON INPUT PULLUP
|
||||
# Button is active LOW
|
||||
define HAL_SAFE_BUTTON_ON 0
|
Loading…
Reference in New Issue
Block a user