Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fadecandy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Fadecandy
Commits
357dd15f
Commit
357dd15f
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
Build an fc-boot.bin as well
parent
9453c91d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bootloader/.gitignore
+1
-0
1 addition, 0 deletions
bootloader/.gitignore
bootloader/Makefile
+10
-5
10 additions, 5 deletions
bootloader/Makefile
with
11 additions
and
5 deletions
bootloader/.gitignore
+
1
−
0
View file @
357dd15f
...
...
@@ -3,6 +3,7 @@
*.o
*.a
*.d
*.bin
# IDA Pro
*.id0
...
...
This diff is collapsed.
Click to expand it.
bootloader/Makefile
+
10
−
5
View file @
357dd15f
...
...
@@ -51,20 +51,22 @@ LIBS = -lm
OBJS
:=
$(
C_FILES:.c
=
.o
)
$(
CPP_FILES:.cpp
=
.o
)
all
:
$(TARGET).hex
all
:
$(TARGET).hex
$(TARGET).bin size
$(TARGET).elf
:
$(OBJS) $(LDSCRIPT)
$(
CC
)
$(
LDFLAGS
)
-o
$@
$(
OBJS
)
$(
LIBS
)
%.hex
:
%.elf
$(
SIZE
)
$<
$(
OBJCOPY
)
-O
ihex
-R
.eeprom
$<
$@
$(
OBJCOPY
)
-O
ihex
$<
$@
%.bin
:
%.elf
$(
OBJCOPY
)
-O
binary
$<
$@
# compiler generated dependency info
-include
$(OBJS:.o=.d)
clean
:
rm
-f
*
.d
*
.o
$(
TARGET
)
.elf
$(
TARGET
)
.hex
rm
-f
*
.d
*
.o
$(
TARGET
)
.elf
$(
TARGET
)
.hex
$(
TARGET
)
.bin
# Install with OpenOCD. (No code protection!)
install
:
$(TARGET).hex
...
...
@@ -73,4 +75,7 @@ install: $(TARGET).hex
objdump
:
$(TARGET).elf
$(
OBJDUMP
)
-d
$<
.PHONY
:
all clean install objdump
size
:
$(TARGET).elf
$(
SIZE
)
$<
.PHONY
:
all clean install objdump size
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