Closed GoogleCodeExporter closed 8 years ago
Thanks for the thoughtful and detailed discussion here.
We actually addressed the non-IDE build problem slightly differently with a
Makefile that emulates the Arduino IDE's behaviour. This avoids introducing
accidental incompatibilities into the build process when working in one world
or the other - we have considered a completely separate compilation model, but
that would involve renaming all of the .pde files and creating significantly
more than a single header if we were to do it properly.
To use the Makefile, you'll need to create a config.mk file at the top level of
the checked-out sketchbook; a simple version might read:
BOARD=mega2560
PORT=/dev/tty.usbserial-A700eFgB
This supports a Mega2560 on a Mac OS X USB serial port - your port names will
vary. BOARD=mega supports the 1280-based APM boards.
Once you have this in place, 'make' and 'make upload' will behave as you
expect, with comparable performance.
Original comment by DrZip...@gmail.com
on 12 Sep 2011 at 5:21
Original issue reported on code.google.com by
justinbe...@gmail.com
on 5 Sep 2011 at 3:57