comparison Makefile @ 22:a55d7c2440fd colopi1

basically done
author Matt Johnston <matt@ucc.asn.au>
date Sun, 16 Jun 2013 22:05:55 +0800
parents bc48a1d17edf
children 292cd17de2a4 22badb6239e0
comparison
equal deleted inserted replaced
21:83a0663c082f 22:a55d7c2440fd
28 SOURCE += $(SOURCE_CRYPTO) 28 SOURCE += $(SOURCE_CRYPTO)
29 LIBS = -lm 29 LIBS = -lm
30 30
31 # default but 2mhz 31 # default but 2mhz
32 FUSES = -U hfuse:w:0xd9:m -U lfuse:w:0x77:m -U efuse:w:0xfd:m 32 FUSES = -U hfuse:w:0xd9:m -U lfuse:w:0x77:m -U efuse:w:0xfd:m
33
34 #LOCKBIT
35 # -U lock:w:0x28:m
36 # 0 unused bit7
37 # 0 unused
38 # 1 blb12 no writing to bootloader
39 # 0 blb11
40 # 1 blb02 no writing to app
41 # 0 blb01
42 # 0 lb2
43 # 0 lb1 bit0
33 44
34 # ATMega8 fuse bits used above (fuse bits for other devices are different!): 45 # ATMega8 fuse bits used above (fuse bits for other devices are different!):
35 # Example for 8 MHz internal oscillator 46 # Example for 8 MHz internal oscillator
36 # Fuse high byte: 47 # Fuse high byte:
37 # 0xd9 = 1 1 0 1 1 0 0 1 <-- BOOTRST (boot reset vector at 0x0000) 48 # 0xd9 = 1 1 0 1 1 0 0 1 <-- BOOTRST (boot reset vector at 0x0000)