Browse Source

HAL_ChibiOS: allow for CAN enable override on F4

master
Andrew Tridgell 6 years ago
parent
commit
cbc83d68cd
  1. 4
      libraries/AP_HAL_ChibiOS/hwdef/common/stm32f47_mcuconf.h

4
libraries/AP_HAL_ChibiOS/hwdef/common/stm32f47_mcuconf.h

@ -128,8 +128,12 @@ @@ -128,8 +128,12 @@
/*
* CAN driver system settings.
*/
#ifndef STM32_CAN_USE_CAN1
#define STM32_CAN_USE_CAN1 FALSE
#endif
#ifndef STM32_CAN_USE_CAN2
#define STM32_CAN_USE_CAN2 FALSE
#endif
#define STM32_CAN_CAN1_IRQ_PRIORITY 11
#define STM32_CAN_CAN2_IRQ_PRIORITY 11

Loading…
Cancel
Save