mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: split out f103-GPS from base f103-periph
this makes it easier to create more peripheral variants
This commit is contained in:
parent
1743ba3933
commit
43fb6bfdd1
|
@ -0,0 +1,6 @@
|
||||||
|
include ../f103-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.ap_periph_gps"
|
|
@ -0,0 +1,10 @@
|
||||||
|
include ../f103-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.ap_periph_gps"
|
||||||
|
|
||||||
|
# GPS+MAG
|
||||||
|
define HAL_PERIPH_ENABLE_GPS
|
||||||
|
define HAL_PERIPH_ENABLE_MAG
|
|
@ -91,10 +91,6 @@ define STM32_CAN_USE_CAN1 TRUE
|
||||||
|
|
||||||
define CAN_APP_VERSION_MAJOR 1
|
define CAN_APP_VERSION_MAJOR 1
|
||||||
define CAN_APP_VERSION_MINOR 0
|
define CAN_APP_VERSION_MINOR 0
|
||||||
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph"
|
|
||||||
|
|
||||||
# start with a fixed node ID so the board is usable without DNA
|
|
||||||
define HAL_CAN_DEFAULT_NODE_ID 117
|
|
||||||
|
|
||||||
# make bl baudrate match debug baudrate for easier debugging
|
# make bl baudrate match debug baudrate for easier debugging
|
||||||
define BOOTLOADER_BAUDRATE 57600
|
define BOOTLOADER_BAUDRATE 57600
|
||||||
|
|
|
@ -96,12 +96,8 @@ PA12 CAN_TX CAN
|
||||||
define HAL_USE_CAN TRUE
|
define HAL_USE_CAN TRUE
|
||||||
define STM32_CAN_USE_CAN1 TRUE
|
define STM32_CAN_USE_CAN1 TRUE
|
||||||
|
|
||||||
# start with a fixed node ID so the board is usable without DNA
|
|
||||||
define HAL_CAN_DEFAULT_NODE_ID 117
|
|
||||||
|
|
||||||
define CAN_APP_VERSION_MAJOR 1
|
define CAN_APP_VERSION_MAJOR 1
|
||||||
define CAN_APP_VERSION_MINOR 0
|
define CAN_APP_VERSION_MINOR 0
|
||||||
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph"
|
|
||||||
|
|
||||||
define HAL_USE_I2C TRUE
|
define HAL_USE_I2C TRUE
|
||||||
define STM32_I2C_USE_I2C1 TRUE
|
define STM32_I2C_USE_I2C1 TRUE
|
||||||
|
|
Loading…
Reference in New Issue