-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
Description
Makefile template might require adding a user extensions. For instance, there might be additional commands added like merging hex files.
If you look for instance at mbed extensions for their makefiles, you find there
{% block additional_variables %}
SOFTDEVICE = mbed/TARGET_NRF51822/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_7_0_0/s110_nrf51822_7.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 %}