diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-19 18:37:22 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-19 18:37:22 +0000 |
commit | 3d4d8e7f628f9dc9981242f69b097333faa9940d (patch) | |
tree | cb05a02ad225b632d2d345da362687c9d199061a /Demos/Host/ClassDriver/KeyboardHostWithParser | |
parent | 100a197d0efa177b9f514cbf5292a6a333b03de9 (diff) | |
download | lufa-3d4d8e7f628f9dc9981242f69b097333faa9940d.tar.gz lufa-3d4d8e7f628f9dc9981242f69b097333faa9940d.tar.bz2 lufa-3d4d8e7f628f9dc9981242f69b097333faa9940d.zip |
Add new ARCH option to the makefiles to (eventually) specify the target device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
Diffstat (limited to 'Demos/Host/ClassDriver/KeyboardHostWithParser')
-rw-r--r-- | Demos/Host/ClassDriver/KeyboardHostWithParser/makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile b/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile index 4e07a6883..b1070f9c8 100644 --- a/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile +++ b/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile @@ -63,6 +63,10 @@ MCU = at90usb1287 +# Target architecture (see library "Board Types" documentation). +ARCH = AVR8 + + # Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. @@ -176,7 +180,7 @@ CSTANDARD = -std=c99 # Place -D or -U options here for C sources CDEFS = -DF_CPU=$(F_CPU)UL CDEFS += -DF_CLOCK=$(F_CLOCK)UL -CDEFS += -DBOARD=BOARD_$(BOARD) +CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH) CDEFS += $(LUFA_OPTS) |