Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lufa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
lufa
Commits
28a2739f
Commit
28a2739f
authored
13 years ago
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Improve DFU build module to use symbolic names for the target HEX and EEP filenames.
parent
511348fb
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
LUFA/Build/lufa.dfu.in
+12
-12
12 additions, 12 deletions
LUFA/Build/lufa.dfu.in
with
12 additions
and
12 deletions
LUFA/Build/lufa.dfu.in
+
12
−
12
View file @
28a2739f
...
@@ -53,30 +53,30 @@ MSG_REMOVE_CMD := ' [RM] :'
...
@@ -53,30 +53,30 @@ MSG_REMOVE_CMD := ' [RM] :'
MSG_DFU_CMD := ' [DFU] :'
MSG_DFU_CMD := ' [DFU] :'
flip: $(TARGET).hex $(MAKEFILE_LIST)
flip: $(TARGET).hex $(MAKEFILE_LIST)
@echo $(MSG_DFU_CMD) Programming FLASH with batchisp using \"$
(TARGET).hex
\"
@echo $(MSG_DFU_CMD) Programming FLASH with batchisp using \"$
<
\"
batchisp -hardware usb -device $(MCU) -operation erase f
batchisp -hardware usb -device $(MCU) -operation erase f
batchisp -hardware usb -device $(MCU) -operation loadbuffer $
(TARGET).hex
program
batchisp -hardware usb -device $(MCU) -operation loadbuffer $
<
program
batchisp -hardware usb -device $(MCU) -operation start reset 0
batchisp -hardware usb -device $(MCU) -operation start reset 0
flip-ee: $(TARGET).eep $(MAKEFILE_LIST)
flip-ee: $(TARGET).eep $(MAKEFILE_LIST)
@echo $(MSG_DFU_CMD) Copying EEP file to temporary file \"$
(TARGET)eep
.hex\"
@echo $(MSG_DFU_CMD) Copying EEP file to temporary file \"$
<
.hex\"
cp $
(TARGET).eep $(TARGET)eep
.hex
cp $
< $<
.hex
@echo $(MSG_DFU_CMD) Programming EEPROM with batchisp using \"$
(TARGET).eep
\"
@echo $(MSG_DFU_CMD) Programming EEPROM with batchisp using \"$
<.hex
\"
batchisp -hardware usb -device $(MCU) -operation memory EEPROM erase
batchisp -hardware usb -device $(MCU) -operation memory EEPROM erase
batchisp -hardware usb -device $(MCU) -operation memory EEPROM loadbuffer $
(TARGET)eep
.hex program
batchisp -hardware usb -device $(MCU) -operation memory EEPROM loadbuffer $
<
.hex program
batchisp -hardware usb -device $(MCU) -operation start reset 0
batchisp -hardware usb -device $(MCU) -operation start reset 0
@echo $(MSG_DFU_CMD) Removing temporary file \"$
(TARGET)eep
.hex\"
@echo $(MSG_DFU_CMD) Removing temporary file \"$
<
.hex\"
rm $
(TARGET)eep
.hex
rm $
<
.hex
dfu: $(TARGET).hex $(MAKEFILE_LIST)
dfu: $(TARGET).hex $(MAKEFILE_LIST)
@echo $(MSG_DFU_CMD) Programming FLASH with dfu-programmer using \"$
(TARGET).hex
\"
@echo $(MSG_DFU_CMD) Programming FLASH with dfu-programmer using \"$
<
\"
dfu-programmer $(MCU) erase
dfu-programmer $(MCU) erase
dfu-programmer $(MCU) flash $
(TARGET).hex
dfu-programmer $(MCU) flash $
<
dfu-programmer $(MCU) reset
dfu-programmer $(MCU) reset
dfu-ee: $(TARGET).eep $(MAKEFILE_LIST)
dfu-ee: $(TARGET).eep $(MAKEFILE_LIST)
@echo $(MSG_DFU_CMD) Programming EEPROM with dfu-programmer using \"$
(TARGET).eep
\"
@echo $(MSG_DFU_CMD) Programming EEPROM with dfu-programmer using \"$
<
\"
dfu-programmer $(MCU) eeprom-flash $
(TARGET).eep
dfu-programmer $(MCU) eeprom-flash $
<
dfu-programmer $(MCU) reset
dfu-programmer $(MCU) reset
# Phony build targets for this module
# Phony build targets for this module
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment