comparison Makefile @ 309:49e83333e546

Add FatFS
author Matt Johnston <matt@ucc.asn.au>
date Tue, 08 May 2012 22:51:38 +0800
parents e36ee3e156c1
children 54d369e3d689
comparison
equal deleted inserted replaced
308:e36ee3e156c1 309:49e83333e546
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: