Rename program_ee AVRDUDE module target to program-ee. Update CORE build module to print out lists one item per line, rather than all on one line.

pull/1469/head
Dean Camera 12 years ago
parent d0737f6ad5
commit 7197893006

@ -7,7 +7,7 @@
#
LUFA_BUILD_MODULES += AVRDUDE
LUFA_BUILD_TARGETS += program program_ee
LUFA_BUILD_TARGETS += program program-ee
LUFA_BUILD_MANDATORY_VARS += MCU TARGET
LUFA_BUILD_OPTIONAL_VARS += AVRDUDE_PROGRAMMER AVRDUDE_PORT AVRDUDE_FLAGS
@ -22,7 +22,7 @@ LUFA_BUILD_OPTIONAL_VARS += AVRDUDE_PROGRAMMER AVRDUDE_PORT AVRDUDE_FLAGS
#
# program - Program target FLASH with application using
# avrdude
# program_ee - Program target EEPROM with application data
# program-ee - Program target EEPROM with application data
# using avrdude
#
# MANDATORY PARAMETERS:
@ -57,6 +57,6 @@ program: $(TARGET).hex
@echo $(MSG_AVRDUDE_CMD) Programming device \"$(MCU)\" with settings \"$(AVRDUDE_FLASH_FLAGS)\" using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\"
avrdude -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) $(AVRDUDE_FLASH_FLAGS)
program_ee: $(TARGET).eep
program-ee: $(TARGET).eep
@echo $(MSG_AVRDUDE_CMD) Programming device \"$(MCU)\" with settings \"$(AVRDUDE_EEP_FLAGS)\" using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\"
avrdude -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) $(AVRDUDE_EEP_FLAGS)

@ -63,22 +63,22 @@ help:
@echo "==================================================================="
@echo " Currently used modules in this application: "
@echo " "
@echo " [" $(SORTED_LUFA_BUILD_MODULES) "]"
@printf " %b" "$(SORTED_LUFA_BUILD_MODULES:%= - %\n)"
@echo " "
@echo " "
@echo " Currently available build targets in this application: "
@echo " "
@echo " [" $(SORTED_LUFA_BUILD_TARGETS) "]"
@printf " %b" "$(SORTED_LUFA_BUILD_TARGETS:%= - %\n)"
@echo " "
@echo " "
@echo " Mandatory variables required by the selected build Modules: "
@echo " "
@echo " [" $(SORTED_LUFA_MANDATORY_VARS) "]"
@printf " %b" "$(SORTED_LUFA_MANDATORY_VARS:%= - %\n)"
@echo " "
@echo " "
@echo " Optional variables required by the selected build Modules: "
@echo " "
@echo " [" $(SORTED_LUFA_OPTIONAL_VARS) "]"
@printf " %b" "$(SORTED_LUFA_OPTIONAL_VARS:%= - %\n)"
@echo " "
@echo "==================================================================="
@echo " The LUFA BuildSystem 2.0 - Powered By Unicorns (tm) "

Loading…
Cancel
Save