Changeset f51aacc in avrstuff for test_2313_muserial/Makefile


Ignore:
Timestamp:
Jul 29, 2014, 7:58:35 PM (10 years ago)
Author:
Adrien Destugues <pulkomandy@…>
Branches:
main
Children:
0db7c37
Parents:
b83dc2a
Message:

Convert muserial test to common.mk.

git-svn-id: svn://pulkomandy.tk/avrstuff@104 c6672c3c-f6b6-47f9-9001-1fd6b12fecbe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test_2313_muserial/Makefile

    rb83dc2a rf51aacc  
    1 #Set vars
     1# K4KUSB
     2F_CPU=12000000
     3
     4# muSerial
     5# F_CPU=20000000
     6
     7# Common
    28MCU=attiny2313
    3 COMPILE = avr-gcc -Wall -Os -std=c99 -mmcu=$(MCU) -DF_CPU=20000000
     9
     10all: blinkdel.hex
     11
     12include ../kbd/common.mk
     13
     14COMPILE = $(CC) -Wall -Os -std=c99 -mmcu=$(MCU) -DF_CPU=$(F_CPU)
    415
    516#Rules
    6 blinkdel.hex: blinkdel.bin
    7         avr-objcopy -j .text -j .data -O ihex blinkdel.bin blinkdel.hex
    817
    918blinkdel.bin: main.o
     
    2332        avrdude -c usbasp -p $(MCU) -Uflash:w:blinkdel.hex
    2433
    25 clean:
    26         rm *.bin *.o *.hex
Note: See TracChangeset for help on using the changeset viewer.