stm32duino / STM32RTC

Arduino RTC library for STM32.
127 stars 48 forks source link

#include "stm32_def.h" ^ compilation terminated. #43

Closed eklavyainfo closed 3 years ago

eklavyainfo commented 3 years ago

compile error

fpistm commented 3 years ago

No compile error. Probably you used the master which is not compatible with latest core version. Or you didn't use the correct STM32 core. Hard to tell without more info.

eklavyainfo commented 3 years ago

i am using stm32f103c8 in arduino ide

eklavyainfo commented 3 years ago

include "stm32_def.h"

                   ^

compilation terminated. exit status 1 Error compiling for board Generic STM32F103C6/fake STM32F103C8.

fpistm commented 3 years ago

So you used Roger Clark core's: https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/master/STM32F1/boards.txt#L437

This library is not for this core but this one: https://github.com/stm32duino/Arduino_Core_STM32