Changeset 6390cc3 in avrstuff for chiptest/Makefile
- Timestamp:
- Sep 24, 2017, 7:39:05 PM (7 years ago)
- Branches:
- main
- Children:
- 6c47e45
- Parents:
- 9a9d5d0
- git-author:
- Adrien Destugues <pulkomandy@…> (24/09/2017 17:13:58)
- git-committer:
- Adrien Destugues <pulkomandy@…> (24/09/2017 19:39:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chiptest/Makefile
r9a9d5d0 r6390cc3 1 # STK500 2 F_CPU=3800000 3 MCU=atmega128 4 1 5 # K4KUSB 2 F_CPU=12000000 6 #F_CPU=12000000 7 #MCU=attiny2313 3 8 4 9 # muSerial 5 10 # F_CPU=20000000 11 #MCU=attiny2313 6 12 7 13 # Common 8 MCU=attiny23139 14 BAUD=9600 10 15 … … 13 18 include ../kbd/common.mk 14 19 15 COMPILE = $(CC) -Wall -Os -std=c99 -mmcu=$(MCU) -DF_CPU=$(F_CPU) -DBAUD=$(BAUD) \ 16 -I../libs/usart/ 20 COMPILE = $(CC) -Wall -std=c99 $(CFLAGS) -I../libs/usart/ 17 21 18 22 VPATH=../libs/usart/ … … 20 24 #Rules 21 25 22 blinkdel.bin: main.o usart.o26 $(MCU).bin: main.o usart.o 23 27 $(COMPILE) $^ -o $@ 24 28 … … 33 37 $(COMPILE) -std=c99 -c $< -o $@ 34 38 35 flash:36 avrdude -c usbasp -p $(MCU) -Uflash:w:blinkdel.hex37
Note:
See TracChangeset
for help on using the changeset viewer.