vanity-convert: add Makefile
[hackover2013-badge-firmware.git] / Makefile
index a989b7c..97eda7a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ SRAM = 8K
 # For USB HID support the LPC134x reserves 384 bytes from the sram,\r
 # if you don't want to use the USB features, just use 0 here.\r
 SRAM_USB = 384\r
+#SRAM_USB = 0\r
 \r
 ##########################################################################\r
 # Debug settings\r
@@ -24,14 +25,16 @@ DEBUGBUILD = FALSE
 # IDE Flags (Keeps various IDEs happy)\r
 ##########################################################################\r
 \r
-#OPTDEFINES = -D __NEWLIB__ -DR0KET\r
-OPTDEFINES = -D __NEWLIB__ -DHOB_REV2\r
+OPTDEFINES = -D__NEWLIB__\r
+#OPTDEFINES += -DR0KET\r
+#OPTDEFINES += -DUSBONLY\r
 ##########################################################################\r
 # Project-specific files \r
 ##########################################################################\r
 \r
 SRCS = \\r
   badge/fahrplan.c \\r
+  badge/backlight.c \\r
   badge/init.c \\r
   badge/main.c \\r
   badge/jumpnrun/collision.c \\r
@@ -240,7 +243,6 @@ SRCS += \
   core/cmd/cmd.c \\r
   core/cpu/cpu.c \\r
   core/gpio/gpio.c \\r
-  core/i2c/i2c.c \\r
   core/iap/iap.c \\r
   core/libc/stdio.c \\r
   core/libc/string.c \\r
@@ -250,8 +252,6 @@ SRCS += \
   core/systick/systick.c \\r
   core/timer16/timer16.c \\r
   core/timer32/timer32.c \\r
-  core/uart/uart_buf.c \\r
-  core/uart/uart.c \\r
   core/usbcdc/cdc_buf.c \\r
   core/usbcdc/cdcuser.c \\r
   core/usbcdc/usbcore.c \\r
@@ -263,6 +263,10 @@ SRCS += \
   core/usbhid-rom/usbmsc.c \\r
   core/wdt/wdt.c\r
 \r
+#  core/i2c/i2c.c\r
+#  core/uart/uart_buf.c\r
+#  core/uart/uart.c\r
+\r
 ##########################################################################\r
 # GNU GCC compiler prefix and location\r
 ##########################################################################\r
This page took 0.021845 seconds and 4 git commands to generate.