comparison Makefile @ 3:888be1b234b6

Add FatFS
author Matt Johnston <matt@ucc.asn.au>
date Tue, 08 May 2012 22:51:38 +0800
parents ab0e30c4b344
children 54d369e3d689
comparison
equal deleted inserted replaced
2:ab0e30c4b344 3:888be1b234b6
18 # FUSES ........ Parameters for avrdude to flash the fuses appropriately. 18 # FUSES ........ Parameters for avrdude to flash the fuses appropriately.
19 19
20 DEVICE = atmega328 20 DEVICE = atmega328
21 CLOCK = 1000000 21 CLOCK = 1000000
22 PROGRAMMER = #-c stk500v2 -P avrdoper 22 PROGRAMMER = #-c stk500v2 -P avrdoper
23 OBJECTS = main.o 23 OBJECTS = main.o ff.o mmc.o
24 FUSES = -U hfuse:w:0xd9:m -U lfuse:w:0x24:m 24 FUSES = -U hfuse:w:0xd9:m -U lfuse:w:0x24:m
25 25
26 # ATMega8 fuse bits used above (fuse bits for other devices are different!): 26 # ATMega8 fuse bits used above (fuse bits for other devices are different!):
27 # Example for 8 MHz internal oscillator 27 # Example for 8 MHz internal oscillator
28 # Fuse high byte: 28 # Fuse high byte: