avikde / koduino

Arduino code for STM32 microcontrollers
http://avikde.me/koduino
Other
61 stars 25 forks source link

Creating new variant: HSE_VALUE needs to be correct when compiling new SPL .lib files #21

Closed avikde closed 7 years ago

avikde commented 7 years ago

I chose to precompile the SPL for each series (in stm32/system/). However, when compiling those, the HSE_VALUE must be correctly specified otherwise the RCC functions don't work properly. Obviously this is problematic because different variants may use a different oscillator / clock.

Suggestion: precompiled SPL should be in each variant instead of in system/

avikde commented 7 years ago

This has been implemented now in https://github.com/avikde/koduino/commit/3e4ea31c110841e69177ba3c6f57a52c566d78d5