HAL_ChibiOS: fixed build warnings for bootloader builds
This commit is contained in:
parent
9557a5c22c
commit
0994655f5b
@ -1,6 +1,6 @@
|
|||||||
include ../f103-periph/hwdef-bl.dat
|
include ../f103-periph/hwdef-bl.dat
|
||||||
|
|
||||||
# start with a fixed node ID so the board is usable without DNA
|
# 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"
|
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_HWESC"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
include ../f103-periph/hwdef.dat
|
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"
|
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_HWESC"
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
include ../f303-periph/hwdef-bl.dat
|
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 0
|
||||||
define HAL_CAN_DEFAULT_NODE_ID 111
|
|
||||||
|
|
||||||
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_HWESC"
|
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_HWESC"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
include ../f303-periph/hwdef.dat
|
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"
|
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_HWESC"
|
||||||
|
|
||||||
|
@ -94,10 +94,5 @@ PB6 STAY_IN_BOOTLOADER INPUT FLOATING
|
|||||||
# reserve 256 bytes for comms between app and bootloader
|
# reserve 256 bytes for comms between app and bootloader
|
||||||
RAM_RESERVE_START 256
|
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
|
# Add CS pins to ensure they are high in bootloader
|
||||||
PB0 MAG_CS CS
|
PB0 MAG_CS CS
|
||||||
|
Loading…
Reference in New Issue
Block a user