diff --git a/targets/targets.json b/targets/targets.json index caaf1bc8e4..f38aec97fd 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -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, diff --git a/tools/export/iar/__init__.py b/tools/export/iar/__init__.py index 0b207f0310..0fdd74564b 100644 --- a/tools/export/iar/__init__.py +++ b/tools/export/iar/__init__.py @@ -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 = { diff --git a/tools/project_api.py b/tools/project_api.py index 57bb1d10a0..d735b36ec9 100644 --- a/tools/project_api.py +++ b/tools/project_api.py @@ -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)