diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-11-18 23:55:58 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-11-18 23:55:58 +0100 |
commit | e50e2f8c62a262c6ee109204b30b485a5bb3c074 (patch) | |
tree | dac448970ac5e6c67ec13c7fb5849dbe73206c2a /firmware/Makefile.dfu | |
parent | 6492c2959cbea6dd6d46fc64267b88c19cf14e8a (diff) |
simtrace: Commit Makefile changes to support build of simtrace WARNING
These changes will enable the simtrace firmware to be built like this:
make -f Makefile.dfu BOARD=OLIMEX
make BOARD=SIMTRACE DEBUG=1 TARGET=main_simtrace
Diffstat (limited to 'firmware/Makefile.dfu')
-rw-r--r-- | firmware/Makefile.dfu | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/Makefile.dfu b/firmware/Makefile.dfu index c526fc2..45a042e 100644 --- a/firmware/Makefile.dfu +++ b/firmware/Makefile.dfu @@ -41,8 +41,8 @@ FLASH_TOOL = AT91FLASH # MCU name and submodel MCU = arm7tdmi -#SUBMDL = AT91SAM7S64 -SUBMDL = AT91SAM7S256 +SUBMDL = AT91SAM7S64 +#SUBMDL = AT91SAM7S256 USE_THUMB_MODE = NO #USE_THUMB_MODE = YES @@ -69,7 +69,7 @@ PATH_TO_LINKSCRIPTS=link/ # Target file name (without extension). TARGET:=dfu -USBSTRINGS=src/picc/usb_strings_dfu.h src/pcd/usb_strings_dfu.h +USBSTRINGS=src/picc/usb_strings_dfu.h src/pcd/usb_strings_dfu.h src/simtrace/usb_strings_dfu.h # List C source files here. (C dependencies are automatically generated.) # use file-extension c for "c-only"-files @@ -158,6 +158,7 @@ endif ifeq ($(BOARD),OLIMEX) CDEFS += -DOLIMEX ADEFS += -DOLIMEX +CINCS = -Isrc/simtrace endif ifeq ($(BOARD),PICC) |