diff options
35 files changed, 453 insertions, 262 deletions
diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile index 1e6491c1e..f9924fe4e 100644 --- a/Bootloaders/CDC/makefile +++ b/Bootloaders/CDC/makefile @@ -446,7 +446,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -495,8 +495,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -505,6 +505,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -654,10 +660,11 @@ clean: begin clean_list clean_binary end clean_binary:
$(REMOVE) $(TARGET).hex
-
+
clean_list:
@echo $(MSG_CLEANING)
$(REMOVE) $(TARGET).eep
+ $(REMOVE) $(TARGET)eep.hex
$(REMOVE) $(TARGET).cof
$(REMOVE) $(TARGET).elf
$(REMOVE) $(TARGET).map
@@ -675,7 +682,7 @@ doxygen: @echo Generating Project Documentation...
@doxygen Doxygen.conf
@echo Documentation Generation Complete.
-
+
clean_doxygen:
rm -rf Documentation
@@ -688,8 +695,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen
\ No newline at end of file diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile index 9e812e5de..cb19cb6c7 100644 --- a/Bootloaders/DFU/makefile +++ b/Bootloaders/DFU/makefile @@ -447,7 +447,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -496,8 +496,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -506,6 +506,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -515,8 +521,7 @@ gccversion : # Program the device.
program: $(TARGET).hex $(TARGET).eep
$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)
-
-
+
# Generate avr-gdb config/init file which does the following:
# define the reset signal, load the target file, connect to target, and set
@@ -656,10 +661,11 @@ clean: begin clean_list clean_binary end clean_binary:
$(REMOVE) $(TARGET).hex
-
+
clean_list:
@echo $(MSG_CLEANING)
$(REMOVE) $(TARGET).eep
+ $(REMOVE) $(TARGET)eep.hex
$(REMOVE) $(TARGET).cof
$(REMOVE) $(TARGET).elf
$(REMOVE) $(TARGET).map
@@ -667,8 +673,6 @@ clean_list: $(REMOVE) $(TARGET).lss
$(REMOVE) $(SRC:%.c=$(OBJDIR)/%.o)
$(REMOVE) $(SRC:%.c=$(OBJDIR)/%.lst)
- $(REMOVE) $(ASRC:%.S=$(OBJDIR)/%.o)
- $(REMOVE) $(ASRC:%.S=$(OBJDIR)/%.lst)
$(REMOVE) $(SRC:.c=.s)
$(REMOVE) $(SRC:.c=.d)
$(REMOVE) $(SRC:.c=.i)
@@ -679,7 +683,7 @@ doxygen: @echo Generating Project Documentation...
@doxygen Doxygen.conf
@echo Documentation Generation Complete.
-
+
clean_doxygen:
rm -rf Documentation
@@ -692,8 +696,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen clean_doxygen
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen
\ No newline at end of file diff --git a/Bootloaders/TeensyHID/makefile b/Bootloaders/TeensyHID/makefile index 1a544dd78..2173c3565 100644 --- a/Bootloaders/TeensyHID/makefile +++ b/Bootloaders/TeensyHID/makefile @@ -446,7 +446,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -495,7 +495,7 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
+ @echo ------------------------------------
checklibmode:
@echo
@@ -505,6 +505,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -654,10 +660,11 @@ clean: begin clean_list clean_binary end clean_binary:
$(REMOVE) $(TARGET).hex
-
+
clean_list:
@echo $(MSG_CLEANING)
$(REMOVE) $(TARGET).eep
+ $(REMOVE) $(TARGET)eep.hex
$(REMOVE) $(TARGET).cof
$(REMOVE) $(TARGET).elf
$(REMOVE) $(TARGET).map
@@ -688,8 +695,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen
\ No newline at end of file diff --git a/Demos/AudioInput/makefile b/Demos/AudioInput/makefile index 697442b5e..ff2d83f93 100644 --- a/Demos/AudioInput/makefile +++ b/Demos/AudioInput/makefile @@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -497,7 +497,7 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
+ @echo ------------------------------------
checklibmode:
@echo
@@ -507,6 +507,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/AudioOutput/makefile b/Demos/AudioOutput/makefile index a84a4b58b..3584d55f9 100644 --- a/Demos/AudioOutput/makefile +++ b/Demos/AudioOutput/makefile @@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -497,7 +497,7 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
+ @echo ------------------------------------
checklibmode:
@echo
@@ -507,6 +507,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/BluetoothHost/makefile b/Demos/BluetoothHost/makefile index 0adac4bcd..9fd93d4bf 100644 --- a/Demos/BluetoothHost/makefile +++ b/Demos/BluetoothHost/makefile @@ -454,7 +454,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -503,8 +503,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -513,6 +513,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -717,8 +723,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/CDC/makefile b/Demos/CDC/makefile index 8b19d1dee..6547dc807 100644 --- a/Demos/CDC/makefile +++ b/Demos/CDC/makefile @@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -497,8 +497,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -507,6 +507,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/CDCHost/makefile b/Demos/CDCHost/makefile index 98700824c..926b6967c 100644 --- a/Demos/CDCHost/makefile +++ b/Demos/CDCHost/makefile @@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -500,8 +500,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -510,6 +510,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/DualCDC/makefile b/Demos/DualCDC/makefile index 9313b8008..084331302 100644 --- a/Demos/DualCDC/makefile +++ b/Demos/DualCDC/makefile @@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -497,8 +497,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -507,6 +507,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/Joystick/makefile b/Demos/Joystick/makefile index 6638c108c..e29a3a509 100644 --- a/Demos/Joystick/makefile +++ b/Demos/Joystick/makefile @@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -497,8 +497,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -507,6 +507,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/Keyboard/makefile b/Demos/Keyboard/makefile index db138609a..6befbdb51 100644 --- a/Demos/Keyboard/makefile +++ b/Demos/Keyboard/makefile @@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -482,8 +482,6 @@ HEXSIZE = $(SIZE) --target=$(FORMAT) $(TARGET).hex ELFSIZE = $(SIZE) $(MCU_FLAG) $(FORMAT_FLAG) $(TARGET).elf
MCU_FLAG = $(shell $(SIZE) --help | grep -- --mcu > /dev/null && echo --mcu=$(MCU) )
FORMAT_FLAG = $(shell $(SIZE) --help | grep -- --format=.*avr > /dev/null && echo --format=avr )
-MCU_FLAG = $(shell $(SIZE) --help | grep -- --mcu > /dev/null && echo --mcu=$(MCU) )
-FORMAT_FLAG = $(shell $(SIZE) --help | grep -- --format=.*avr > /dev/null && echo --format=avr )
sizebefore:
@if test -f $(TARGET).elf; then echo; echo $(MSG_SIZE_BEFORE); $(ELFSIZE); \
@@ -499,7 +497,7 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
+ @echo ------------------------------------
checklibmode:
@echo
@@ -509,6 +507,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -713,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/KeyboardFullInt/makefile b/Demos/KeyboardFullInt/makefile index a7ebbf9fd..b3f2bd870 100644 --- a/Demos/KeyboardFullInt/makefile +++ b/Demos/KeyboardFullInt/makefile @@ -447,7 +447,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -496,7 +496,7 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
+ @echo ------------------------------------
checklibmode:
@echo
@@ -506,6 +506,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -710,8 +716,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/KeyboardHost/makefile b/Demos/KeyboardHost/makefile index 6ef376b33..41ce5c7a1 100644 --- a/Demos/KeyboardHost/makefile +++ b/Demos/KeyboardHost/makefile @@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -500,8 +500,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -510,6 +510,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/KeyboardHostViaInt/makefile b/Demos/KeyboardHostViaInt/makefile index 813ed690c..d66e9e369 100644 --- a/Demos/KeyboardHostViaInt/makefile +++ b/Demos/KeyboardHostViaInt/makefile @@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -500,8 +500,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -510,6 +510,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/KeyboardHostWithParser/makefile b/Demos/KeyboardHostWithParser/makefile index 41d8d9f66..d3de1d19c 100644 --- a/Demos/KeyboardHostWithParser/makefile +++ b/Demos/KeyboardHostWithParser/makefile @@ -453,7 +453,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -502,8 +502,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -512,6 +512,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -716,8 +722,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/KeyboardMouse/makefile b/Demos/KeyboardMouse/makefile index b16146c28..d411fc4aa 100644 --- a/Demos/KeyboardMouse/makefile +++ b/Demos/KeyboardMouse/makefile @@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -497,7 +497,7 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
+ @echo ------------------------------------
checklibmode:
@echo
@@ -507,6 +507,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/KeyboardViaInt/makefile b/Demos/KeyboardViaInt/makefile index 5b84843b6..c7e298c88 100644 --- a/Demos/KeyboardViaInt/makefile +++ b/Demos/KeyboardViaInt/makefile @@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -497,7 +497,7 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
+ @echo ------------------------------------
checklibmode:
@echo
@@ -507,6 +507,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/MIDI/makefile b/Demos/MIDI/makefile index 7d9f24a05..ecd4215c1 100644 --- a/Demos/MIDI/makefile +++ b/Demos/MIDI/makefile @@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -497,7 +497,7 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
+ @echo ------------------------------------
checklibmode:
@echo
@@ -507,6 +507,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/MassStorage/makefile b/Demos/MassStorage/makefile index 284d2aa28..65285253d 100644 --- a/Demos/MassStorage/makefile +++ b/Demos/MassStorage/makefile @@ -450,7 +450,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -499,8 +499,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -509,6 +509,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -713,8 +719,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/MassStorageHost/makefile b/Demos/MassStorageHost/makefile index 322d76003..de7ee3dc1 100644 --- a/Demos/MassStorageHost/makefile +++ b/Demos/MassStorageHost/makefile @@ -453,7 +453,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -502,8 +502,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -512,6 +512,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -716,8 +722,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/Mouse/makefile b/Demos/Mouse/makefile index 4886e8926..a731e205e 100644 --- a/Demos/Mouse/makefile +++ b/Demos/Mouse/makefile @@ -449,7 +449,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -498,8 +498,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -508,6 +508,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -712,8 +718,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/MouseFullInt/makefile b/Demos/MouseFullInt/makefile index 0a7e684d5..97089e675 100644 --- a/Demos/MouseFullInt/makefile +++ b/Demos/MouseFullInt/makefile @@ -449,7 +449,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -498,8 +498,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -508,6 +508,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -712,8 +718,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/MouseHost/makefile b/Demos/MouseHost/makefile index f2bb61ad2..bdec6fa19 100644 --- a/Demos/MouseHost/makefile +++ b/Demos/MouseHost/makefile @@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -500,8 +500,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -510,6 +510,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/MouseHostViaInt/makefile b/Demos/MouseHostViaInt/makefile index 45b53c6b3..9b93e3d18 100644 --- a/Demos/MouseHostViaInt/makefile +++ b/Demos/MouseHostViaInt/makefile @@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -500,8 +500,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -510,6 +510,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/MouseHostWithParser/makefile b/Demos/MouseHostWithParser/makefile index c815185f2..bc5e28d34 100644 --- a/Demos/MouseHostWithParser/makefile +++ b/Demos/MouseHostWithParser/makefile @@ -453,7 +453,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -502,8 +502,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -512,6 +512,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -716,8 +722,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/MouseViaInt/makefile b/Demos/MouseViaInt/makefile index 892fe4417..896145309 100644 --- a/Demos/MouseViaInt/makefile +++ b/Demos/MouseViaInt/makefile @@ -449,7 +449,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -498,8 +498,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -508,6 +508,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -712,8 +718,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/RNDISEthernet/makefile b/Demos/RNDISEthernet/makefile index 18f1fe4a8..8e2c781a9 100644 --- a/Demos/RNDISEthernet/makefile +++ b/Demos/RNDISEthernet/makefile @@ -462,7 +462,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -511,8 +511,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -521,6 +521,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -725,8 +731,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/StillImageHost/makefile b/Demos/StillImageHost/makefile index 8387c8161..df81e4842 100644 --- a/Demos/StillImageHost/makefile +++ b/Demos/StillImageHost/makefile @@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -500,8 +500,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -510,8 +510,14 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
-gccversion:
+gccversion :
@$(CC) --version
@@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/TestApp/makefile b/Demos/TestApp/makefile index e3a3ba935..ac2e6053e 100644 --- a/Demos/TestApp/makefile +++ b/Demos/TestApp/makefile @@ -456,7 +456,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -505,7 +505,7 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
+ @echo ------------------------------------
checklibmode:
@echo
@@ -515,6 +515,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -719,8 +725,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Demos/USBtoSerial/makefile b/Demos/USBtoSerial/makefile index 0c4aa87e8..1e820a614 100644 --- a/Demos/USBtoSerial/makefile +++ b/Demos/USBtoSerial/makefile @@ -450,7 +450,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -499,8 +499,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -509,6 +509,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -713,8 +719,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/LUFA/ChangeLog.txt b/LUFA/ChangeLog.txt index 05e6fe543..58bd9d233 100644 --- a/LUFA/ChangeLog.txt +++ b/LUFA/ChangeLog.txt @@ -32,6 +32,7 @@ * - Fixed incorrect/missing control status stage transfers on demos, bootloaders and applications (thanks to Nate Lawson)
* - The NO_CLEARSET_FEATURE_REQUEST compile time token has been renamed to NO_FEATURELESS_CONTROL_ONLY_DEVICE, and its function expanded
* to also remove parts of the Get Status chapter 9 request to further reduce code usage
+ * - Makefile updated to include output giving the currently selected BOARD parameter value
*
* \section Sec_ChangeLog090209 Version 090209
*
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.h b/LUFA/Drivers/USB/LowLevel/Endpoint.h index 16266868c..1b8bade7c 100644 --- a/LUFA/Drivers/USB/LowLevel/Endpoint.h +++ b/LUFA/Drivers/USB/LowLevel/Endpoint.h @@ -798,8 +798,8 @@ /* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__)
/* Macros: */
- #define Endpoint_AllocateMemory() MACROS{ UECFG1X |= (1 << ALLOC); }MACROE
- #define Endpoint_DeallocateMemory() MACROS{ UECFG1X &= ~(1 << ALLOC); }MACROE
+ #define Endpoint_AllocateMemory() MACROS{ UECFG1X |= (1 << ALLOC); }MACROE
+ #define Endpoint_DeallocateMemory() MACROS{ UECFG1X &= ~(1 << ALLOC); }MACROE
#define _ENDPOINT_GET_MAXSIZE(n) _ENDPOINT_GET_MAXSIZE2(ENDPOINT_DETAILS_EP ## n)
#define _ENDPOINT_GET_MAXSIZE2(details) _ENDPOINT_GET_MAXSIZE3(details)
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.h b/LUFA/Drivers/USB/LowLevel/Pipe.h index 5d4793eb2..3b7783a5d 100644 --- a/LUFA/Drivers/USB/LowLevel/Pipe.h +++ b/LUFA/Drivers/USB/LowLevel/Pipe.h @@ -761,7 +761,7 @@ /* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__)
/* Macros: */
- #define PIPE_TOKEN_MASK (0x03 << PTOKEN0)
+ #define PIPE_TOKEN_MASK (0x03 << PTOKEN0)
#define Pipe_AllocateMemory() MACROS{ UPCFG1X |= (1 << ALLOC); }MACROE
#define Pipe_DeallocateMemory() MACROS{ UPCFG1X &= ~(1 << ALLOC); }MACROE
@@ -781,7 +781,7 @@ return (2 << EPSIZE0);
else if (Bytes <= 64)
return (3 << EPSIZE0);
- else if (Bytes <= (8 << 4))
+ else if (Bytes <= 128)
return (4 << EPSIZE0);
else
return (5 << EPSIZE0);
diff --git a/Projects/AVRISP_Programmer/makefile b/Projects/AVRISP_Programmer/makefile index 1ef7370c8..0938f0518 100644 --- a/Projects/AVRISP_Programmer/makefile +++ b/Projects/AVRISP_Programmer/makefile @@ -450,7 +450,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target.
-all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end
+all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end
# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
@@ -499,8 +499,8 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)"
- @echo ----- End Unhooked LUFA Events -----
-
+ @echo ------------------------------------
+
checklibmode:
@echo
@echo ----------- Library Mode -----------
@@ -509,6 +509,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------
+checkboard:
+ @echo
+ @echo ---------- Selected Board ----------
+ @echo Selected board model is $(BOARD).
+ @echo ------------------------------------
+
# Display compiler version information.
gccversion :
@$(CC) --version
@@ -713,8 +719,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets.
-.PHONY : all checkhooks checklibmode begin \
-finish end sizebefore sizeafter gccversion \
-build elf hex eep lss sym coff extcoff \
-clean clean_list clean_binary program debug \
-gdb-config doxygen dfu flip flip-ee dfu-ee
+.PHONY : all checkhooks checklibmode checkboard \
+begin finish end sizebefore sizeafter gccversion \
+build elf hex eep lss sym coff extcoff clean \
+clean_list clean_binary program debug gdb-config \
+doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file diff --git a/Projects/Magstripe/makefile b/Projects/Magstripe/makefile index 0abf05c21..98cf23de0 100644 --- a/Projects/Magstripe/makefile +++ b/Projects/Magstripe/makefile @@ -458,7 +458,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) # Default target. -all: begin gccversion sizebefore build checkhooks checklibmode sizeafter end +all: begin gccversion sizebefore build checkhooks checklibmode checkboard sizeafter end # Change the build target to build a HEX file or a library. build: elf hex eep lss sym @@ -507,7 +507,7 @@ checkhooks: build @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ echo "(None)" - @echo ----- End Unhooked LUFA Events ----- + @echo ------------------------------------ checklibmode: @echo @@ -517,6 +517,12 @@ checklibmode: || echo "No specific mode (both device and host mode allowable)." @echo ------------------------------------ +checkboard: + @echo + @echo ---------- Selected Board ---------- + @echo Selected board model is $(BOARD). + @echo ------------------------------------ + # Display compiler version information. gccversion : @$(CC) --version @@ -721,8 +727,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets. -.PHONY : all checkhooks checklibmode begin \ -finish end sizebefore sizeafter gccversion \ -build elf hex eep lss sym coff extcoff \ -clean clean_list clean_binary program debug \ -gdb-config doxygen dfu flip flip-ee dfu-ee +.PHONY : all checkhooks checklibmode checkboard \ +begin finish end sizebefore sizeafter gccversion \ +build elf hex eep lss sym coff extcoff clean \ +clean_list clean_binary program debug gdb-config \ +doxygen dfu flip flip-ee dfu-ee
\ No newline at end of file |