Compare commits

..

1 Commits

Author SHA1 Message Date
8cca72d90d add more informative error message for FDCAN peripheral config 2024-04-25 18:47:17 +02:00

View File

@ -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