HAL_ChibiOS: set default node ID of 117

this allows for flight controllers without DNA support
This commit is contained in:
Andrew Tridgell 2019-05-29 14:30:31 +10:00
parent ababe1e81d
commit d711bed405
2 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,9 @@ PA12 CAN_TX CAN
define HAL_USE_CAN 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
define BOOTLOADER_BAUDRATE 57600

View File

@ -93,6 +93,9 @@ PA12 CAN_TX CAN
define HAL_USE_CAN 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 STM32_I2C_USE_I2C1 TRUE