including stm32f1xx_hal.h to static c++ library doesn't work
Hi, I'm trying to import stm32f1xx_hal.h to my static c++ library to have access to the standard types and functions.
It used to work when the project was still c, but after migration it doesn't recognize the types any more, even though it doesn't fail to include.
I have include guards and external c in place:
#ifndef LTC6803LIBF103_HPP
#define LTC6803LIBF103_HPP
#ifdef __cplusplus
extern "C" {
#endif
#include <stm32f1xx_hal.h>
>>code<<
#ifdef __cplusplus
}
#endif
#endifconsole log at https://pastebin.com/iz2N4gpK
Weirdly enough it seems to work with some of my other libraries, don't know what is wrong with this one