Browse Source

HAL_ChibiOS: set default node ID of 117

this allows for flight controllers without DNA support
master
Andrew Tridgell 6 years ago
parent
commit
d711bed405
  1. 3
      libraries/AP_HAL_ChibiOS/hwdef/f103-periph/hwdef-bl.dat
  2. 3
      libraries/AP_HAL_ChibiOS/hwdef/f103-periph/hwdef.dat

3
libraries/AP_HAL_ChibiOS/hwdef/f103-periph/hwdef-bl.dat

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

3
libraries/AP_HAL_ChibiOS/hwdef/f103-periph/hwdef.dat

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

Loading…
Cancel
Save