Question
Automatic choice of a header by a used STM.
Hi! I have the own include file which contains more the same HAL libraries headers with a different types of controllers. Could it be some possible (with Directive and Contitions?) for a compiler to choose itself according to the used controller in Project? Thanx.
I always have to choose manually...
// #include "stm32l1xx_hal.h"
#include "stm32f1xx_hal.h"
//#include "stm32f4xx_hal.h"
// #include "stm32f7xx_hal.h"