Commit Graph

1375 Commits (0f00f3a600023aead04693bbfc543578045e8e95)

Author SHA1 Message Date
Martin Kojtal cfb9dd117e Merge pull request #1001 from mfiore02/3_25_15_dragonfly_mdot_pullrequest
Updated hal & cmsis support for MTS Dragonfly and MTS mDot
2015-03-27 15:47:58 +00:00
Mike Fiore 54f4391f79 [mbed][MTS_DRAGONFLY_F411RE][MTS_MDOT_F411RE] update bootloader to revision 53f849fca694138b944a3e4518e63a2881167cff 2015-03-25 11:41:49 -05:00
Mike Fiore a0ebff507b [mbed][MTS_DRAGONFLY_F411RE] update to revision fa5f8ebb7de6af4f06c6b72bf3b2b3d3f22a516e of bootloader 2015-03-25 11:41:30 -05:00
Mike Fiore 52be48dea0 [mbed][MTS_DRAGONFLY_F411RE] remove post-build from Release build - Release doesn't seem to work at all 2015-03-25 11:41:30 -05:00
Mike Fiore 7e3aaa6a6d [mbed][MTS_DRAGONFLY_F411RE] add post-build to Debug build as well as Release for IAR 2015-03-25 11:41:30 -05:00
Mike Fiore 0fc5e2519f [mbed][MTS_DRAGONFLY_F411RE] update bootloader binary build to rev 70b679ac2b8ddd30420eddd695eef91bef5fc1a7 2015-03-25 11:41:30 -05:00
Jesse Gilles 0d98831e4a [MTS_MDOT_F411RE] update with working bootloader.bin 2015-03-25 11:41:30 -05:00
Mike Fiore 28fdf0bb43 [mbed][MTS_DRAGONFLY_F411RE] add post-build script invocation to IAR export template for MTS_DRAGONFLY_F411RE 2015-03-25 11:41:30 -05:00
Mike Fiore 67f660337b [mbed][MTS_DRAGONFLY_F411RE] override default binary name with constant name in IAR export. necessary for post-build script 2015-03-25 11:41:30 -05:00
Jesse Gilles b1c4a63f23 [mbed][MTS_MDOT_F411RE] add debug bootloader.bin 2015-03-25 11:41:30 -05:00
Jesse Gilles 90f6719b62 [mbed][MTS_MDOT_F411RE] preliminary bootloader+app support 2015-03-25 11:41:30 -05:00
Mike Fiore 3b896d6481 [mbed][MTS_DRAGONFLY_F411RE] update bootloader to latest from git revision 80ff13fc47f41e758441af83259755580cae7bfb 2015-03-25 11:41:29 -05:00
Mike Fiore db72429c59 [mbed][MTS_DRAGONFLY_F411RE] update to latest bootloader with full fw upgrade support including CRC32 checksum 2015-03-25 11:41:29 -05:00
Mike Fiore da7c5fbc0f [mbed][MTS_DRAGONFLY_F411RE] use CRC32 instead of MD5 for checksum of binary 2015-03-25 11:41:29 -05:00
Mike Fiore 62121b7fe7 [mbed][MTS_DRAGONFLY_F411RE] append MD5 checksum to combined binary for Dragonfly 2015-03-25 11:41:29 -05:00
Mike Fiore eb3650b4d3 [mbed][MTS_DRAGONFLY_F411RE] realized we only need one bootloader, not one for each toolchain 2015-03-25 11:41:29 -05:00
vinnie rabbit 88f9d7eddf [mbed][MTS_DRAGONFLY_F411RE] added custom linker file for IAR toolchain 2015-03-25 11:41:29 -05:00
Mike Fiore d41ef07d32 add precompiled bootloaders for supported toolchains (based on commit 9de96dce).
add support for automatically generating bootloader+application binary
2015-03-25 11:41:29 -05:00
Mike Fiore 952cc7551b [mbed][MTS_DRAGONFLY_F411RE] update application offset to 64kB 2015-03-25 11:41:29 -05:00
Mike Fiore e5f05b8033 [mbed][MTS_DRAGONFLY_F411RE] preliminary support for dragonfly bootloader.
changed linker files to put application at 32kB offset
added VECT_TAB_OFFSET define in targets.py so application runs properly after jump from bootloader
2015-03-25 11:41:29 -05:00
GustavWi 94e6ba9441 Fixed documentation and pylint messages 2015-03-25 14:43:06 +01:00
Power User 40ccdd5b1f ISSUE #996 Fixed linux paths for IAR exporter 2015-03-25 13:03:50 +01:00
Martin Kojtal 9f429e66eb Merge pull request #986 from PrzemekWirkus/plugin_pooling
Added timeouts (delays) on serial port and mounting point
2015-03-24 08:45:47 +00:00
bcostm 31a3cff74d [NUCLEO_F091RC/F303RE] Fix wrong detect_code field 2015-03-24 08:17:54 +00:00
ohagendorf 55b4a142a5 [NUCLEO_F070RB] exporter for CoIDE
- Added exporter
- Updated workspace_tools/export/README.md
2015-03-21 20:22:09 +01:00
Przemek Wirkus a8de31c4be Added timeouts (delays) on serial port and mounting point accesses in host_test and copy plugins to prevent serial/disk io errors when device remounts USB iface of interface chip 2015-03-20 14:11:20 +00:00
Martin Kojtal ec8dd1d2c2 Merge pull request #972 from bcostm/master
NUCLEO_L073RZ - Add new target
2015-03-20 09:06:37 +00:00
Martin Kojtal 33b8d291c1 Merge pull request #975 from explora26/master
Tools - add gcc/uvision templates for RedBearLab nRF51822.
2015-03-20 08:50:55 +00:00
Martin Kojtal fea8de93d7 Merge pull request #982 from ohagendorf/arch_max_coide
Tools - ARCH_MAX - exporter for CoIDE
2015-03-20 08:38:02 +00:00
Martin Kojtal f9560eaef7 Merge pull request #977 from ohagendorf/NUCLEO_F303RE_coide_gcc_arm_exporter
Tools - NUCLEO_F303RE - exporter for GCC_ARM and CoIDE
2015-03-20 08:37:50 +00:00
ohagendorf bece72c83f [ARCH_MAX] exporter for CoIDE 2015-03-20 01:32:51 +01:00
ohagendorf 3dcdba1636 [NUCLEO_F303RE] exporter for GCC_ARM and CoIDE
Added exporter to GCC_ARM and CoIDE.
2015-03-17 02:13:23 +01:00
explora26 766ed49226 [HRM1017] Fix the incorrect softdevice path. 2015-03-17 00:17:37 +08:00
explora26 d8ce906f54 [export] add gcc/uvision templates for RedBearLab nRF51822. 2015-03-17 00:13:55 +08:00
Martin Kojtal fdc75bf508 Merge pull request #971 from PrzemekWirkus/mcu_filter_for_auto
Added to option --auto handler for -f <mcu> filter switch.
2015-03-16 14:04:25 +00:00
bcostm c33c193dcf [NUCLEO_L073RZ] Update python files and add toolchains template 2015-03-16 14:43:51 +01:00
Przemek Wirkus 35bb258f0a singletest.py version updated to 1.4 2015-03-16 12:56:19 +00:00
Przemek Wirkus cf7f03254a Added to option --auto handler for -f <mcu> filter switch. Now using -f switch
will filter target platforms to test. Use comma to pass more MCU names to
filter.

```
$ singletest.py --auto -j 8 -O --config
MBEDLS: Detecting connected mbed-enabled devices...
MBEDLS: Detected NUCLEO_L053R8, port: COM35, mounted: E:
MBEDLS: Detected KL25Z, port: COM89, mounted: F:
MUTs configuration in auto-detected:
+-------+-------------+---------------+------+-------+
| index | peripherals | mcu           | disk | port  |
+-------+-------------+---------------+------+-------+
| 1     |             | NUCLEO_L053R8 | E:   | COM35 |
| 2     |             | KL25Z         | F:   | COM89 |
+-------+-------------+---------------+------+-------+

Test specification in auto-detected:
+---------------+-----+------+
| mcu           | ARM | uARM |
+---------------+-----+------+
| KL25Z         | Yes | -    |
| NUCLEO_L053R8 | -   | Yes  |
+---------------+-----+------+
```

Building original configuration (no filter):
```
$ singletest.py --auto -j 8 -O
MBEDLS: Detecting connected mbed-enabled devices...
MBEDLS: Detected NUCLEO_L053R8, port: COM35, mounted: E:
MBEDLS: Detected KL25Z, port: COM89, mounted: F:
Building library CMSIS (KL25Z, ARM)
Building library MBED (KL25Z, ARM)
Building project DETECT (KL25Z, ARM)
.
.
.
Building library CMSIS (NUCLEO_L053R8, uARM)
Building library MBED (NUCLEO_L053R8, uARM)
Building project DETECT (NUCLEO_L053R8, uARM)
.
.
.
Completed in 3.68 sec
```

```
$ singletest.py --auto -j 8 -O -f KL25Z --config
MBEDLS: Detecting connected mbed-enabled devices...
MBEDLS: Detected NUCLEO_L053R8, port: COM35, mounted: E:
MBEDLS: Detected KL25Z, port: COM89, mounted: F:
MUTs configuration in auto-detected:
+-------+-------------+-------+------+-------+
| index | peripherals | mcu   | disk | port  |
+-------+-------------+-------+------+-------+
| 2     |             | KL25Z | F:   | COM89 |
+-------+-------------+-------+------+-------+

Test specification in auto-detected:
+-------+-----+
| mcu   | ARM |
+-------+-----+
| KL25Z | Yes |
+-------+-----+
```

Building original configuration (with applied filter):
```
$ singletest.py --auto -j 8 -O -f KL25Z
MBEDLS: Detecting connected mbed-enabled devices...
MBEDLS: Detected NUCLEO_L053R8, port: COM35, mounted: E:
MBEDLS: Detected KL25Z, port: COM89, mounted: F:
Building library CMSIS (KL25Z, ARM)
Building library MBED (KL25Z, ARM)
Building project DETECT (KL25Z, ARM)
.
.
.
Completed in 1.33 sec
```
2015-03-13 15:30:44 +00:00
Przemek Wirkus bf33d5e19e 1. Host test shell plugin bugfix.
Test suite should report IOERR_COPY when shell copy command fails (fixed).
2. Host test shell plugin update
	How you can specify with option -c value 'shell' and copy plugin will detect
	for you your OS and choose between 'cp' (for 'posix') and 'copy' (for
	Windows).
2015-03-12 15:41:46 +00:00
Przemek Wirkus 4c45ed1cb1 Parallel functionality, marge conflicts resolved (v2)
Description
===========

Added thread model for function SingleTest::execute where for each target we
have separate thread.

Added new experimental feature. Currently we are only building in parallel
mbed SDK and libraries with dependencies.
Each MUT is flashed separately, but with this new feature we are able to
flash multiple boards at the same time and get results in parallel.

Test execution time is reduced by n where n is number of MUTs (MUT: mbed under
test).

using --parallel means that:
* separate thread will be spawned to build mbed SDK and dependencies (libraries)
    for each unique target with all declared toolchains.
    E.g:
            Thread(n==1):   LPC1768:        ARM, uARM, GCC_ARM
            Thread(n==2):   K64F:           ARM, GCC_ARM
            Thread(n==3):   NUCLEO_X:       uARM
    .
    .
    .
    Thread(4): for toolchain in NUCLEO_Z[toolchains]
               -> build mbed SDK
                            -> build libs
                             -> build project
                              -> run MUT testrunner
                                    return test results for NUCLEO_Z[toolchain]

Done:
1. Added option --parallel.
2. Decoupled execute function so it can be run in parallel with other execute
    functions.
3. Thread join via Queue, not Thread::Join() to avoid deadlocks or waits for
    particular thread to finish.
4. All builds are in parallel, but because each target and library for each
    toolchain have different directory we do not worry about building in
    parallel and compiler collisions.

Missing:
1. No sync for 'print' (TODO).
2. No sync on test result structures - not needed because we only append to
    them (?).

Experimental --parallel bugfix: self.test_suite_properties_ext dict was not
populated with target name.
2015-03-12 09:55:11 +00:00
Mihail Stoyanov 90b01bb708 Add BOOT and OTA for Seeed Tiny BLE target 2015-03-06 20:31:28 +02:00
Mihail Stoyanov 46e1601852 Added bootloader hex file for all nRF51822 based platforms. Added NRF51822_BOOT and NRF51_DK_BOOT platforms so bootloader is included in the compiled program. This is required for FOTA. 2015-03-06 18:54:14 +02:00
Mihail Stoyanov 27431a156c Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-03-06 18:09:01 +02:00
Martin Kojtal 698c235ba6 Merge pull request #947 from PrzemekWirkus/singletest_force_peripherals
Singletest option -p to force peripherals
2015-03-06 09:06:23 +01:00
GustavWi 2e97c1e997 removed unnecessary libs 2015-03-05 16:13:58 +01:00
GustavWi 03c532f2aa When exporting project to IAR the src files are now structured in folders to give the user a better overview of the project. 2015-03-05 15:58:24 +01:00
Martin Kojtal 9ffb355546 Merge pull request #949 from GustavWi/iar_mbed
IAR support LPC824
2015-03-05 14:05:06 +01:00
GustavWi 451dc53fa5 IAR support LPC824 2015-03-04 13:49:44 +01:00
Martin Kojtal 428d7e001c Merge pull request #941 from GustavWi/iar_mbed
IAR support nrf51 based boards
2015-03-04 10:48:42 +01:00
Przemek Wirkus 50ef6207f0 Added new switch -p to force peripheral in autodetection mode (--auto) 2015-03-04 09:48:39 +00:00