Minor formatting changes

pull/2708/head
Sarah Marsh 2016-10-04 19:34:52 -05:00
parent 51b13c3ca7
commit e8b34282cb
3 changed files with 7 additions and 23 deletions

View File

@ -1719,14 +1719,6 @@
"device_has": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPI_ASYNCH", "STDIO_MESSAGES"],
"release_versions": ["2", "5"]
},
"MAX32620HSP": {
"inherits": ["Target"],
"core": "Cortex-M4F",
"extra_labels": ["Maxim", "MAX32620"],
"supported_toolchains": ["GCC_ARM", "IAR", "ARM"],
"device_has": ["ANALOGIN", "ERROR_PATTERN", "I2C", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "SPI_ASYNCH", "STDIO_MESSAGES"],
"release_versions": ["2", "5"]
},
"EFM32GG_STK3700": {
"inherits": ["Target"],
"core": "Cortex-M3",
@ -1903,7 +1895,9 @@
"program_cycle_s": 6,
"features": ["BLE"],
"config": {
"lf_clock_src": {"value": "NRF_LF_SRC_XTAL", "macro_name": "MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC"},
"lf_clock_src": {
"value": "NRF_LF_SRC_XTAL",
"macro_name": "MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC"},
"uart_hwfc": {
"help": "Value: 1 for enable, 0 for disable",
"value": 1,
@ -1957,7 +1951,9 @@
"MERGE_BOOTLOADER": false,
"features": ["BLE"],
"config": {
"lf_clock_src": {"value": "NRF_LF_SRC_XTAL", "macro_name": "MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC"},
"lf_clock_src": {
"value": "NRF_LF_SRC_XTAL",
"macro_name": "MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC"},
"uart_hwfc": {
"help": "Value: 1 for enable, 0 for disable",
"value": 1,

View File

@ -101,6 +101,7 @@ class IAR(Exporter):
flags['c_flags'].remove('--vla')
if '--no_static_destruction' in flags['c_flags']:
flags['c_flags'].remove('--no_static_destruction')
#Optimizations
if '-Oh' in flags['c_flags']:
flags['c_flags'].remove('-Oh')
ctx = {

View File

@ -177,19 +177,6 @@ def export_project(src_paths, export_path, target, ide,
paths = [src_paths]
# Extend src_paths wit libraries_paths
if libraries_paths is not None:
paths.extend(libraries_paths)