X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/6b62fbce6dc7c2bb7c7f96508eb2ecfc801a0f14..a090bd82d6178aa4e70e9e861ab9f5fed5fa7301:/Makefile diff --git a/Makefile b/Makefile index 9bf3e37..21b726e 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 @@ -18,34 +19,50 @@ SRAM_USB = 384 # Set DEBUGBUILD to 'TRUE' for full debugging (larger, slower binaries), # or to 'FALSE' for release builds (smallest, fastest binaries) -DEBUGBUILD = TRUE +DEBUGBUILD = FALSE ########################################################################## # IDE Flags (Keeps various IDEs happy) ########################################################################## -OPTDEFINES = -D __NEWLIB__ - +OPTDEFINES = -D__NEWLIB__ +#OPTDEFINES += -DR0KET +#OPTDEFINES += -DUSBONLY ########################################################################## # Project-specific files ########################################################################## SRCS = \ + badge/fahrplan.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/at45db041d.c \ dataflash/iobase.c \ - dataflash/diskio.c + dataflash/diskio.c \ + dataflash/at45db041d.c + +SRCS += \ + funk/nrf24l01p.c SRCS += \ project/commands.c @@ -225,7 +242,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 \ @@ -235,8 +251,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 \ @@ -248,6 +262,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 ##########################################################################