Subversion Repositories FlightCtrl

Rev

Rev 1199 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1199 Rev 1200
Line 13... Line 13...
13
 
13
 
14
#-------------------------------------------------------------------
14
#-------------------------------------------------------------------
Line 15... Line 15...
15
#OPTIONS
15
#OPTIONS
16
 
16
 
17
# Use one of the extensions for a gps solution
17
# Use one of the extensions for a gps solution
18
EXT = KILLAGREG
18
#EXT = KILLAGREG
Line 19... Line 19...
19
#EXT = NAVICTRL
19
EXT = NAVICTRL
20
#EXT = MK3MAG
20
#EXT = MK3MAG
21
 
21
 
Line 22... Line 22...
22
# Use optional one the RCs if EXT = NAVICTRL has been used
22
# Use optional one the RCs if EXT = NAVICTRL has been used
Line 23... Line 23...
23
#RC = DSL
23
RC = DSL
Line 74... Line 74...
74
# get SVN revision
74
# get SVN revision
75
REV := $(shell sh -c "cat .svn/entries | sed -n '4p'")
75
REV := $(shell sh -c "cat .svn/entries | sed -n '4p'")
Line 76... Line 76...
76
 
76
 
77
ifeq ($(MCU), atmega644)
77
ifeq ($(MCU), atmega644)
78
 FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
78
 FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
79
 HEX_NAME = MEGA644_$(EXT)_$(SETUP)
79
 HEX_NAME = MEGA644_$(EXT)_$(RC)_$(SETUP)
Line 80... Line 80...
80
endif
80
endif
81
 
81
 
82
ifeq ($(MCU), atmega644p)
82
ifeq ($(MCU), atmega644p)
83
 FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
83
 FUSE_SETTINGS = -u -U lfuse:w:0xff:m -U hfuse:w:0xdf:m
Line 84... Line 84...
84
 HEX_NAME = MEGA644p_$(EXT)_$(SETUP)
84
 HEX_NAME = MEGA644p_$(EXT)_$(RC)_$(SETUP)
85
endif
85
endif