HAL_ChibiOS: fixed build warnings for bootloader builds

This commit is contained in:
Andrew Tridgell 2020-04-24 18:07:43 +10:00
parent 9557a5c22c
commit 0994655f5b
5 changed files with 4 additions and 10 deletions

View File

@ -1,6 +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 111
define HAL_CAN_DEFAULT_NODE_ID 0
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_HWESC"

View File

@ -1,6 +1,6 @@
include ../f103-periph/hwdef.dat
define HAL_CAN_DEFAULT_NODE_ID 111
define HAL_CAN_DEFAULT_NODE_ID 0
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_HWESC"

View File

@ -1,6 +1,5 @@
include ../f303-periph/hwdef-bl.dat
# start with a fixed node ID so the board is usable without DNA
define HAL_CAN_DEFAULT_NODE_ID 111
define HAL_CAN_DEFAULT_NODE_ID 0
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_HWESC"

View File

@ -1,6 +1,6 @@
include ../f303-periph/hwdef.dat
define HAL_CAN_DEFAULT_NODE_ID 111
define HAL_CAN_DEFAULT_NODE_ID 0
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_HWESC"

View File

@ -94,10 +94,5 @@ PB6 STAY_IN_BOOTLOADER INPUT FLOATING
# reserve 256 bytes for comms between app and bootloader
RAM_RESERVE_START 256
# use DNA
define HAL_CAN_DEFAULT_NODE_ID 0
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_gps"
# Add CS pins to ensure they are high in bootloader
PB0 MAG_CS CS