X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/05d6877e622d664f1b89f3dd7761b13636a4686e..52dbbbfb2c457b0a2c0955124983dd3f06af5996:/Makefile diff --git a/Makefile b/Makefile index 7c8a681..97eda7a 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ SRAM = 8K # For USB HID support the LPC134x reserves 384 bytes from the sram, # if you don't want to use the USB features, just use 0 here. SRAM_USB = 384 +#SRAM_USB = 0 ########################################################################## # Debug settings @@ -24,24 +25,37 @@ DEBUGBUILD = FALSE # IDE Flags (Keeps various IDEs happy) ########################################################################## -#OPTDEFINES = -D __NEWLIB__ -DR0KET -OPTDEFINES = -D __NEWLIB__ -DHOB_REV2 +OPTDEFINES = -D__NEWLIB__ +#OPTDEFINES += -DR0KET +#OPTDEFINES += -DUSBONLY ########################################################################## # Project-specific files ########################################################################## SRCS = \ - badge/main.c \ + badge/fahrplan.c \ + badge/backlight.c \ badge/init.c \ + badge/main.c \ badge/jumpnrun/collision.c \ badge/jumpnrun/enemies.c \ + badge/jumpnrun/game_state.c \ badge/jumpnrun/items.c \ badge/jumpnrun/jumpnrun.c \ badge/jumpnrun/level_load.c \ + badge/jumpnrun/player.c \ + badge/jumpnrun/render.c \ + badge/jumpnrun/shots.c \ + badge/jumpnrun/starter.c \ + badge/jumpnrun/stats.c \ badge/jumpnrun/tiles.c \ + badge/ui/browser.c \ badge/ui/display.c \ badge/ui/event.c \ - badge/ui/sprite.c + badge/ui/font.c \ + badge/ui/menu.c \ + badge/ui/sprite.c \ + badge/ui/vanity.c SRCS += \ dataflash/iobase.c \ @@ -229,7 +243,6 @@ SRCS += \ core/cmd/cmd.c \ core/cpu/cpu.c \ core/gpio/gpio.c \ - core/i2c/i2c.c \ core/iap/iap.c \ core/libc/stdio.c \ core/libc/string.c \ @@ -239,8 +252,6 @@ SRCS += \ core/systick/systick.c \ core/timer16/timer16.c \ core/timer32/timer32.c \ - core/uart/uart_buf.c \ - core/uart/uart.c \ core/usbcdc/cdc_buf.c \ core/usbcdc/cdcuser.c \ core/usbcdc/usbcore.c \ @@ -252,6 +263,10 @@ SRCS += \ core/usbhid-rom/usbmsc.c \ core/wdt/wdt.c +# core/i2c/i2c.c +# core/uart/uart_buf.c +# core/uart/uart.c + ########################################################################## # GNU GCC compiler prefix and location ##########################################################################