enable CAN

This commit is contained in:
Matthew Kennedy 2020-09-19 15:46:01 -07:00
parent 65d8e00d56
commit f44ef04522
2 changed files with 7 additions and 1 deletions

View File

@ -51,7 +51,7 @@
* @brief Enables the CAN subsystem.
*/
#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__)
#define HAL_USE_CAN FALSE
#define HAL_USE_CAN TRUE
#endif
/**

View File

@ -81,6 +81,12 @@
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 2
#define STM32_ADC_ADC1_DMA_STREAM STM32_DMA_STREAM_ID(1, 1)
/*
* CAN driver system settings.
*/
#define STM32_CAN_USE_CAN1 TRUE
#define STM32_CAN_CAN1_IRQ_PRIORITY 3
/*
* GPT driver system settings.
*/