Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: export/gcc_arm_nrf51_dk.tmpl
- Revision:
- 29:1210849dba19
- Parent:
- 0:66f3b5499f7f
--- a/export/gcc_arm_nrf51_dk.tmpl Mon Aug 29 10:55:42 2016 +0100
+++ b/export/gcc_arm_nrf51_dk.tmpl Mon Aug 29 11:18:36 2016 +0100
@@ -1,7 +1,11 @@
{% extends "gcc_arm_common.tmpl" %}
+{% block target_all %}
+all: $(PROJECT).bin $(PROJECT)-combined.hex size
+{% endblock %}
+
{% block additional_variables %}
-SOFTDEVICE = mbed/TARGET_NRF51_DK/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_7_1_0/s110_nrf51822_7.1.0_softdevice.hex
+SOFTDEVICE = {% for f in hex_files %}{{f}} {% endfor %}
{% endblock %}
{% block additional_executables %}
@@ -9,6 +13,6 @@
{% endblock %}
{% block additional_targets %}
-merge:
- $(SREC_CAT) $(SOFTDEVICE) -intel $(PROJECT).hex -intel -o combined.hex -intel --line-length=44
+$(PROJECT)-combined.hex: $(PROJECT).hex
+ $(SREC_CAT) $(SOFTDEVICE) -intel $(PROJECT).hex -intel -o $(PROJECT)-combined.hex -intel --line-length=44
{% endblock %}