Commit Graph

1469 Commits (7b0b9e8f3245deac589668fb83efbe0a8ad1e742)

Author SHA1 Message Date
Rohit Grover c3da630923 attempt at upgrading to v8.0 of the SDK 2015-04-20 10:38:08 +01:00
Brian Daniels 2f4d668382 Renamed Jenkins specific options to general "Build" options 2015-04-17 09:39:26 -05:00
Devan Lai 52f20bfcad [mbed][tests] Add CAN loopback test case
Add test case that configures a MUT for in CAN self-test mode and sends a
series of test messages to verify that it works.
2015-04-16 22:25:57 -07:00
Kevin Gillespie 2044135c19 Adding export support for MAXWSNENV and MAX32600MBED. 2015-04-16 14:04:40 -05:00
Martin Kojtal 29ab478a78 Merge pull request #1032 from toyowata/master
LPC824, SSCI824 - Add GCC_ARM exporter support
2015-04-16 11:35:50 +01:00
Martin Kojtal b675c99d9c Merge pull request #1037 from jeremybrodt/max32600mbed
MAX32600MBED - Adding MAX32600MBED platform.
2015-04-16 11:35:28 +01:00
Martin Kojtal 1b9e8d686f Merge pull request #1031 from julbouln/master
Add SysEx to USBMIDI device
2015-04-16 10:52:50 +01:00
julbouln 8dab8c4751 Added USBMIDI tests + bugfix MIDI OUT 2015-04-14 20:57:56 +02:00
Brian Daniels 5eb4894e71 Added skipped mbed library build reporting and removed unnecessary print 2015-04-14 13:39:29 -05:00
Jeremy Brodt 5ada69b73d [MAX32600MBED] Adding MAX32600MBED platform. 2015-04-14 10:00:23 -05:00
Brian Daniels afb331dcff Fixing arguments 2015-04-13 17:07:42 -05:00
Brian Daniels c71a082d20 Added table styleing 2015-04-13 17:07:40 -05:00
Brian Daniels 01ff0b32b3 Removed comments 2015-04-13 17:07:38 -05:00
Brian Daniels a574e1f27e Broke apart some template stuff, added tests-build report 2015-04-13 17:07:37 -05:00
Brian Daniels cb4e13c1e3 Reorganized test_api.py to build all required libraries (RTOS, Ethernet, etc) for tests up front, before any tests are built 2015-04-13 17:07:21 -05:00
Brian Daniels 4b0926fcdb Added report templates 2015-04-13 17:04:57 -05:00
Brian Daniels 8576f74b3c Changing Jenkins HTML build output 2015-04-13 16:49:25 -05:00
Brian Daniels 1f6b56d060 Moved printing into build_api 2015-04-13 16:49:23 -05:00
Brian Daniels f1c235b1d8 Added Jenkins build reporting option 2015-04-13 16:49:21 -05:00
Brian Daniels dc5fca2e21 added toolchain filter to build_release 2015-04-13 16:49:19 -05:00
Martin Kojtal 7fadd145f9 Merge pull request #1034 from jeremybrodt/copylibrary
Toosl - Add copying of library files.
2015-04-13 17:02:49 +02:00
Jeremy Brodt d65e7bfe3d Added copying of library files. 2015-04-13 09:31:27 -05:00
0xc0170 b8da610a78 Tools - build_release - return 1 if any build fails 2015-04-13 16:13:52 +02:00
Toyomasa Watarai d8049d5832 [LPC824, SSCI824] Add GCC_ARM exporter support
* Correct interrupt vector table for GCC_ARM startup
* Add GCC_ARM build target for SSCI824
* Add GCC_ARM exporter template files
* export_test has been passed
* autometed test has been passed
2015-04-13 17:54:12 +09:00
Brian Daniels e54b32015d Add GCC_CR to LPC824, fixes LPCXpresso exporter 2015-04-10 18:11:16 -05:00
Mihail Stoyanov 06e8a0825b Improve armcc output regex pattern to handle armasm messages 2015-04-09 20:45:43 +03:00
ohagendorf dce050a915 [TARGET_STMF4] reorg hal
some test extensions
2015-04-09 11:21:50 +02:00
ohagendorf 84c48c0f0b [TARGET_STMF4] reorg hal for ARCH_MAX
same changes but for ARCH_MAX as in commit [TARGET_STMF4] reorg hal for
DISCO_F407VG

one bugfix for DISCO_F429 - wrong DAC channel numbers
2015-04-09 11:21:46 +02:00
ohagendorf 879d971289 [TARGET_STMF4] reorg hal for NUCLEO_F401RE
same changes but for NUCLEO_F401RE as in commit [TARGET_STMF4] reorg hal
for DISCO_F407VG
2015-04-09 11:21:46 +02:00
ohagendorf 34cfbedd6c [TARGET_STMF4] reorg hal for DISCO_F429ZI
same changes but for DISCO_F429ZI as in commit [TARGET_STMF4] reorg
hal
for DISCO_F407VG
2015-04-09 11:21:45 +02:00
ohagendorf 22de60432a [TARGET_STMF4] reorg hal for NUCLEO_F411RE
same changes but for NUCLEO_F411RE as in commit [TARGET_STMF4] reorg hal
for DISCO_F407VG
2015-04-09 11:21:45 +02:00
ohagendorf a70bdc5c00 [TARGET_STMF4] reorg hal for DISCO_F407VG
Removing pin configuration from analogin_api, analogout_api and
pwmout_api (hal function, used by every STM32F4 target) to the target
specific files.
2015-04-09 11:21:44 +02:00
Toyomasa Watarai 9fe3632b17 Add LPC11U68 support in Sleep test case
- Add LPC11U68 target in MBED_4 test case
- Add wakeup pin for LPC11U68 target and set PullUp mode
2015-04-09 16:06:53 +09:00
Martin Kojtal 071f4d0e44 Merge pull request #1003 from jeremybrodt/maxwsnenv
Adding MAXWSNENV platform.
2015-04-08 08:31:46 +02:00
0xc0170 331dc0725d Squashed commits from #1002, from Marcomissyou.
Delta target - add RTC, bugfixes in mbed_overrides and pinnames
2015-04-08 08:10:42 +02:00
Jeremy Brodt 3f7718cec4 Adding MAXWSNENV platform. 2015-04-07 13:39:09 -05:00
Martin Kojtal c9927abb78 Merge pull request #1006 from mfiore02/4_1_15_dragonfly_mdot_pullrequest
MTS Dragonfly & mDot - fix for building applications on Windows
2015-04-07 08:27:15 +02:00
Martin Kojtal bcc032ca89 Merge pull request #1010 from ohagendorf/nucleo_f303_rtos_singletest
NUCLEO_F303RE - RTOS singletest
2015-04-07 08:16:52 +02:00
Martin Kojtal 40d3a79298 Merge pull request #985 from rgrover/updateToV7.1.0
fixes #984: updating to v7.1 of the Nordic SDK.
2015-04-07 07:40:29 +02:00
ohagendorf dcd864171d [NUCLEO_F303RE] RTOS singletest
adding RTOS tests for NUCLEO_F303RE in singletest.py
2015-04-03 17:17:17 +02:00
Mike Fiore e8348cffee [MTS_DRAGONFLY_F411RE][MTS_MDOT_F411RE] add explicit seek() call when combining bootloader and application binaries so Windows builds succeed 2015-04-01 15:29:49 -05:00
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
Rohit Grover 79a05aa39c fixes #984: updating to v7.1 of the Nordic SDK.
Re-organized file layout to match that from the SDK.
2015-03-20 14:46:54 +00: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
modtronix-com 4aefd375d5 Changed year to 2015 and other cosmetic changes
Changed year to 2015 and other cosmetic changes, as requested by
0xc0170 for pull request
2015-02-25 14:30:33 +11: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