I've been putting together a small set for working on-the-go with small Arduino-compatible boards, to prototype with. I've been working with an app called ArduinoDroid for Android, which I could use to write the code, and flash it to an Arduino. However, the boards I use (at the moment Adafruit's GEMMA and Trinket boards) use the ATTiny 85 microcontroller, which isn't supported by the app. Hence, I can't upload any code to the device.
I was thinking of creating a piece of code which could start automattically as a RasPi (B+) started up. I would write all the code on a tablet, and save it onto a MicroSD card via an in-built slot (or onto a flashdrive via USB OTG). My code would then wait for a pushbutton input, at which point it would look for a file on a USB Drive (actually a MicroSD memory card into a USB adapter) with a specific name (like code.ino), and then flash this to the Arduino board.
The push-button and start-up stuff I think I can handle - there's lots of stuff about this around the web. However, I'm not sure about the code flashing bit. As the main thing I want to do involves Adafruit's 'NeoPixels', which require their own library, I need to install this onto the Pi and have it work with my code. I'm not sure about writing code to flash a program to the Arduino though - I've heard the 'Ino' project mentioned, but I'm not sure it would support a) my microcontroller and b) the NeoPixel library.
Has anyone already done this? Is there a workaround? How should I go about writing a program to flash the code to the Arduino?
Thanks in advance for all your help.
I'm still learning
Archie