The Intel Edison is a great little piece of hardware with a nice fast processor. Though I ultimately plan to put together a cross-compiling toolchain for it, for the time being I'm relying on its built-in gcc.
Write code on your local machine in your preferred environment (I use vim). Run make remote
which will:
- sync the directory to the Edison
- execute
make
on the Edison to compile your code - run the resulting binary, its output visible in your console
- Connect and configure your Intel Edison according to the documentation
- Alter this Makefile, setting
EDISON
andPASSWORD
appropriately. - Install sshpass unless you love typing passwords.
- The Makefile assumes you'll be want to address GPIO, so it helpfully links the MRAA library. Haven't gotten around to playing with UPM yet. Try it out!
- The included main.cpp is derived from Intel sources.