-
Notifications
You must be signed in to change notification settings - Fork 231
ino build error #232
Comments
I get this error too Platform: Arch Linux |
From ino clean, which works
|
Do you have a $HOME/.inorc file ? If so, try moving it away and retrying - I suspect the boards.txt it's finding has changed |
I fixed this on my own environment by downgrading the Arch AUR package of arduino from 1.6 to 1.0.6 |
Ok ill try it.. |
I did not have a .inorc file so i'll try to downgrade arduino. |
I downloaded arduino 1.0.6 and installed it under /usr/local/share ( thats where ino looks for it ) its on a raspberry pi running rapsbian.. |
i have looked at the boards.txt and every board in that file all have a mcu line like this.. mega2560.build.mcu=atmega2560 |
Looks like this could be the same as my issue #228. I wrote up a temporary workaround in that post; maybe that might help you. |
I cannot downgrade the IDE to 1.0.6 because some specific functions won´t work well on 1.0.X Is there any solution to this error? here it is. pi@vfa ~/vfa $ ino build -m mega
|
I know this is a little bit of a late reply, but the problem comes from having spaces in the board file you are using. This is a problem because the python build file (build.py) is using the exact strings as dictionary keys. you can remove the white space in the files that ino is pointing to, or you can modify the python build file to remove white space from all of the board related strings. |
Remove the space did not solve the problem on Fedora 23 |
when i try to build i get this error?
ino build
Traceback (most recent call last):
File "/usr/local/bin/ino", line 6, in
main()
File "/usr/local/lib/python2.7/dist-packages/ino/runner.py", line 76, in main
args.func(args)
File "/usr/local/lib/python2.7/dist-packages/ino/commands/build.py", line 284, in run
self.setup_flags(args)
File "/usr/local/lib/python2.7/dist-packages/ino/commands/build.py", line 151, in setup_flags
mcu = '-mmcu=' + board['build']['mcu']
KeyError: 'mcu'
The text was updated successfully, but these errors were encountered: