-
Notifications
You must be signed in to change notification settings - Fork 131
2.1.0.4 mmcu argument missing #106
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
Comments
Hi
What do you mean by that? |
Howdy, I am still going through the src files to see if I can find where the plug in determines the build commands for cc1plus, so I can modify it/ensure that it is pulling information from the right file. |
Sorry this does not look like a problem in my plugin. |
any updates? |
Unfortunately, other projects have distracted me from this matter, but I will get to it on Wednesday. I suspected that your plugin called on something else to construct the arguments, I just wanted to confirm it. Once I figure out what argument is missing where, I'll post, in case others have the same problem. |
waiting for feedback :-) |
I had the same error and I fixed it by going to Eclipse Project Properties, C/C++ Build, Environment and defining the variable A.BUILD.MCU (and setting it to atmega328p in my case). |
Which board? Which platfor? Which hardware? which os? |
Yes, sorry for leaving out all that information. It was a while ago and it was for the Duemillanova and LilyPad. I was running 32bit Eclipse Juno R2 on Windows 7. I can't remember if I was using Arduino 1.05 or 1.54. I have since reinstalled Eclipse using Arduino 1.52 and I don't have that problem now. |
Arduino IDE 1.5.4 + lillipad + mcu? that makes sense. see http://eclipse.baeyens.it/installAdvice.shtml |
before you blame me
Arduino IDE 1.5.4 beta boards.txt states
This is one of the reasons everything is still called beta. |
No blame intended for you. In fact, you deserve only thanks and praise! Thanks to you, those using Eclipse can get stuff done in the Arduino world. I wouldn't want to develop without it. |
I'm closing this as a user issue due to incompatible Arduino IDE version |
I believe I successfully installed V2 of the plugin via the Eclipse "Install New Software" menu. When I attempted to build a test sketch, I received this error: "cc1plus: error: missing argument to "-mmcu="". A bit of googling later, I ran this line in the terminal:
And was able to avoid the cc1plus error (although I have a slew of other problems). I am currently unaware of where the plugin determines the cc1plus arguments. It could be from the AVRdude.config file, which in my case is the file that comes with the Arduino 1.5 beta, so this comment would be better placed on their forum. But I compiled with no problems using the Arduino IDE.
Much obliged for your time, texastony.
Specs: Mac OS X, Juno SR2, Arduino1.5, Pro Mini 5V w/ Atmega 328p, AVRDude (all paths pointing to Arduino1.5's avr, though Crosspack is installed as well), and Arduino Eclipse extension 2.1.0.4
The text was updated successfully, but these errors were encountered: