2014-06-21 14:56:02 +00:00
|
|
|
{% extends "gcc_arm_common.tmpl" %}
|
2013-10-31 12:28:05 +00:00
|
|
|
|
2014-06-21 14:56:02 +00:00
|
|
|
{% block flags %}
|
2014-03-21 12:16:52 +00:00
|
|
|
CPU = -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp
|
2014-06-21 14:56:02 +00:00
|
|
|
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 %}
|
|
|
|
|
2014-06-21 14:56:02 +00:00
|
|
|
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
|
2014-06-21 14:56:02 +00:00
|
|
|
{% endblock %}
|