mirror of https://github.com/ARMmbed/mbed-os.git
Added exporting support
parent
7b02d5396c
commit
0b195e8594
|
@ -1536,6 +1536,7 @@
|
|||
"TY51822R3": {
|
||||
"inherits": ["MCU_NRF51_32K_UNIFIED"],
|
||||
"macros_add": ["TARGET_NRF_32MHZ_XTAL"],
|
||||
"progen": {"target": "ty51822r3"},
|
||||
"device_has": ["ANALOGIN", "ERROR_PATTERN", "I2C", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SLEEP", "SPI", "SPI_ASYNCH", "SPISLAVE"],
|
||||
"detect_code": ["1019"],
|
||||
"release_versions": ["2", "5"]
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
{% extends "gcc_arm_common.tmpl" %}
|
||||
|
||||
{% block target_all %}
|
||||
all: $(PROJECT).bin $(PROJECT)-combined.hex size
|
||||
{% endblock %}
|
||||
|
||||
{% block additional_variables %}
|
||||
SOFTDEVICE = {% for f in hex_files %}{{f}} {% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% block additional_executables %}
|
||||
SREC_CAT = srec_cat
|
||||
{% endblock %}
|
||||
|
||||
{% block additional_targets %}
|
||||
$(PROJECT)-combined.hex: $(PROJECT).hex
|
||||
$(SREC_CAT) $(SOFTDEVICE) -intel $(PROJECT).hex -intel -o $(PROJECT)-combined.hex -intel --line-length=44
|
||||
{% endblock %}
|
|
@ -58,6 +58,7 @@ class GccArm(Exporter):
|
|||
'ARCH_PRO',
|
||||
'NRF51822',
|
||||
'HRM1017',
|
||||
'TY51822R3',
|
||||
'RBLAB_NRF51822',
|
||||
'RBLAB_BLENANO',
|
||||
'LPC2368',
|
||||
|
|
Loading…
Reference in New Issue