2020-02-25 12:51 AM
I've just recently started to use makefiles and one of the requirements is passing a few defines to the compiler.
These I define in CDEF as
CDEF = -DVAR1 -DVAR2 -DVAR3
but after running the code generation, CubeMX has changed that to
-DCDEF = VAR1 VAR2 VAR3
which does absolutely nothing as the variable DCDEF is not referenced in the gcc command line
What is it trying to do?
Cheers
2020-11-18 12:17 AM
Dear @frackers,
Thank you for your feedback.
It's recommended to use the last version of STM32CubeMX.
Could you please share you .IOC file ?
Best regards,
Houssem