Subversion Repositories DevTools

Rev

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

Rev 5709 Rev 5726
Line 378... Line 378...
378
    cat $1.ed $2.ed >$1   ;\
378
    cat $1.ed $2.ed >$1   ;\
379
    rm $1.ed $2.ed
379
    rm $1.ed $2.ed
380
endef
380
endef
381
 
381
 
382
#
382
#
-
 
383
#	Generate SREC file
-
 
384
#	Not used by all versions of IAR
-
 
385
#	Args:	$1	Path to the out file (input)
-
 
386
#			$2  Path to the SREC file (output)
-
 
387
#
-
 
388
define GENERATE_SREC
-
 
389
    $(XX_PRE) $(echo) "[$@]Generate SREC .." ;\
-
 
390
    rm -f $2;\
-
 
391
    $(avr_iar_elftool) --srec --verbose $1 $2
-
 
392
endef
-
 
393
 
-
 
394
#
383
#   Generate SXML file
395
#   Generate SXML file
384
#   Args:   $1  Path to the S19 file
396
#   Args:   $1  Path to the S19 file
385
#           $2  Path to the SXML file (output)
397
#           $2  Path to the SXML file (output)
386
#           $3  Payload Type
398
#           $3  Payload Type
387
#           $4  Major version
399
#           $4  Major version