Subversion Repositories DevTools

Rev

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

Rev 5741 Rev 5757
Line 383... Line 383...
383
#
383
#
384
#	Generate SREC file
384
#	Generate SREC file
385
#	Not used by all versions of IAR
385
#	Not used by all versions of IAR
386
#	Args:	$1	Path to the out file (input)
386
#	Args:	$1	Path to the out file (input)
387
#			$2  Path to the SREC file (output)
387
#			$2  Path to the SREC file (output)
-
 
388
# 			$3  Additional Args
388
#
389
#
389
define GENERATE_SREC
390
define GENERATE_SREC
390
    $(XX_PRE) $(echo) "[$@]Generate SREC .." ;\
391
    $(XX_PRE) $(echo) "[$@]Generate SREC .." ;\
391
    rm -f $2;\
392
    rm -f $2;\
392
    "$(avr_iar_elftool)" --srec --verbose $1 $2
393
    "$(avr_iar_elftool)" --srec --verbose $3 $1 $2 
393
endef
394
endef
394
 
395
 
395
#
396
#
396
#   Generate SXML file
397
#   Generate SXML file
397
#   Args:   $1  Path to the S19 file
398
#   Args:   $1  Path to the S19 file