Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generated define for board not valid #9

Closed
StefanSch opened this issue Aug 2, 2016 · 1 comment
Closed

generated define for board not valid #9

StefanSch opened this issue Aug 2, 2016 · 1 comment

Comments

@StefanSch
Copy link
Contributor

The energia framework generates define which identifies the selected board.
e.g.
-DENERGIA_MSP-EXP430F5529LP
this is an invalid define as defines does not allow the '-' character.
the compiler also reports an warning which i assume corresponds to that.
:0:12: warning: missing whitespace after the macro name [enabled by default]

This might happen for other boards as well - so a replace of '-' with '_' might be a good option when generating the defines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants