Development mbed library for MAX32630FTHR
Dependents: blinky_max32630fthr
Diff: tools/export/makefile/make-gcc-arm.tmpl
- Revision:
- 0:5c4d7b2438d3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/export/makefile/make-gcc-arm.tmpl Fri Nov 11 20:59:50 2016 +0000 @@ -0,0 +1,15 @@ +{% extends "makefile/Makefile.tmpl" %} + +{% block sys_libs %} +{% for lib in ["-lstdc++", "-lsupc++", "-lm", "-lc", "-lgcc", "-lnosys"] -%} +LD_SYS_LIBS += {{lib}} +{% endfor %} +{%- endblock %} + +{% block elf2bin %} + $(ELF2BIN) -O binary $< $@ +{%- endblock %} + +{% block elf2hex %} + $(ELF2BIN) -O ihex $< $@ +{%- endblock %}