Changeset f51aacc in avrstuff for test_2313_muserial/Makefile
- Timestamp:
- Jul 29, 2014, 7:58:35 PM (10 years ago)
- Branches:
- main
- Children:
- 0db7c37
- Parents:
- b83dc2a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test_2313_muserial/Makefile
rb83dc2a rf51aacc 1 #Set vars 1 # K4KUSB 2 F_CPU=12000000 3 4 # muSerial 5 # F_CPU=20000000 6 7 # Common 2 8 MCU=attiny2313 3 COMPILE = avr-gcc -Wall -Os -std=c99 -mmcu=$(MCU) -DF_CPU=20000000 9 10 all: blinkdel.hex 11 12 include ../kbd/common.mk 13 14 COMPILE = $(CC) -Wall -Os -std=c99 -mmcu=$(MCU) -DF_CPU=$(F_CPU) 4 15 5 16 #Rules 6 blinkdel.hex: blinkdel.bin7 avr-objcopy -j .text -j .data -O ihex blinkdel.bin blinkdel.hex8 17 9 18 blinkdel.bin: main.o … … 23 32 avrdude -c usbasp -p $(MCU) -Uflash:w:blinkdel.hex 24 33 25 clean:26 rm *.bin *.o *.hex
Note:
See TracChangeset
for help on using the changeset viewer.