mbed-os/tools/export/gcc_arm_nrf51_microbit.tmpl

15 lines
439 B
Cheetah

{% extends "gcc_arm_common.tmpl" %}
{% block additional_variables %}
SOFTDEVICE = mbed/TARGET_NRF51_MICROBIT/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_8_0_0/s110_nrf51822_8.0.0_softdevice.hex
{% endblock %}
{% block additional_executables %}
SREC_CAT = srec_cat
{% endblock %}
{% block additional_targets %}
merge:
$(SREC_CAT) $(SOFTDEVICE) -intel $(PROJECT).hex -intel -o combined.hex -intel --line-length=44
{% endblock %}