Browse Source

HAL_ChibiOS: fixed build warnings for bootloader builds

c415-sdk
Andrew Tridgell 5 years ago
parent
commit
0994655f5b
  1. 2
      libraries/AP_HAL_ChibiOS/hwdef/f103-HWESC/hwdef-bl.dat
  2. 2
      libraries/AP_HAL_ChibiOS/hwdef/f103-HWESC/hwdef.dat
  3. 3
      libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef-bl.dat
  4. 2
      libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef.dat
  5. 5
      libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef-bl.dat

2
libraries/AP_HAL_ChibiOS/hwdef/f103-HWESC/hwdef-bl.dat

@ -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"

2
libraries/AP_HAL_ChibiOS/hwdef/f103-HWESC/hwdef.dat

@ -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"

3
libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef-bl.dat

@ -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"

2
libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef.dat

@ -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"

5
libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef-bl.dat

@ -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…
Cancel
Save