flexibility

This commit is contained in:
rusefillc 2024-03-08 21:56:11 -05:00
parent 5ed3d2ce54
commit b464f32bc9
1 changed files with 9 additions and 0 deletions

View File

@ -66,9 +66,18 @@
/*
* CAN driver system settings.
*/
#ifndef STM32_CAN_USE_CAN1
#define STM32_CAN_USE_CAN1 TRUE
#endif
#ifndef STM32_CAN_USE_CAN2
#define STM32_CAN_USE_CAN2 TRUE
#endif
#ifndef STM32_CAN_USE_CAN3
#define STM32_CAN_USE_CAN3 FALSE
#ifndef
#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_CAN3_IRQ_PRIORITY PRECISE_SCHEDULING_TIMER_PRIORITY + 7