aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/main.cpp
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2009-11-21 23:23:43 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2009-11-21 23:23:43 +0000
commit35f5f6e99f15e0cc674c814937c82ef5fbbf86c3 (patch)
treebc2c0bbb790831ab26bfa8221cf6f3554363b89b /cores/arduino/main.cpp
parent80d8477877dc004f293d0ab1717b8783421d84a0 (diff)
Improving third-party hardware support:
- moving back to multple cores per platform - using target instead of platform - moving per-board and per-programmer preferences out of Preferences.java and into a new Target class - adding a new "target" preference - support for platform:value values in board preferences for bootloader path and core - XXX: need to support platform:value syntax for board upload.using preferences.
Diffstat (limited to 'cores/arduino/main.cpp')
-rwxr-xr-xcores/arduino/main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/cores/arduino/main.cpp b/cores/arduino/main.cpp
new file mode 100755
index 0000000..cc6e81d
--- /dev/null
+++ b/cores/arduino/main.cpp
@@ -0,0 +1,14 @@
+#include <WProgram.h>
+
+int main(void)
+{
+ init();
+
+ setup();
+
+ for (;;)
+ loop();
+
+ return 0;
+}
+