Commit Graph

1365 Commits (67f660337bb734a3e77548dd892e0f4720bc4956)

Author SHA1 Message Date
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
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
GustavWi 6cf9a111e3 IAR support arch_ble, delta_defcm, hrm1017, nrf51_dk, nrf51_dongle, seed_tiny_ble. 2015-03-02 10:38:46 +01:00
Martin Kojtal 43d7f387ec Merge pull request #933 from masaohamanaka/master
RZ/A1H - Modify to support GCC and Fix some bugs of driver.
2015-02-27 10:55:20 +01:00
Martin Kojtal 8895e91be3 Merge pull request #929 from PrzemekWirkus/mbed_assert_3
Test suite - mbed assert detection
2015-02-26 08:53:35 +00:00
Masao Hamanaka 6fc2d2ab43 Correct the formatting. 2015-02-26 17:02:24 +09:00
Masao Hamanaka 901b06f05b Modify to support GCC. (tools files) 2015-02-26 16:28:58 +09:00
Przemek Wirkus dfa9599ded Added mbed assertion detection
Test suite will detect mbed assertion print and end test execution with MBED_ASSERT error
2015-02-24 13:46:45 +00:00
Martin Kojtal 4e403f8715 Merge pull request #924 from GustavWi/iar_mbed
Fix #910 - debug file with predefined hardware debug settings
2015-02-24 11:18:55 +00:00
GustavWi 5c5bf71e1d Issue #910. Added debug file with predefined hardware debug settings. When user exports to IAR the project has all the necessary settings so the user can immediately flash the program 2015-02-20 15:59:16 +01:00
Mihail Stoyanov 88281c839e Add AnalogIn potentiometer test for A0, A1 as present on the mbed application shield and automate MMA7660 test.
Various flags for platforms and tests.
2015-02-20 04:15:26 +02:00
Mihail Stoyanov 0d4c158505 A minor routine to take care of parasite symbols that may be left over in the serial read buffer. This happens when a program output wasn't terminated with new line. This also does not affect the test results. 2015-02-20 02:30:01 +02:00