add more informative error message for FDCAN peripheral config
This commit is contained in:
parent
433a142732
commit
8cca72d90d
|
@ -19,6 +19,9 @@
|
|||
#elif defined(STM32H7)
|
||||
#include "stm32h7xx_hal.h"
|
||||
#define FTCAN_IS_FDCAN
|
||||
#ifndef FTCAN_NUM_FILTERS
|
||||
#error "Please configure the number of filters in CubeMX, and then add a compiler define for FTCAN_NUM_FILTERS"
|
||||
#endif
|
||||
#else
|
||||
#error "Couldn't detect STM family"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue