Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
hello-world
xmega
Commits
bea7ef33
Commit
bea7ef33
authored
Aug 10, 2017
by
Grace Copplestone (admin)
Browse files
Upload New File
parent
96d027e7
Pipeline
#657
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
functionality/interrupt/interrupt.8e5.make
0 → 100644
View file @
bea7ef33
PROJECT
=
interrupt.8e5
SOURCES
=
$(PROJECT)
.c
MMCU
=
atxmega8e5
F_CPU
=
32000000
TARGET
=
x8e5
PROGRAMMER
=
atmelice_pdi
CFLAGS
=
-mmcu
=
$(MMCU)
-Wall
-Os
-DF_CPU
=
$(F_CPU)
$(PROJECT).hex
:
$(PROJECT).out
avr-objcopy
-O
ihex
$(PROJECT)
.out
$(PROJECT)
.c.hex
;
\
avr-size
--mcu
=
$(MMCU)
--format
=
avr
$(PROJECT)
.out
$(PROJECT).out
:
$(SOURCES)
avr-gcc
$(CFLAGS)
-I
./
-o
$(PROJECT)
.out
$(SOURCES)
program
:
$(PROJECT).hex
avrdude
-p
$(TARGET)
-c
$(PROGRAMMER)
-U
flash:w:
$(PROJECT)
.c.hex
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment