From 88281c839e614b5d75993d777db4fa13ac62b4dd Mon Sep 17 00:00:00 2001 From: Mihail Stoyanov Date: Fri, 20 Feb 2015 04:15:26 +0200 Subject: [PATCH 01/19] Add AnalogIn potentiometer test for A0, A1 as present on the mbed application shield and automate MMA7660 test. Various flags for platforms and tests. --- libraries/tests/mbed/analog_pot/main.cpp | 29 +++++++++++++++++++ libraries/tests/mbed/i2c_TMP102/main.cpp | 3 +- libraries/tests/mbed/i2c_eeprom_line/main.cpp | 3 +- libraries/tests/mbed/i2c_mma7660/main.cpp | 9 ++++-- workspace_tools/targets.py | 1 + workspace_tools/tests.py | 15 +++++++++- 6 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 libraries/tests/mbed/analog_pot/main.cpp diff --git a/libraries/tests/mbed/analog_pot/main.cpp b/libraries/tests/mbed/analog_pot/main.cpp new file mode 100644 index 0000000000..2f64bcbb6e --- /dev/null +++ b/libraries/tests/mbed/analog_pot/main.cpp @@ -0,0 +1,29 @@ +#include "mbed.h" +#include "test_env.h" + +AnalogIn pot1(A0); +AnalogIn pot2(A1); + +#define TEST_ITERATIONS 20 +#define MEASURE_MIN 0.01 + +int main(void) { + MBED_HOSTTEST_TIMEOUT(10); + MBED_HOSTTEST_SELECT(default_auto); + MBED_HOSTTEST_DESCRIPTION(AnalogIn potentiometer test); + MBED_HOSTTEST_START("analog_pot"); + + bool result = false; + float val1, val2; + + for (int i = 0; i < TEST_ITERATIONS; i++) { + val1 = pot1.read(); + val2 = pot2.read(); + + const char *succes_str = val1 > MEASURE_MIN || val2 > MEASURE_MIN ? "[OK]" : "[FAIL]"; + result = result || (val1 > MEASURE_MIN || val2 > MEASURE_MIN); + printf("Pot values %f, %f\r\n", val1, val2); + wait(0.001); + } + MBED_HOSTTEST_RESULT(result); +} diff --git a/libraries/tests/mbed/i2c_TMP102/main.cpp b/libraries/tests/mbed/i2c_TMP102/main.cpp index 067dfb7473..bab8d3b1da 100644 --- a/libraries/tests/mbed/i2c_TMP102/main.cpp +++ b/libraries/tests/mbed/i2c_TMP102/main.cpp @@ -25,7 +25,8 @@ TMP102 temperature(p28, p27, 0x90); defined(TARGET_NUCLEO_F411RE) || \ defined(TARGET_NUCLEO_L053R8) || \ defined(TARGET_NUCLEO_L152RE) || \ - defined(TARGET_LPC824) + defined(TARGET_LPC824) || \ + defined(TARGET_FF_ARDUINO) TMP102 temperature(I2C_SDA, I2C_SCL, 0x90); #else diff --git a/libraries/tests/mbed/i2c_eeprom_line/main.cpp b/libraries/tests/mbed/i2c_eeprom_line/main.cpp index 9e454c5e3d..2d87d3fa94 100644 --- a/libraries/tests/mbed/i2c_eeprom_line/main.cpp +++ b/libraries/tests/mbed/i2c_eeprom_line/main.cpp @@ -69,7 +69,8 @@ I2C i2c(I2C_SDA0, I2C_SCL0); defined(TARGET_NUCLEO_F401RE) || \ defined(TARGET_NUCLEO_F411RE) || \ defined(TARGET_NUCLEO_L053R8) || \ - defined(TARGET_NUCLEO_L152RE) + defined(TARGET_NUCLEO_L152RE) || \ + defined(TARGET_FF_ARDUINO) I2C i2c(I2C_SDA, I2C_SCL); #else diff --git a/libraries/tests/mbed/i2c_mma7660/main.cpp b/libraries/tests/mbed/i2c_mma7660/main.cpp index f6eb2fbb66..54b1687aa9 100644 --- a/libraries/tests/mbed/i2c_mma7660/main.cpp +++ b/libraries/tests/mbed/i2c_mma7660/main.cpp @@ -9,13 +9,18 @@ MMA7660 MMA(p28, p27); #endif int main() { + MBED_HOSTTEST_TIMEOUT(15); + MBED_HOSTTEST_SELECT(default_auto); + MBED_HOSTTEST_DESCRIPTION(I2C MMA7660 accelerometer); + MBED_HOSTTEST_START("MBED_A13"); + if (!MMA.testConnection()) - notify_completion(false); + MBED_HOSTTEST_RESULT(false); for(int i = 0; i < 5; i++) { printf("x: %f, y: %f, z: %f\r\n", MMA.x(), MMA.y(), MMA.z()); wait(0.2); } - notify_completion(true); + MBED_HOSTTEST_RESULT(true); } diff --git a/workspace_tools/targets.py b/workspace_tools/targets.py index da1fce138b..c7bdc52517 100644 --- a/workspace_tools/targets.py +++ b/workspace_tools/targets.py @@ -616,6 +616,7 @@ class ARCH_MAX(Target): self.core = "Cortex-M4F" self.extra_labels = ['STM', 'STM32F4', 'STM32F407', 'STM32F407VG'] self.supported_toolchains = ["ARM", "uARM", "GCC_ARM"] + self.supported_form_factors = ["ARDUINO"] def program_cycle_s(self): return 2 diff --git a/workspace_tools/tests.py b/workspace_tools/tests.py index 9acadfa352..69ac530e83 100644 --- a/workspace_tools/tests.py +++ b/workspace_tools/tests.py @@ -59,6 +59,9 @@ Wiring: * LPC1*: (p17 <-> p18 ) * KL25Z: (PTE30 <-> PTC2) + * analog_pot (AnalogIn): + * Arduino headers: (A0, A1) + * SD (SPI): * LPC1*: (mosi=p11 , miso=p12 , sclk=p13 , cs=p14 ) * KL25Z: (mosi=PTD2, miso=PTD3, sclk=PTD1, cs=PTD0) @@ -72,6 +75,7 @@ Wiring: * i2c_eeprom: * LPC1*: (SDA=p28 , SCL=p27) * KL25Z: (SDA=PTE0, SCL=PTE1) + """ TESTS = [ # Automated MBED tests @@ -165,9 +169,10 @@ TESTS = [ "peripherals": ["SD"] }, { - "id": "MBED_A13", "description": "I2C MMA7660", + "id": "MBED_A13", "description": "I2C MMA7660 accelerometer", "source_dir": join(TEST_DIR, "mbed", "i2c_MMA7660"), "dependencies": [MBED_LIBRARIES, TEST_MBED_LIB, join(PERIPHERALS, 'MMA7660')], + "automated": True, "peripherals": ["MMA7660"] }, { @@ -251,6 +256,14 @@ TESTS = [ "automated": True, "duration": 10, }, + { + "id": "MBED_A26", "description": "AnalogIn potentiometer test", + "source_dir": join(TEST_DIR, "mbed", "analog_pot"), + "dependencies": [MBED_LIBRARIES, TEST_MBED_LIB], + "peripherals": ["analog_pot"], + "automated": True, + "duration": 10, + }, { "id": "MBED_BLINKY", "description": "Blinky", "source_dir": join(TEST_DIR, "mbed", "blinky"), From f0d04f53607bff4ac4f9a556020f99c9b978b2b3 Mon Sep 17 00:00:00 2001 From: Sissors Date: Sun, 22 Feb 2015 13:19:02 +0100 Subject: [PATCH 02/19] [API] Added option to modify RTC source Initially from Karls question here: http://developer.mbed.org/questions/6337/setTime-and-time-exported-with-__weak-fo/#answer6545?compage=1#c15936. Currently the C time functions only work with internal RTC. Sometimes you either want to use an external one, or your target does not even have an internal RTC. I added function attach_rtc(...) where the default functions can be overridden at runtime. --- libraries/mbed/api/rtc_time.h | 9 ++++++ libraries/mbed/common/rtc_time.c | 50 ++++++++++++++++++++++++-------- 2 files changed, 47 insertions(+), 12 deletions(-) diff --git a/libraries/mbed/api/rtc_time.h b/libraries/mbed/api/rtc_time.h index 59ab8fd367..f82f4977df 100644 --- a/libraries/mbed/api/rtc_time.h +++ b/libraries/mbed/api/rtc_time.h @@ -69,6 +69,15 @@ extern "C" { */ void set_time(time_t t); +/** Attach an external RTC to be used for the C time functions + * + * @param read_rtc pointer to function which returns current UNIX timestamp + * @param write_rtc pointer to function which sets current UNIX timestamp, can be NULL + * @param init_rtc pointer to funtion which initializes RTC, can be NULL + * @param isenabled_rtc pointer to function wich returns if the rtc is enabled, can be NULL + */ +void attach_rtc(time_t (*read_rtc)(void), void (*write_rtc)(time_t), void (*init_rtc)(void), int (*isenabled_rtc)(void)); + #ifdef __cplusplus } #endif diff --git a/libraries/mbed/common/rtc_time.c b/libraries/mbed/common/rtc_time.c index 0405e9adc3..d6754c5d80 100644 --- a/libraries/mbed/common/rtc_time.c +++ b/libraries/mbed/common/rtc_time.c @@ -19,6 +19,18 @@ #include "rtc_time.h" #include "us_ticker_api.h" +#if DEVICE_RTC +static void (*_rtc_init)(void) = rtc_init; +static int (*_rtc_isenabled)(void) = rtc_isenabled; +static time_t (*_rtc_read)(void) = rtc_read; +static void (*_rtc_write)(time_t t) = rtc_write; +#else +static void (*_rtc_init)(void) = NULL; +static int (*_rtc_isenabled)(void) = NULL; +static time_t (*_rtc_read)(void) = NULL; +static void (*_rtc_write)(time_t t) = NULL; +#endif + #ifdef __cplusplus extern "C" { #endif @@ -29,15 +41,18 @@ time_t time(time_t *timer) #endif { -#if DEVICE_RTC - if (!(rtc_isenabled())) { - set_time(0); + if (_rtc_isenabled != NULL) { + if (!(_rtc_isenabled())) { + set_time(0); + } + } + + time_t t; + if (_rtc_read != NULL) { + t = _rtc_read(); + } else { + t = 0; } - time_t t = rtc_read(); - -#else - time_t t = 0; -#endif if (timer != NULL) { *timer = t; @@ -46,10 +61,12 @@ time_t time(time_t *timer) } void set_time(time_t t) { -#if DEVICE_RTC - rtc_init(); - rtc_write(t); -#endif + if (_rtc_init != NULL) { + _rtc_init(); + } + if (_rtc_write != NULL) { + _rtc_write(t); + } } clock_t clock() { @@ -58,6 +75,15 @@ clock_t clock() { return t; } +void attach_rtc(time_t (*read_rtc)(void), void (*write_rtc)(time_t), void (*init_rtc)(void), int (*isenabled_rtc)(void)) { + _rtc_read = read_rtc; + _rtc_write = write_rtc; + _rtc_init = init_rtc; + _rtc_isenabled = isenabled_rtc; +} + + + #ifdef __cplusplus } #endif From 4a184d980e8d670adadd2ae4801f2f8a34988002 Mon Sep 17 00:00:00 2001 From: Sissors Date: Sat, 28 Feb 2015 12:21:55 +0100 Subject: [PATCH 03/19] Made attach_rtc with disabled irqs --- libraries/mbed/api/rtc_time.h | 2 ++ libraries/mbed/common/rtc_time.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libraries/mbed/api/rtc_time.h b/libraries/mbed/api/rtc_time.h index f82f4977df..565897366e 100644 --- a/libraries/mbed/api/rtc_time.h +++ b/libraries/mbed/api/rtc_time.h @@ -70,6 +70,8 @@ extern "C" { void set_time(time_t t); /** Attach an external RTC to be used for the C time functions + * + * Do not call this function from an interrupt while an RTC read/write operation may be occurring * * @param read_rtc pointer to function which returns current UNIX timestamp * @param write_rtc pointer to function which sets current UNIX timestamp, can be NULL diff --git a/libraries/mbed/common/rtc_time.c b/libraries/mbed/common/rtc_time.c index d6754c5d80..9822797469 100644 --- a/libraries/mbed/common/rtc_time.c +++ b/libraries/mbed/common/rtc_time.c @@ -47,11 +47,9 @@ time_t time(time_t *timer) } } - time_t t; + time_t t = 0; if (_rtc_read != NULL) { t = _rtc_read(); - } else { - t = 0; } if (timer != NULL) { @@ -76,10 +74,12 @@ clock_t clock() { } void attach_rtc(time_t (*read_rtc)(void), void (*write_rtc)(time_t), void (*init_rtc)(void), int (*isenabled_rtc)(void)) { + __disable_irq(); _rtc_read = read_rtc; _rtc_write = write_rtc; _rtc_init = init_rtc; _rtc_isenabled = isenabled_rtc; + __enable_irq(); } From 6cf9a111e34161c8d9f73287a4c289295aa5dc80 Mon Sep 17 00:00:00 2001 From: GustavWi Date: Mon, 2 Mar 2015 10:38:46 +0100 Subject: [PATCH 04/19] IAR support arch_ble, delta_defcm, hrm1017, nrf51_dk, nrf51_dongle, seed_tiny_ble. --- workspace_tools/build_release.py | 10 +- workspace_tools/export/iar.py | 11 +- workspace_tools/export/iar_arch_ble.ewd.tmpl | 1370 +++++++++++++++++ workspace_tools/export/iar_arch_ble.ewp.tmpl | 960 ++++++++++++ .../export/iar_delta_dfcm_nnn40.ewd.tmpl | 1370 +++++++++++++++++ .../export/iar_delta_dfcm_nnn40.ewp.tmpl | 960 ++++++++++++ workspace_tools/export/iar_hrm1017.ewd.tmpl | 1370 +++++++++++++++++ workspace_tools/export/iar_hrm1017.ewp.tmpl | 960 ++++++++++++ workspace_tools/export/iar_nrf51822.ewp.tmpl | 4 +- workspace_tools/export/iar_nrf51_dk.ewd.tmpl | 1370 +++++++++++++++++ workspace_tools/export/iar_nrf51_dk.ewp.tmpl | 960 ++++++++++++ .../export/iar_nrf51_dongle.ewd.tmpl | 1370 +++++++++++++++++ .../export/iar_nrf51_dongle.ewp.tmpl | 960 ++++++++++++ .../export/iar_seeed_tiny_ble.ewd.tmpl | 1370 +++++++++++++++++ .../export/iar_seeed_tiny_ble.ewp.tmpl | 960 ++++++++++++ workspace_tools/toolchains/__init__.py | 4 +- 16 files changed, 14000 insertions(+), 9 deletions(-) create mode 100644 workspace_tools/export/iar_arch_ble.ewd.tmpl create mode 100644 workspace_tools/export/iar_arch_ble.ewp.tmpl create mode 100644 workspace_tools/export/iar_delta_dfcm_nnn40.ewd.tmpl create mode 100644 workspace_tools/export/iar_delta_dfcm_nnn40.ewp.tmpl create mode 100644 workspace_tools/export/iar_hrm1017.ewd.tmpl create mode 100644 workspace_tools/export/iar_hrm1017.ewp.tmpl create mode 100644 workspace_tools/export/iar_nrf51_dk.ewd.tmpl create mode 100644 workspace_tools/export/iar_nrf51_dk.ewp.tmpl create mode 100644 workspace_tools/export/iar_nrf51_dongle.ewd.tmpl create mode 100644 workspace_tools/export/iar_nrf51_dongle.ewp.tmpl create mode 100644 workspace_tools/export/iar_seeed_tiny_ble.ewd.tmpl create mode 100644 workspace_tools/export/iar_seeed_tiny_ble.ewp.tmpl diff --git a/workspace_tools/build_release.py b/workspace_tools/build_release.py index a9dd056c8a..23e5848ae3 100755 --- a/workspace_tools/build_release.py +++ b/workspace_tools/build_release.py @@ -74,11 +74,11 @@ OFFICIAL_MBED_LIBRARY_BUILD = ( ('ARCH_MAX', ('ARM', 'GCC_ARM')), ('NRF51822', ('ARM', 'GCC_ARM', 'IAR')), - ('NRF51_DK', ('ARM', 'GCC_ARM')), - ('NRF51_DONGLE', ('ARM', 'GCC_ARM')), - ('HRM1017', ('ARM', 'GCC_ARM')), - ('ARCH_BLE', ('ARM', 'GCC_ARM')), - ('SEEED_TINY_BLE', ('ARM', 'GCC_ARM')), + ('NRF51_DK', ('ARM', 'GCC_ARM', 'IAR')), + ('NRF51_DONGLE', ('ARM', 'GCC_ARM', 'IAR')), + ('HRM1017', ('ARM', 'GCC_ARM', 'IAR')), + ('ARCH_BLE', ('ARM', 'GCC_ARM', 'IAR')), + ('SEEED_TINY_BLE', ('ARM', 'GCC_ARM', 'IAR')), ('RBLAB_NRF51822', ('ARM', 'GCC_ARM')), ('RBLAB_BLENANO', ('ARM', 'GCC_ARM')), ('WALLBOT_BLE', ('ARM', 'GCC_ARM')), diff --git a/workspace_tools/export/iar.py b/workspace_tools/export/iar.py index ba96e80746..bc711c4ef4 100644 --- a/workspace_tools/export/iar.py +++ b/workspace_tools/export/iar.py @@ -59,6 +59,12 @@ class IAREmbeddedWorkbench(Exporter): 'MTS_MDOT_F411RE', 'MTS_DRAGONFLY_F411RE', 'NRF51822', + 'NRF51_DK', + 'NRF51_DONGLE', + 'DELTA_DFCM_NNN40', + 'SEEED_TINY_BLE', + 'HRM1017', + 'ARCH_BLE', ] def generate(self): @@ -67,7 +73,9 @@ class IAREmbeddedWorkbench(Exporter): sources += self.resources.c_sources sources += self.resources.cpp_sources sources += self.resources.s_sources - + # binaries = "" + # if resources.bin_files is not None: + # binaries = resources.bin_files ctx = { 'name': self.program_name, 'include_paths': self.resources.inc_dirs, @@ -76,6 +84,7 @@ class IAREmbeddedWorkbench(Exporter): 'libraries': self.resources.libraries, 'symbols': self.get_symbols(), 'source_files': sources, + 'binary_files': self.resources.bin_files, } self.gen_file('iar_%s.ewp.tmpl' % self.target.lower(), ctx, '%s.ewp' % self.program_name) self.gen_file('iar.eww.tmpl', ctx, '%s.eww' % self.program_name) diff --git a/workspace_tools/export/iar_arch_ble.ewd.tmpl b/workspace_tools/export/iar_arch_ble.ewd.tmpl new file mode 100644 index 0000000000..bf2ee4bd14 --- /dev/null +++ b/workspace_tools/export/iar_arch_ble.ewd.tmpl @@ -0,0 +1,1370 @@ + + + + 2 + + Debug + + ARM + + 1 + + C-SPY + 2 + + 26 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ARMSIM_ID + 2 + + 1 + 1 + 1 + + + + + + + + ANGEL_ID + 2 + + 0 + 1 + 1 + + + + + + + + + + + + CMSISDAP_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GDBSERVER_ID + 2 + + 0 + 1 + 1 + + + + + + + + + + + IARROM_ID + 2 + + 1 + 1 + 1 + + + + + + + + + IJET_ID + 2 + + 5 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + JLINK_ID + 2 + + 15 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LMIFTDI_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + MACRAIGOR_ID + 2 + + 3 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + PEMICRO_ID + 2 + + 1 + 1 + 1 + + + + + + + + + + + + + + + + + + + RDI_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + + + + + + STLINK_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + THIRDPARTY_ID + 2 + + 0 + 1 + 1 + + + + + + + + XDS100_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + + + $TOOLKIT_DIR$\plugins\middleware\HCCWare\HCCWare.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\AVIX\AVIX.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\CMX\CmxArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\CMX\CmxTinyArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\MQX\MQXRtosPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\OpenRTOS\OpenRTOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\Quadros\Quadros_EWB7_Plugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\SafeRTOS\SafeRTOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\TI-RTOS\tirtosplugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\uCOS-III\uCOS-III-KA-CSpy.ewplugin + 0 + + + $EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin + 1 + + + $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + 0 + + + $EW_DIR$\common\plugins\SymList\SymList.ENU.ewplugin + 1 + + + $EW_DIR$\common\plugins\uCProbe\uCProbePlugin.ENU.ewplugin + 0 + + + + + + diff --git a/workspace_tools/export/iar_arch_ble.ewp.tmpl b/workspace_tools/export/iar_arch_ble.ewp.tmpl new file mode 100644 index 0000000000..114db792bb --- /dev/null +++ b/workspace_tools/export/iar_arch_ble.ewp.tmpl @@ -0,0 +1,960 @@ + + + + 2 + + Debug + + ARM + + 1 + + General + 3 + + 22 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ICCARM + 2 + + 30 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AARM + 2 + + 9 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBJCOPY + 0 + + 1 + 1 + 1 + + + + + + + + + CUSTOM + 3 + + + + + + + BICOMP + 0 + + + + BUILDACTION + 1 + + + + + + + ILINK + 0 + + 16 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IARCHIVE + 0 + + 0 + 1 + 1 + + + + + + + BILINK + 0 + + + + {% for files in source_files %} + + $PROJ_DIR$\{{files}} + + {% endfor %} + + + diff --git a/workspace_tools/export/iar_delta_dfcm_nnn40.ewd.tmpl b/workspace_tools/export/iar_delta_dfcm_nnn40.ewd.tmpl new file mode 100644 index 0000000000..bf2ee4bd14 --- /dev/null +++ b/workspace_tools/export/iar_delta_dfcm_nnn40.ewd.tmpl @@ -0,0 +1,1370 @@ + + + + 2 + + Debug + + ARM + + 1 + + C-SPY + 2 + + 26 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ARMSIM_ID + 2 + + 1 + 1 + 1 + + + + + + + + ANGEL_ID + 2 + + 0 + 1 + 1 + + + + + + + + + + + + CMSISDAP_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GDBSERVER_ID + 2 + + 0 + 1 + 1 + + + + + + + + + + + IARROM_ID + 2 + + 1 + 1 + 1 + + + + + + + + + IJET_ID + 2 + + 5 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + JLINK_ID + 2 + + 15 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LMIFTDI_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + MACRAIGOR_ID + 2 + + 3 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + PEMICRO_ID + 2 + + 1 + 1 + 1 + + + + + + + + + + + + + + + + + + + RDI_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + + + + + + STLINK_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + THIRDPARTY_ID + 2 + + 0 + 1 + 1 + + + + + + + + XDS100_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + + + $TOOLKIT_DIR$\plugins\middleware\HCCWare\HCCWare.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\AVIX\AVIX.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\CMX\CmxArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\CMX\CmxTinyArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\MQX\MQXRtosPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\OpenRTOS\OpenRTOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\Quadros\Quadros_EWB7_Plugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\SafeRTOS\SafeRTOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\TI-RTOS\tirtosplugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\uCOS-III\uCOS-III-KA-CSpy.ewplugin + 0 + + + $EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin + 1 + + + $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + 0 + + + $EW_DIR$\common\plugins\SymList\SymList.ENU.ewplugin + 1 + + + $EW_DIR$\common\plugins\uCProbe\uCProbePlugin.ENU.ewplugin + 0 + + + + + + diff --git a/workspace_tools/export/iar_delta_dfcm_nnn40.ewp.tmpl b/workspace_tools/export/iar_delta_dfcm_nnn40.ewp.tmpl new file mode 100644 index 0000000000..114db792bb --- /dev/null +++ b/workspace_tools/export/iar_delta_dfcm_nnn40.ewp.tmpl @@ -0,0 +1,960 @@ + + + + 2 + + Debug + + ARM + + 1 + + General + 3 + + 22 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ICCARM + 2 + + 30 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AARM + 2 + + 9 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBJCOPY + 0 + + 1 + 1 + 1 + + + + + + + + + CUSTOM + 3 + + + + + + + BICOMP + 0 + + + + BUILDACTION + 1 + + + + + + + ILINK + 0 + + 16 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IARCHIVE + 0 + + 0 + 1 + 1 + + + + + + + BILINK + 0 + + + + {% for files in source_files %} + + $PROJ_DIR$\{{files}} + + {% endfor %} + + + diff --git a/workspace_tools/export/iar_hrm1017.ewd.tmpl b/workspace_tools/export/iar_hrm1017.ewd.tmpl new file mode 100644 index 0000000000..bf2ee4bd14 --- /dev/null +++ b/workspace_tools/export/iar_hrm1017.ewd.tmpl @@ -0,0 +1,1370 @@ + + + + 2 + + Debug + + ARM + + 1 + + C-SPY + 2 + + 26 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ARMSIM_ID + 2 + + 1 + 1 + 1 + + + + + + + + ANGEL_ID + 2 + + 0 + 1 + 1 + + + + + + + + + + + + CMSISDAP_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GDBSERVER_ID + 2 + + 0 + 1 + 1 + + + + + + + + + + + IARROM_ID + 2 + + 1 + 1 + 1 + + + + + + + + + IJET_ID + 2 + + 5 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + JLINK_ID + 2 + + 15 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LMIFTDI_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + MACRAIGOR_ID + 2 + + 3 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + PEMICRO_ID + 2 + + 1 + 1 + 1 + + + + + + + + + + + + + + + + + + + RDI_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + + + + + + STLINK_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + THIRDPARTY_ID + 2 + + 0 + 1 + 1 + + + + + + + + XDS100_ID + 2 + + 2 + 1 + 1 + + + + + + + + + + + + + $TOOLKIT_DIR$\plugins\middleware\HCCWare\HCCWare.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\AVIX\AVIX.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\CMX\CmxArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\CMX\CmxTinyArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\MQX\MQXRtosPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\OpenRTOS\OpenRTOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\Quadros\Quadros_EWB7_Plugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\SafeRTOS\SafeRTOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\TI-RTOS\tirtosplugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\uCOS-III\uCOS-III-KA-CSpy.ewplugin + 0 + + + $EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin + 1 + + + $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + 0 + + + $EW_DIR$\common\plugins\SymList\SymList.ENU.ewplugin + 1 + + + $EW_DIR$\common\plugins\uCProbe\uCProbePlugin.ENU.ewplugin + 0 + + + + + + diff --git a/workspace_tools/export/iar_hrm1017.ewp.tmpl b/workspace_tools/export/iar_hrm1017.ewp.tmpl new file mode 100644 index 0000000000..114db792bb --- /dev/null +++ b/workspace_tools/export/iar_hrm1017.ewp.tmpl @@ -0,0 +1,960 @@ + + + + 2 + + Debug + + ARM + + 1 + + General + 3 + + 22 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ICCARM + 2 + + 30 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AARM + 2 + + 9 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBJCOPY + 0 + + 1 + 1 + 1 + + + + + + + + + CUSTOM + 3 + + + + + + + BICOMP + 0 + + + + BUILDACTION + 1 + + + + + + + ILINK + 0 + + 16 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IARCHIVE + 0 + + 0 + 1 + 1 + + + + + + + BILINK + 0 + + + + {% for files in source_files %} + + $PROJ_DIR$\{{files}} + + {% endfor %} + + + diff --git a/workspace_tools/export/iar_nrf51822.ewp.tmpl b/workspace_tools/export/iar_nrf51822.ewp.tmpl index 223ea68d2c..114db792bb 100644 --- a/workspace_tools/export/iar_nrf51822.ewp.tmpl +++ b/workspace_tools/export/iar_nrf51822.ewp.tmpl @@ -659,7 +659,9 @@