I am trying to compile the Button sketch from Examples. I get compilation error:
Arduino: 1.5.6-r2 (Windows 8), Board: "ATmega8-noxtal @8MHz"
In file included from Button.ino:29:
C:\Users\Suresh\Documents\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:213:26: error: pins_arduino.h: No such file or directory
pins_arduino.h is a board-specific file and if the compiler can't find it this could be because the board type hasn't been defined correctly. The boards.txt entry should include a build.variant property that names a directory under arduino/variants that contains the corresponding pins_arduino.h.
By the way, the Installation & Troubleshooting section is a more appropriate place for problems like this relating to the IDE itself.
Hi Peter, Thanks for your response. I tried adding the line mentioned in boards.txt file. It created an entry under Boards menu. I guess I am not doing it the right way. Could point me to a post or share the sample boards.txt file.
A better way to look at this is that if your board is a "ATmega8-noxtal @8MHz" then somebody, presumably the supplier, needs to create the corresponding boards entry and provide instructions to incorporate it into the boards.txt file. You could look at the boards entry for other similar boards to see what sort of thing needs to be in the entry and to understand how the boards entry relates to the variant directory.
I finally managed to get this working. I uninstalled the beta version and installed Arduino 1.05 r2. Still had the same problem. So I reflashed the Bootloader , Fuse and Lock bits. I got the Fuse & Lock Bits from boards.txt. Now I am able to upload.