Replies: 1 comment
-
If your variat_GENERIC_F103CBTX_8M.h is empty this is normal you got such issue.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
it is my first time here, excuse me in advance for any stupid or wrong question i make!
I have small experience with STM32 and developed two boards based on STM32F030. In that case, to avoid configuration issues i copied a demo board pinout, clock, etc. so i was able to program it without any issue.
This time, project is a little bit more advanced and i am planning to use a STM32F103CBT6. I want to run at 72 Mhz so using CubeMX Tool i configured clock with 8 Mhz HSE and 32Khz LSE for RTC.
I can generate code and, following wiki tutorial i am trying to make a new variant to be used on arduino ide.
First attempt was to create a new folder (copying the content of F103C8T_F103CB(T-U) ) and replacing ldscript.ld and generic_clock.c
I was getting lot of errors (mainly related to system clock config).
After reading some times more the tutorial and trying to figure how to do make the variant, i see i can place an entry in boards.txt which points to a variant*.cpp file. (i copied this from the F0 family).
This is what i did:
boards.txt:
variat_GENERIC_F103CBTX_8M.cpp
The function was generated from CubeMX
variat_GENERIC_F103CBTX_8M.h is empty
If i try to compile an empty program on Arduino IDE, i get:
I am a little bit lost......do you have any hint or tutorial i can follow to better understand al these concepts ?
Thanks
Ettore
Beta Was this translation helpful? Give feedback.
All reactions