diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-07-30 19:04:55 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-30 19:04:55 +0200 |
commit | a3de0a4ac29118c3ada946a0c8f7f602c9066ec1 (patch) | |
tree | 8408d463a3ea6910d7336e24d60611da8a50b77d /firmware/Makefile.dfu | |
parent | dd88fde8d2b78243c01871cabca37c9e46ebd03d (diff) | |
parent | ffbce3ea2cda51214be0bb7a107954f890f99b0d (diff) |
Merge branch 'simtrace'
Diffstat (limited to 'firmware/Makefile.dfu')
-rw-r--r-- | firmware/Makefile.dfu | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/firmware/Makefile.dfu b/firmware/Makefile.dfu index c526fc2..3c797ef 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) @@ -173,6 +174,14 @@ ADEFS += -DPCD CINCS = -Isrc/pcd endif +ifeq ($(BOARD),SIMTRACE) +SUBMDL = AT91SAM7S128 +CDEFS += -DSIMTRACE +ADEFS += -DSIMTRACE +CINCS = -Isrc/simtrace +endif + + # Place -I options here CINCS += -Iinclude -Isrc |