Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libbob3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
herzi
P
project
bob3
libbob3
Commits
203fc975
Commit
203fc975
authored
Sep 09, 2019
by
Sebastian Neuser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add make target for .bob3 file for Bobdude
parent
8850c87a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
Makefile
Makefile
+18
-1
No files found.
Makefile
View file @
203fc975
...
...
@@ -34,8 +34,25 @@ OBJS := $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(C_FILES)))
%.program
:
%.hex
$(AVRDUDE)
-p
$(MCU)
-c
$(PGM_TYPE)
-P
$(PGM_DEV)
-U
flash:w:
$<
:i
.ONESHELL
:
%.bob3
:
%.hex
cat
>
$@
<<-
__EOF__
<?xml version="1.0"?>
<xhex version="1.0">
<platform>bob3-m88-8</platform>
<programmer type="avrispv2"/>
<device part="atmega88" erase="yes">
<segment id="flash" format="ihex">
__EOF__
cat
$<
>>
$@
cat >>
$@
<<-__EOF__
</segment>
</device>
</xhex>
__EOF__
clean
:
rm
-f
$(OBJS)
*
.o
*
.elf
*
.hex
rm
-f
$(OBJS)
*
.o
*
.elf
*
.hex
*
.bob3
.PRECIOUS
:
%.hex
.PHONY
:
clean
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment