mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: set default node ID of 117
this allows for flight controllers without DNA support
This commit is contained in:
parent
ababe1e81d
commit
d711bed405
|
@ -86,6 +86,9 @@ 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
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
|
|
@ -93,6 +93,9 @@ 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 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