Added extra output to makefiles to indicate the currently selected BOARD parameter.

pull/1469/head
Dean Camera 16 years ago
parent 0214e096a0
commit e611b250c1

@ -446,7 +446,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -495,8 +495,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -505,6 +505,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -654,10 +660,11 @@ clean: begin clean_list clean_binary end
clean_binary: clean_binary:
$(REMOVE) $(TARGET).hex $(REMOVE) $(TARGET).hex
clean_list: clean_list:
@echo $(MSG_CLEANING) @echo $(MSG_CLEANING)
$(REMOVE) $(TARGET).eep $(REMOVE) $(TARGET).eep
$(REMOVE) $(TARGET)eep.hex
$(REMOVE) $(TARGET).cof $(REMOVE) $(TARGET).cof
$(REMOVE) $(TARGET).elf $(REMOVE) $(TARGET).elf
$(REMOVE) $(TARGET).map $(REMOVE) $(TARGET).map
@ -675,7 +682,7 @@ doxygen:
@echo Generating Project Documentation... @echo Generating Project Documentation...
@doxygen Doxygen.conf @doxygen Doxygen.conf
@echo Documentation Generation Complete. @echo Documentation Generation Complete.
clean_doxygen: clean_doxygen:
rm -rf Documentation rm -rf Documentation
@ -688,8 +695,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen doxygen

@ -447,7 +447,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -496,8 +496,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -506,6 +506,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -515,8 +521,7 @@ gccversion :
# Program the device. # Program the device.
program: $(TARGET).hex $(TARGET).eep program: $(TARGET).hex $(TARGET).eep
$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)
# Generate avr-gdb config/init file which does the following: # Generate avr-gdb config/init file which does the following:
# define the reset signal, load the target file, connect to target, and set # 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: clean_binary:
$(REMOVE) $(TARGET).hex $(REMOVE) $(TARGET).hex
clean_list: clean_list:
@echo $(MSG_CLEANING) @echo $(MSG_CLEANING)
$(REMOVE) $(TARGET).eep $(REMOVE) $(TARGET).eep
$(REMOVE) $(TARGET)eep.hex
$(REMOVE) $(TARGET).cof $(REMOVE) $(TARGET).cof
$(REMOVE) $(TARGET).elf $(REMOVE) $(TARGET).elf
$(REMOVE) $(TARGET).map $(REMOVE) $(TARGET).map
@ -667,8 +673,6 @@ clean_list:
$(REMOVE) $(TARGET).lss $(REMOVE) $(TARGET).lss
$(REMOVE) $(SRC:%.c=$(OBJDIR)/%.o) $(REMOVE) $(SRC:%.c=$(OBJDIR)/%.o)
$(REMOVE) $(SRC:%.c=$(OBJDIR)/%.lst) $(REMOVE) $(SRC:%.c=$(OBJDIR)/%.lst)
$(REMOVE) $(ASRC:%.S=$(OBJDIR)/%.o)
$(REMOVE) $(ASRC:%.S=$(OBJDIR)/%.lst)
$(REMOVE) $(SRC:.c=.s) $(REMOVE) $(SRC:.c=.s)
$(REMOVE) $(SRC:.c=.d) $(REMOVE) $(SRC:.c=.d)
$(REMOVE) $(SRC:.c=.i) $(REMOVE) $(SRC:.c=.i)
@ -679,7 +683,7 @@ doxygen:
@echo Generating Project Documentation... @echo Generating Project Documentation...
@doxygen Doxygen.conf @doxygen Doxygen.conf
@echo Documentation Generation Complete. @echo Documentation Generation Complete.
clean_doxygen: clean_doxygen:
rm -rf Documentation rm -rf Documentation
@ -692,8 +696,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen clean_doxygen doxygen

@ -446,7 +446,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -495,7 +495,7 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@ -505,6 +505,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -654,10 +660,11 @@ clean: begin clean_list clean_binary end
clean_binary: clean_binary:
$(REMOVE) $(TARGET).hex $(REMOVE) $(TARGET).hex
clean_list: clean_list:
@echo $(MSG_CLEANING) @echo $(MSG_CLEANING)
$(REMOVE) $(TARGET).eep $(REMOVE) $(TARGET).eep
$(REMOVE) $(TARGET)eep.hex
$(REMOVE) $(TARGET).cof $(REMOVE) $(TARGET).cof
$(REMOVE) $(TARGET).elf $(REMOVE) $(TARGET).elf
$(REMOVE) $(TARGET).map $(REMOVE) $(TARGET).map
@ -688,8 +695,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen doxygen

@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -497,7 +497,7 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@ -507,6 +507,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -497,7 +497,7 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@ -507,6 +507,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -454,7 +454,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -503,8 +503,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -513,6 +513,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -717,8 +723,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -497,8 +497,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -507,6 +507,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -500,8 +500,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -510,6 +510,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -497,8 +497,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -507,6 +507,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -497,8 +497,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -507,6 +507,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -482,8 +482,6 @@ HEXSIZE = $(SIZE) --target=$(FORMAT) $(TARGET).hex
ELFSIZE = $(SIZE) $(MCU_FLAG) $(FORMAT_FLAG) $(TARGET).elf ELFSIZE = $(SIZE) $(MCU_FLAG) $(FORMAT_FLAG) $(TARGET).elf
MCU_FLAG = $(shell $(SIZE) --help | grep -- --mcu > /dev/null && echo --mcu=$(MCU) ) 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 ) 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: sizebefore:
@if test -f $(TARGET).elf; then echo; echo $(MSG_SIZE_BEFORE); $(ELFSIZE); \ @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 | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@ -509,6 +507,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -713,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -447,7 +447,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -496,7 +496,7 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@ -506,6 +506,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -710,8 +716,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -500,8 +500,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -510,6 +510,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -500,8 +500,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -510,6 +510,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -453,7 +453,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -502,8 +502,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -512,6 +512,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -716,8 +722,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -497,7 +497,7 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@ -507,6 +507,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -497,7 +497,7 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@ -507,6 +507,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -448,7 +448,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -497,7 +497,7 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@ -507,6 +507,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -711,8 +717,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -450,7 +450,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -499,8 +499,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -509,6 +509,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -713,8 +719,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -453,7 +453,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -502,8 +502,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -512,6 +512,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -716,8 +722,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -449,7 +449,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -498,8 +498,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -508,6 +508,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -712,8 +718,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -449,7 +449,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -498,8 +498,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -508,6 +508,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -712,8 +718,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -500,8 +500,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -510,6 +510,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -500,8 +500,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -510,6 +510,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -453,7 +453,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -502,8 +502,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -512,6 +512,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -716,8 +722,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -449,7 +449,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -498,8 +498,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -508,6 +508,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -712,8 +718,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -462,7 +462,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -511,8 +511,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -521,6 +521,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -725,8 +731,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -451,7 +451,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -500,8 +500,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -510,8 +510,14 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion: gccversion :
@$(CC) --version @$(CC) --version
@ -714,8 +720,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -456,7 +456,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -505,7 +505,7 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@ -515,6 +515,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -719,8 +725,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -450,7 +450,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -499,8 +499,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -509,6 +509,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -713,8 +719,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -32,6 +32,7 @@
* - Fixed incorrect/missing control status stage transfers on demos, bootloaders and applications (thanks to Nate Lawson) * - 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 * - 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 * 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 * \section Sec_ChangeLog090209 Version 090209
* *

@ -798,8 +798,8 @@
/* Private Interface - For use in library only: */ /* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__) #if !defined(__DOXYGEN__)
/* Macros: */ /* Macros: */
#define Endpoint_AllocateMemory() MACROS{ UECFG1X |= (1 << ALLOC); }MACROE #define Endpoint_AllocateMemory() MACROS{ UECFG1X |= (1 << ALLOC); }MACROE
#define Endpoint_DeallocateMemory() 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_MAXSIZE(n) _ENDPOINT_GET_MAXSIZE2(ENDPOINT_DETAILS_EP ## n)
#define _ENDPOINT_GET_MAXSIZE2(details) _ENDPOINT_GET_MAXSIZE3(details) #define _ENDPOINT_GET_MAXSIZE2(details) _ENDPOINT_GET_MAXSIZE3(details)

@ -761,7 +761,7 @@
/* Private Interface - For use in library only: */ /* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__) #if !defined(__DOXYGEN__)
/* Macros: */ /* Macros: */
#define PIPE_TOKEN_MASK (0x03 << PTOKEN0) #define PIPE_TOKEN_MASK (0x03 << PTOKEN0)
#define Pipe_AllocateMemory() MACROS{ UPCFG1X |= (1 << ALLOC); }MACROE #define Pipe_AllocateMemory() MACROS{ UPCFG1X |= (1 << ALLOC); }MACROE
#define Pipe_DeallocateMemory() MACROS{ UPCFG1X &= ~(1 << ALLOC); }MACROE #define Pipe_DeallocateMemory() MACROS{ UPCFG1X &= ~(1 << ALLOC); }MACROE
@ -781,7 +781,7 @@
return (2 << EPSIZE0); return (2 << EPSIZE0);
else if (Bytes <= 64) else if (Bytes <= 64)
return (3 << EPSIZE0); return (3 << EPSIZE0);
else if (Bytes <= (8 << 4)) else if (Bytes <= 128)
return (4 << EPSIZE0); return (4 << EPSIZE0);
else else
return (5 << EPSIZE0); return (5 << EPSIZE0);

@ -450,7 +450,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -499,8 +499,8 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@echo ----------- Library Mode ----------- @echo ----------- Library Mode -----------
@ -509,6 +509,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -713,8 +719,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee

@ -458,7 +458,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target. # 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. # Change the build target to build a HEX file or a library.
build: elf hex eep lss sym build: elf hex eep lss sym
@ -507,7 +507,7 @@ checkhooks: build
@$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \ @$(shell) (grep -s '^Event.*LUFA/.*\\.o' $(TARGET).map | \
cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \ cut -d' ' -f1 | cut -d'_' -f2- | grep ".*") || \
echo "(None)" echo "(None)"
@echo ----- End Unhooked LUFA Events ----- @echo ------------------------------------
checklibmode: checklibmode:
@echo @echo
@ -517,6 +517,12 @@ checklibmode:
|| echo "No specific mode (both device and host mode allowable)." || echo "No specific mode (both device and host mode allowable)."
@echo ------------------------------------ @echo ------------------------------------
checkboard:
@echo
@echo ---------- Selected Board ----------
@echo Selected board model is $(BOARD).
@echo ------------------------------------
# Display compiler version information. # Display compiler version information.
gccversion : gccversion :
@$(CC) --version @$(CC) --version
@ -721,8 +727,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets. # Listing of phony targets.
.PHONY : all checkhooks checklibmode begin \ .PHONY : all checkhooks checklibmode checkboard \
finish end sizebefore sizeafter gccversion \ begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \ build elf hex eep lss sym coff extcoff clean \
clean clean_list clean_binary program debug \ clean_list clean_binary program debug gdb-config \
gdb-config doxygen dfu flip flip-ee dfu-ee doxygen dfu flip flip-ee dfu-ee
Loading…
Cancel
Save