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

warning: ISO C99 requires whitespace after the macro name #25

Closed
Zv1k0 opened this issue Feb 13, 2018 · 3 comments
Closed

warning: ISO C99 requires whitespace after the macro name #25

Zv1k0 opened this issue Feb 13, 2018 · 3 comments

Comments

@Zv1k0
Copy link

Zv1k0 commented Feb 13, 2018

Hello, I'm new to this and I'm probably doing something wrong and that's why I'm here. I get this message in the title when i try to Verify the code and i cant fix it. I've seen other threads with different boards and how they fixed the problem. So i tried the same with CC3200 launchpad by changing the boards.txt file.

I changed the line:
CC3200-LAUNCHXL.build.board=CC3200-LAUNCHXL
to this:
CC3200-LAUNCHXL.build.board=CC3200_LAUNCHXL

I also added this:
{"name": "CC3200_LAUNCHXL"},
to package_index(JSON File)

None of this didn't fix the problem, I still get the same message. Anything else i can do?

@StefanSch
Copy link
Collaborator

this should help:
change in boards.txt (note: change is behind the =)
CC3200-LAUNCHXL.build.variant=CC3200_LAUNCHXL
CC3200-LAUNCHXL.build.board=CC3200_LAUNCHXL

change folder name otherwise the compiler does not find some include files:
energia\hardware\cc3200\1.0.3\variants\CC3200-LAUNCHXL
to
energia\hardware\cc3200\1.0.3\variants\CC3200_LAUNCHXL\

@Zv1k0
Copy link
Author

Zv1k0 commented Feb 20, 2018

Thank you very much for you answer @StefanSch and I'm sorry for so late reply, i had a terrible disease. I've tried your solution and now i don't get the warning anymore so thank you very much. Now i get this (picture) when i compile example under basic and blink. Is this even a problem because if I compile it again it doesn't show anymore. Also, do i have to change anything in the code in basics examples (blink) for red led to blink? I've read somewhere that it should work on most CC3200 Launchpads.

energia

@StefanSch
Copy link
Collaborator

Define warning fixed with pull request #26

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