Subversion Repositories DevTools

Rev

Rev 383 | Rev 3559 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 383 Rev 385
Line 64... Line 64...
64
 
64
 
65
ifdef ITP_MODE
65
ifdef ITP_MODE
66
msp430_flags       += --silicon_version=msp
66
msp430_flags       += --silicon_version=msp
67
else
67
else
68
msp430_flags       += --silicon_version=mspx
68
msp430_flags       += --silicon_version=mspx
69
endif
-
 
70
 
-
 
71
#msp430_flags       += --make_global
-
 
72
msp430_flags       += --gcc
69
msp430_flags       += --gcc
73
msp430_flags       += --define=__MSP430F5438A__
70
msp430_flags       += --define=__MSP430F5438A__
74
msp430_flags       += --diag_warning=225
-
 
75
msp430_flags       += --silicon_errata=CPU21
71
msp430_flags       += --silicon_errata=CPU21
76
msp430_flags       += --silicon_errata=CPU22
72
msp430_flags       += --silicon_errata=CPU22
77
msp430_flags       += --silicon_errata=CPU23
73
msp430_flags       += --silicon_errata=CPU23
-
 
74
endif
-
 
75
 
-
 
76
#msp430_flags       += --make_global
-
 
77
msp430_flags       += --diag_warning=225
78
msp430_flags       += --printf_support=minimal
78
msp430_flags       += --printf_support=minimal
79
 
79
 
80
ifdef LEAVETMP
80
ifdef LEAVETMP
81
msp430_flags       += --keep_asm --asm_directory=$(@D)
81
msp430_flags       += --keep_asm --asm_directory=$(@D)
82
endif
82
endif
Line 262... Line 262...
262
define COFF2IMG
262
define COFF2IMG
263
    @$(echo) "[$@] Convert COFF to IMG.."
263
    @$(echo) "[$@] Convert COFF to IMG.."
264
    $(XX_PRE)$(TOOL_VXP430IMG) $1 $2 $3
264
    $(XX_PRE)$(TOOL_VXP430IMG) $1 $2 $3
265
endef
265
endef
266
 
266
 
-
 
267
################################################################################
-
 
268
#
-
 
269
#    Post Process COFF files into HEX files
-
 
270
#	$1 - coff file (input)
-
 
271
#	$2 - Hex file (output)
-
 
272
#   Generates .hex file
-
 
273
#
-
 
274
define COFF2HEX
-
 
275
    @$(echo) "[$@] Convert COFF to HEX.."
-
 
276
    $(XX_PRE)$(msp430_hex) -i $1 -o $2 -order MS -romwidth 16
-
 
277
endef
267
 
278
 
268
 
279
 
269
#
280
#