mbed-os/workspace_tools/export/gcc_arm_lpc4088.tmpl

11 lines
467 B
Cheetah
Raw Normal View History

{% extends "gcc_arm_common.tmpl" %}
2013-10-31 12:28:05 +00:00
{% block flags %}
CPU = -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp
CC_FLAGS = $(CPU) -c -g -fno-common -fmessage-length=0 -Wall -fno-exceptions -ffunction-sections -fdata-sections
2013-10-31 12:28:05 +00:00
CC_SYMBOLS = {% for s in symbols %}-D{{s}} {% endfor %}
LD_FLAGS = -mcpu=cortex-m4 -mthumb -Wl,--gc-sections --specs=nano.specs -u _printf_float -u _scanf_float
2013-10-31 12:28:05 +00:00
LD_SYS_LIBS = -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys
{% endblock %}