aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Platform.h
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-08-14 16:59:34 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-08-14 16:59:34 -0400
commitddd3418a4faabdfb82bef69ec62e2560125c919b (patch)
tree2b01673d20c50ab4ef1e980bbaafb4b79e7559de /cores/arduino/Platform.h
parentb8a2daf8bcda528be820eb0b76e6b15961cd71c0 (diff)
Serial via USB works
Integrated rest of Peter's USB implementation
Diffstat (limited to 'cores/arduino/Platform.h')
-rw-r--r--cores/arduino/Platform.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/cores/arduino/Platform.h b/cores/arduino/Platform.h
new file mode 100644
index 0000000..6a1f340
--- /dev/null
+++ b/cores/arduino/Platform.h
@@ -0,0 +1,21 @@
+
+#ifndef __PLATFORM_H__
+#define __PLATFORM_H__
+
+#include <inttypes.h>
+#include <avr/pgmspace.h>
+#include <avr/eeprom.h>
+#include <avr/interrupt.h>
+#include <util/delay.h>
+
+typedef unsigned char u8;
+typedef unsigned short u16;
+typedef unsigned long u32;
+
+#include "Arduino.h"
+
+#include "USBDesc.h"
+#include "USBCore.h"
+#include "USBAPI.h"
+
+#endif