Rev 624 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 624 | Rev 683 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #-------------------------------------------------------------------- |
1 | #-------------------------------------------------------------------- |
2 | # MCU name |
2 | # MCU name |
3 | MCU = atmega644 |
3 | MCU = atmega644p |
4 | F_CPU = 20000000 |
4 | F_CPU = 20000000 |
5 | #------------------------------------------------------------------- |
5 | #------------------------------------------------------------------- |
6 | HAUPT_VERSION = 0 |
6 | HAUPT_VERSION = 0 |
7 | NEBEN_VERSION = 68 |
7 | NEBEN_VERSION = 68 |
8 | VERSION_INDEX = 3 |
8 | VERSION_INDEX = 3 |
Line 23... | Line 23... | ||
23 | HEX_NAME = MEGA644 |
23 | HEX_NAME = MEGA644 |
24 | endif |
24 | endif |
Line 25... | Line 25... | ||
25 | 25 | ||
26 | ifeq ($(MCU), atmega644p) |
26 | ifeq ($(MCU), atmega644p) |
27 | FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m |
27 | FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m |
28 | HEX_NAME = MEGA644 |
28 | HEX_NAME = MEGA644p |
Line 29... | Line 29... | ||
29 | endif |
29 | endif |
30 | 30 | ||
Line 72... | Line 72... | ||
72 | # (Note: 3 is not always the best optimization level. See avr-libc FAQ.) |
72 | # (Note: 3 is not always the best optimization level. See avr-libc FAQ.) |
73 | OPT = s |
73 | OPT = s |
Line 74... | Line 74... | ||
74 | 74 | ||
75 | ########################################################################################################## |
75 | ########################################################################################################## |
76 | # List C source files here. (C dependencies are automatically generated.) |
76 | # List C source files here. (C dependencies are automatically generated.) |
77 | SRC = main.c uart.c printf_P.c timer0.c analog.c menu.c |
77 | SRC = main.c uart.c printf_P.c timer0.c timer2.c analog.c menu.c |
- | 78 | SRC += twimaster.c rc.c fc.c GPS.c spi.c |
|
Line 78... | Line 79... | ||
78 | SRC += twimaster.c rc.c fc.c GPS.c spi.c |
79 | SRC += mymath.c ubx.c fifo.c uart1.c |
Line 79... | Line 80... | ||
79 | 80 |