aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/main.cxx
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2009-06-01 08:32:11 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2009-06-01 08:32:11 +0000
commitdb605dd18b11ecfb5cd9f92c721c52cb70543384 (patch)
tree8a9029ffc560970ce1204ba86785ad44ef044906 /cores/arduino/main.cxx
First integration of the Arduino code in Processing 5503: PreProcessor and Compiler have been integrated with changes to the Sketch.
Compilation still has problems (Thread error on success, and can't handle non-pde files in a sketch). Modified the Mac OS X make.sh to copy the hardware, avr tools, and example over. Removing some of the antlr stuff. Disabling the Commander (command-line execution) for now. Added Library, LibraryManager, and Target. Added support for prefixed preferences (e.g. for boards and programmers).
Diffstat (limited to 'cores/arduino/main.cxx')
-rwxr-xr-xcores/arduino/main.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/cores/arduino/main.cxx b/cores/arduino/main.cxx
new file mode 100755
index 0000000..52351e4
--- /dev/null
+++ b/cores/arduino/main.cxx
@@ -0,0 +1,12 @@
+int main(void)
+{
+ init();
+
+ setup();
+
+ for (;;)
+ loop();
+
+ return 0;
+}
+