summaryrefslogtreecommitdiffstats
path: root/make/custom/helas403.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/helas403.cfg')
-rw-r--r--make/custom/helas403.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/custom/helas403.cfg b/make/custom/helas403.cfg
index 02758eaa23..e1c4fa93f7 100644
--- a/make/custom/helas403.cfg
+++ b/make/custom/helas403.cfg
@@ -60,6 +60,7 @@ define make-exe
--defsym __fini=0 --defsym __init=0 \
-o $@ -u atexit -u __vectors -u download_entry \
$(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
+ $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
@@ -67,6 +68,7 @@ else
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
$(LINK_OBJS) $(LINK_LIBS)
+ $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef