aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAJM <poslathian@poslathian.(none)>2010-05-20 23:42:00 -0400
committerAJM <poslathian@poslathian.(none)>2010-05-20 23:42:00 -0400
commitceffba70ebdeb53bea139d343f2d6cb88888515c (patch)
tree71a53471f0d17bea1be12a581041450b2f4845d5
parent7d098021533a02fea3bae70a6cc773d4ec2ae9f8 (diff)
downloadlibrambutan-ceffba70ebdeb53bea139d343f2d6cb88888515c.tar.gz
librambutan-ceffba70ebdeb53bea139d343f2d6cb88888515c.zip
Adjusted the makefile and example main
for some odd reason the main file in the makefile was set to main.c not main.cpp corrected this as there is no main.c anywhere in this repo. Also removed references to HardwareUsb.h, since those files dont exist yet (the originals were depricated and removed)
-rw-r--r--Makefile2
-rw-r--r--main.cpp.example3
2 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0643359..cd03356 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ CPFLAGS = -v -Obinary
ODFLAGS = -S
# main source file
-MAIN=main.c
+MAIN=main.cpp
CSRC = libmaple/systick.c \
libmaple/timers.c \
diff --git a/main.cpp.example b/main.cpp.example
index ae63996..5c285f6 100644
--- a/main.cpp.example
+++ b/main.cpp.example
@@ -29,7 +29,6 @@
#include "wirish.h"
#include "HardwareSerial.h"
-#include "HardwareUsb.h"
#include "usb.h"
#define LED_PIN 13
@@ -50,8 +49,6 @@ void setup()
pinMode(PWM_PIN, PWM);
pwmWrite(PWM_PIN, 0x8000);
- /* Send a message out the USB virtual com port */
- Usb.println("Hello world!");
}
int toggle = 0;