flexibility
This commit is contained in:
parent
5ed3d2ce54
commit
b464f32bc9
|
@ -66,9 +66,18 @@
|
||||||
/*
|
/*
|
||||||
* CAN driver system settings.
|
* CAN driver system settings.
|
||||||
*/
|
*/
|
||||||
|
#ifndef STM32_CAN_USE_CAN1
|
||||||
#define STM32_CAN_USE_CAN1 TRUE
|
#define STM32_CAN_USE_CAN1 TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef STM32_CAN_USE_CAN2
|
||||||
#define STM32_CAN_USE_CAN2 TRUE
|
#define STM32_CAN_USE_CAN2 TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef STM32_CAN_USE_CAN3
|
||||||
#define STM32_CAN_USE_CAN3 FALSE
|
#define STM32_CAN_USE_CAN3 FALSE
|
||||||
|
#ifndef
|
||||||
|
|
||||||
#define STM32_CAN_CAN1_IRQ_PRIORITY PRECISE_SCHEDULING_TIMER_PRIORITY + 7
|
#define STM32_CAN_CAN1_IRQ_PRIORITY PRECISE_SCHEDULING_TIMER_PRIORITY + 7
|
||||||
#define STM32_CAN_CAN2_IRQ_PRIORITY PRECISE_SCHEDULING_TIMER_PRIORITY + 7
|
#define STM32_CAN_CAN2_IRQ_PRIORITY PRECISE_SCHEDULING_TIMER_PRIORITY + 7
|
||||||
#define STM32_CAN_CAN3_IRQ_PRIORITY PRECISE_SCHEDULING_TIMER_PRIORITY + 7
|
#define STM32_CAN_CAN3_IRQ_PRIORITY PRECISE_SCHEDULING_TIMER_PRIORITY + 7
|
||||||
|
|
Loading…
Reference in New Issue