CubeMX generates garbage CDEF line in Makefile
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
Labels:
- Labels:
-
STM32CubeMX
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
