aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--main.cpp.example2
2 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index cd03356..379013c 100644
--- a/Makefile
+++ b/Makefile
@@ -58,9 +58,6 @@ LFLAGS = -Tstm32conf/$(LINKER) -L stm32conf/lanchon-stm32 \
CPFLAGS = -v -Obinary
ODFLAGS = -S
-# main source file
-MAIN=main.cpp
-
CSRC = libmaple/systick.c \
libmaple/timers.c \
libmaple/adc.c \
@@ -96,6 +93,7 @@ CPPSRC = wirish/wirish_math.cpp \
wirish/comm/HardwareSerial.cpp \
wirish/comm/HardwareSPI.cpp \
wirish/cxxabi-compat.cpp \
+ main.cpp
# i really have no idea what i'm doing
meep += $(CSRC)
diff --git a/main.cpp.example b/main.cpp.example
index 5c285f6..67380ae 100644
--- a/main.cpp.example
+++ b/main.cpp.example
@@ -34,8 +34,6 @@
#define LED_PIN 13
#define PWM_PIN 2
-HardwareUsb Usb;
-
void setup()
{
/* Set up the LED to blink */