mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
hwdef: add mRo M10070 Location One CAN GPS
This commit is contained in:
parent
3268c234d8
commit
defb7dc43f
9
libraries/AP_HAL_ChibiOS/hwdef/f303-M10070/hwdef-bl.dat
Normal file
9
libraries/AP_HAL_ChibiOS/hwdef/f303-M10070/hwdef-bl.dat
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
include ../f303-periph/hwdef-bl.dat
|
||||||
|
|
||||||
|
# mRo Location One CAN GPS
|
||||||
|
# M10084
|
||||||
|
|
||||||
|
# start as DNA
|
||||||
|
define HAL_CAN_DEFAULT_NODE_ID 0
|
||||||
|
|
||||||
|
define CAN_APP_NODE_NAME "io.mrobotics.m10070_loc1_BL"
|
29
libraries/AP_HAL_ChibiOS/hwdef/f303-M10070/hwdef.dat
Normal file
29
libraries/AP_HAL_ChibiOS/hwdef/f303-M10070/hwdef.dat
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
include ../f303-periph/hwdef.dat
|
||||||
|
|
||||||
|
# mRo Location One CAN GPS
|
||||||
|
# M10084
|
||||||
|
|
||||||
|
# start as DNA
|
||||||
|
define HAL_CAN_DEFAULT_NODE_ID 0
|
||||||
|
|
||||||
|
define CAN_APP_NODE_NAME "io.mrobotics.m10070_loc1"
|
||||||
|
|
||||||
|
# added rm3100 mag on SPI
|
||||||
|
SPIDEV rm3100 SPI1 DEVID1 MAG_CS MODE0 1*MHZ 1*MHZ
|
||||||
|
COMPASS RM3100 SPI:rm3100 false ROTATION_ROLL_180_YAW_90
|
||||||
|
|
||||||
|
# GPS+MAG+LED+Baro
|
||||||
|
define HAL_PERIPH_ENABLE_GPS
|
||||||
|
define HAL_PERIPH_ENABLE_MAG
|
||||||
|
define HAL_PERIPH_ENABLE_NCP5623_LED
|
||||||
|
|
||||||
|
# Optional I2C Airspeed sensor connected to I2C connector
|
||||||
|
define HAL_PERIPH_ENABLE_AIRSPEED
|
||||||
|
|
||||||
|
# Safety button
|
||||||
|
PC13 SAFE_BUTTON INPUT PULLUP
|
||||||
|
# Button is active LOW
|
||||||
|
define HAL_SAFE_BUTTON_ON 0
|
||||||
|
|
||||||
|
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||||||
|
|
Loading…
Reference in New Issue
Block a user