OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Compiling and Uploading to 2.1 via Mint Linux Image › Re: Re: Compiling and Uploading to 2.1 via Mint Linux Image
1. In Arduino, you need to select menu Tools -> Boards -> OpenSprinklerHW 2.1 (12MHz, USBasp, orange terminal block). I suspect I haven’t updated the VirtualBox image with 2.1 profile, so in case you don’t see this option, you can copy the boards.txt in the Github repository:
to your Arduino installation folder:
and overwrite the existing boards.txt. This should fix the first issue (i.e. sketch too big)
2. You need to run Arduino either in sudo, or alternatively add VID 0x16c0 PID 0x5dc to /etc/udev/rules.d/xxxx.rules, where xxxx.rules is one of the existing rules files in that folder. I think (need to double check) the one in VirtualBox image is named 60-microchip.rules. Just follow the existing lines to make a new line with the VID/PID pair. This should solve the second issue.
Overall the issues you encountered is because I haven’t updated the VirtualBox image yet 🙁 Will get this done soon 🙂