mirror of https://github.com/ARMmbed/mbed-os.git
Added exporting support
parent
7b02d5396c
commit
0b195e8594
|
@ -1536,6 +1536,7 @@
|
||||||
"TY51822R3": {
|
"TY51822R3": {
|
||||||
"inherits": ["MCU_NRF51_32K_UNIFIED"],
|
"inherits": ["MCU_NRF51_32K_UNIFIED"],
|
||||||
"macros_add": ["TARGET_NRF_32MHZ_XTAL"],
|
"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"],
|
"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"],
|
"detect_code": ["1019"],
|
||||||
"release_versions": ["2", "5"]
|
"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',
|
'ARCH_PRO',
|
||||||
'NRF51822',
|
'NRF51822',
|
||||||
'HRM1017',
|
'HRM1017',
|
||||||
|
'TY51822R3',
|
||||||
'RBLAB_NRF51822',
|
'RBLAB_NRF51822',
|
||||||
'RBLAB_BLENANO',
|
'RBLAB_BLENANO',
|
||||||
'LPC2368',
|
'LPC2368',
|
||||||
|
|
Loading…
Reference in New Issue