Skip to content
Snippets Groups Projects
Commit 34fd739d authored by Grace Copplestone's avatar Grace Copplestone
Browse files

Delete 8e5_hello_world.make

parent 5c72ce43
No related branches found
No related tags found
No related merge requests found
Pipeline #
PROJECT=8e5_hello_world
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment