Commit Graph

1890 Commits (3f788e6606b531abe3a3ece3e8fff29ccc83f70d)

Author SHA1 Message Date
Christian Taedcke 4d2c443b1d [GCC_ARM][EXPORTER] ARCH_MAX and ARCH_PRO use the template. 2015-06-17 21:05:23 +02:00
Christian Taedcke d00777d542 Add ARCH_MAX and ARCH_PRO to exporter test. 2015-06-17 21:05:23 +02:00
Christian Taedcke 70a6d59ea8 [GCC_ARM][EXPORTER] Remove a few empty lines from the generated Makefile 2015-06-17 21:05:23 +02:00
Christian Taedcke da22953a7f [GCC_ARM][EXPORTER] Use template for ARCH_BLE. 2015-06-17 21:05:23 +02:00
Christian Taedcke 8fee8f7bbb Add ARCH_BLE to gcc arm exporter test. 2015-06-17 21:05:22 +02:00
Christian Taedcke 82eee58eb8 [GCC_ARM][EXPORTER] Set different LDFLAGS for all cortex m0(+). 2015-06-17 21:05:22 +02:00
Christian Taedcke 4cdfbc7065 [GCC_ARM][EXPORTER] Use the cpu flags from the toolchain. 2015-06-17 21:05:22 +02:00
Christian Taedcke e96a25a755 Use gcc common template for lpc1549. 2015-06-17 21:05:22 +02:00
Christian Taedcke 432264759a Define blocks for some common makefile variables. 2015-06-17 21:05:22 +02:00
Christian Taedcke 143c3e6d28 Use CPU in LDFLAGS, too 2015-06-17 21:03:19 +02:00
Christian Taedcke 629e321123 Create a common gcc_arm export template.
Four exporters are using this template for now.
2015-06-17 21:03:19 +02:00
Martin Kojtal 0ce53a7cf8 Merge pull request #1175 from bridadan/serial-nc-test
Added tests that ensure correct handling of setting Serial pins to NC
2015-06-17 09:04:39 +01:00
Sam Grove 501340ce8b Update targets.py
Use ARM by default for mdot, not uARM
2015-06-16 10:42:40 -05:00
Martin Kojtal be8c754522 Merge pull request #1183 from screamerbg/master
Renamed the APPNEARME_MICRONFCBOARD target to MICRONFCBOARD
2015-06-16 10:51:25 +02:00
Martin Kojtal 1ac6ed5171 Merge pull request #1172 from modtronix-com/master
Moved target folder, renamed target to NZ32SC151
2015-06-16 08:37:22 +02:00
Martin Kojtal 1dba261867 Merge pull request #1184 from sarahmarshy/mbedrpc_python_update
Changed the way RPC commands are sent over HTTP, spaces must be URL e…
2015-06-16 08:27:30 +02:00
sarahmarshy 8f33cfd27c Changed the way RPC commands are sent over HTTP, spaces must be URL encoded. 2015-06-15 11:19:48 -05:00
Mihail Stoyanov 5275f77056 Renamed the APPNEARME_MICRONFCBOARD target to MICRONFCBOARD due to mbed website name length limitation 2015-06-15 17:20:13 +03:00
0xc0170 bf69fa1cfc Squashed PR #1170:
commit c4bf11cb6a
Merge: 0d58363 77a973c
Author: Mihail Stoyanov <wm@smode.org>
Date:   Mon Jun 15 14:41:28 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

    Conflicts:
    	workspace_tools/targets.py

commit 0d58363887
Author: Mihail Stoyanov <wm@smode.org>
Date:   Tue Jun 9 16:17:27 2015 +0300

    Added Nordic license for the soft device

commit d504a3b58a
Merge: 2c5aab7 8902229
Author: Mihail Stoyanov <wm@smode.org>
Date:   Tue Jun 9 16:14:47 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

commit 2c5aab74eb
Author: Mihail Stoyanov <wm@smode.org>
Date:   Wed Jun 3 20:44:25 2015 +0300

    Add base MCU support for Cortex-M4. Tidy up targets.py

commit 59b868a517
Merge: 0e23067 927c31a
Author: Mihail Stoyanov <wm@smode.org>
Date:   Wed Jun 3 20:39:56 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

commit 0e23067718
Author: Mihail Stoyanov <wm@smode.org>
Date:   Tue Jun 2 16:08:08 2015 +0300

    Add the Delta NNN40 platform to releases

commit 62a585dcda
Merge: e1cd545 7a1d25e
Author: Mihail Stoyanov <wm@smode.org>
Date:   Tue Jun 2 16:06:44 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

    Conflicts:
    	workspace_tools/tests.py

commit e1cd545a9c
Merge: 5c5e61f ffd5586
Author: Mihail Stoyanov <wm@smode.org>
Date:   Thu May 7 13:07:48 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

commit 5c5e61f0ac
Author: Mihail Stoyanov <wm@smode.org>
Date:   Thu May 7 13:07:35 2015 +0300

    Remove the Disco L053 from RTOS tests as it's not ready yet

commit e75efe3467
Author: Mihail Stoyanov <wm@smode.org>
Date:   Wed May 6 13:49:05 2015 +0300

    Tidy up targets.py
2015-06-15 14:11:41 +02:00
Brian Daniels 0ca1389d95 Handling empty strings better 2015-06-12 12:34:38 -05:00
Brian Daniels f2ea9c51c7 Added tests that ensure correct handling of setting Serial pins to NC 2015-06-10 11:04:05 -05:00
0xc0170 6b2cd339ee PR #1171 - Squashed commit of the following:
commit 5b65ac9848f232b37ccf57b3cea3c8abd8788eb8
Merge: 4778e33 167456e
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Jun 10 13:18:07 2015 +0100

    Merge branch 'master' of https://github.com/toyowata/mbed into toyowata-master

commit 167456ebda
Author: Toyomasa Watarai <toyomasa.watarai@gmail.com>
Date:   Wed Jun 10 11:22:47 2015 +0900

    Change target name not use low cases

    Rev.101 mbed library support WIZnet platfrom.  However, we got build
    error as below by online compiler:

    Target “WIZWIKI_W7500” is not recognized

    This is because target name contained low cases (e.g. WIZwiki_W7500).
    The target name should be all upper case.

commit b988a534a5
Merge: f74cbe0 a140fc6
Author: Toyomasa Watarai <toyomasa.watarai@gmail.com>
Date:   Wed Jun 10 11:10:37 2015 +0900

    Merge remote-tracking branch 'upstream/master'

commit f74cbe0d80
Author: Toyomasa Watarai <toyomasa.watarai@gmail.com>
Date:   Wed Jun 10 11:07:02 2015 +0900

    Revert RTC test script change

    As a result of discussion here:
    https://github.com/mbedmicro/mbed/pull/1154

commit a4923ffaab
Author: Toyomasa Watarai <toyomasa.watarai@gmail.com>
Date:   Thu Jun 4 00:17:06 2015 +0900

    [TEST] Add MCU list in RTC automated test

    * Add "mcu" key with lists of RTC support targets (#define DEVICE_RTC 1
    in device.h), now MBED_16 test is not executed by non-RTC targets
2015-06-10 13:18:34 +01:00
modtronix-com d314c4a586 Moved target folder as discussed with 0xc0170, renamed target to NZ32SC151
Moved target from ../targets/cmsis/TARGET_STM folder to
../targets/cmsis/TARGET_STM/TARGET_STM32L1 folder as discussed with
0xc0170 (github.com/mbedmicro/mbed/pull/928). Renamed target from
NZ32ST1L to NZ32SC151. Details for board at
www.modtronix.com/nz32-sc151.html
2015-06-10 14:37:19 +10:00
dbestm 9ed5710ac1 Revert "Revert "[NUCLEO_F030R8][NUCLEO_F070RB] add RTOS test""
This reverts commit 4d91eaa3d9.
2015-06-09 10:53:20 +02:00
dbestm 4d91eaa3d9 Revert "[NUCLEO_F030R8][NUCLEO_F070RB] add RTOS test"
This reverts commit 9f3fb198c2.
2015-06-09 10:51:35 +02:00
dbestm 9f3fb198c2 [NUCLEO_F030R8][NUCLEO_F070RB] add RTOS test 2015-06-09 10:41:33 +02:00
Brian Daniels 0d2effd024 Add option to consolidate waterfall loops into one test case in test report. Useful for CI. 2015-06-08 14:51:13 -05:00
Brian Daniels f7fad72e44 Fixed runtime error when test fails due to build failure and outputting test report file 2015-06-08 12:45:30 -05:00
Brian Daniels 0afe1e8059 Added platform filter to build_release.py 2015-06-08 10:26:39 -05:00
Martin Kojtal 4e503efe2e Merge pull request #1163 from 0xc0170/release_targets
Build release - AppNearMe target addition, fixes for 2 Silabs target (no ARM)
2015-06-08 16:08:31 +01:00
sg- 27aa980588 add targets to release 2015-06-08 14:42:12 +01:00
0xc0170 d4e4f7ce4b Build release - AppNearMe target addition, fixes for 2 Silabs target (no ARM) 2015-06-08 13:42:39 +01:00
Martin Kojtal bae47ec370 Merge pull request #1162 from dbestm/master
NUCLEO_F103RB, NUCLEO_L152RE -  RTOS test enhancement
2015-06-08 13:30:06 +01:00
Christian Taedcke cc66b95709 Copy missing files to be able to compile export_test projects. 2015-06-05 19:41:11 +02:00
dbestm 1975889b37 [NUCLEO_F103RB] add RTOS test in script 2015-06-04 17:41:05 +02:00
Martin Kojtal 927c31ab84 Merge pull request #1121 from Wiznet/master
Add WIZwiki-W7500
2015-06-03 08:54:53 +01:00
Martin Kojtal e775613c6b Merge pull request #1127 from bridadan/wfiTest
Added tests for the WFI instruction
2015-06-03 08:44:34 +01:00
Martin Kojtal acd04f16be Merge pull request #1151 from toyowata/master
SSCI824 - Add rtos build
2015-06-03 08:39:01 +01:00
Martin Kojtal 0aaa14b6a6 Merge pull request #1145 from bcostm/master
DISCO_F334C8 - Add uVision and IAR exporters
2015-06-03 08:38:03 +01:00
Toyomasa Watarai 56e43df1c7 [SSCI824] Add rtos
- Add rtos TARGET_SSCI824 (same as LPC824) and test
- Fixed warning of pwmout_api.c by GCC_ARM
2015-06-03 16:13:06 +09:00
0xc0170 4b93618af6 Squashed commit of the following (#1149 PR on github):
commit 4810979575d8feccff1d6dc75ab24e3753c4e0f0
Merge: 83c82b0 0e23067
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Wed Jun 3 08:06:14 2015 +0100

    Merge branch 'master' of https://github.com/screamerbg/mbed into screamerbg-master

commit 0e23067718
Author: Mihail Stoyanov <wm@smode.org>
Date:   Tue Jun 2 16:08:08 2015 +0300

    Add the Delta NNN40 platform to releases

commit 62a585dcda
Merge: e1cd545 7a1d25e
Author: Mihail Stoyanov <wm@smode.org>
Date:   Tue Jun 2 16:06:44 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

    Conflicts:
    	workspace_tools/tests.py

commit e1cd545a9c
Merge: 5c5e61f ffd5586
Author: Mihail Stoyanov <wm@smode.org>
Date:   Thu May 7 13:07:48 2015 +0300

    Merge branch 'master' of https://github.com/mbedmicro/mbed

commit 5c5e61f0ac
Author: Mihail Stoyanov <wm@smode.org>
Date:   Thu May 7 13:07:35 2015 +0300

    Remove the Disco L053 from RTOS tests as it's not ready yet

commit e75efe3467
Author: Mihail Stoyanov <wm@smode.org>
Date:   Wed May 6 13:49:05 2015 +0300

    Tidy up targets.py
2015-06-03 08:07:32 +01:00
hjjeon0608 4d977799b6 Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-06-02 08:58:50 +09:00
Brian Daniels a417bc4114 Added host test info 2015-06-01 12:16:37 -05:00
Brian Daniels 17335f4935 Fixed syntax error 2015-06-01 12:09:35 -05:00
bcostm f1040bdd04 [DISCO_F334C8] Add uVision and IAR exporters 2015-06-01 12:18:02 +02:00
Martin Kojtal 6f7f37eec7 Merge pull request #1118 from logost/LPC2460
Introduction of new platform LPC2460 MCU
2015-06-01 10:52:03 +01:00
Martin Kojtal 7ab478cf5c Merge pull request #1110 from ohagendorf/nucleo_f446
Nucleo_F446RE - adding target
2015-06-01 10:27:07 +01:00
Tim 3f1cca6382 Update nRF51822 softdevice to s130 in GCC export sciprt
The main source code has removed the s110 softdevice in favour of s130. This fixes the GCC ARM export template.
2015-05-29 08:27:23 +01:00
Przemek Wirkus 03c6151241 Fixed missing enum in exporter 2015-05-27 15:43:01 +01:00
Przemek Wirkus 30fc9ca372 BugFix: Fixed JUNIT ioper test suite reporter which reported all test cases for each TestSuite 2015-05-27 15:42:02 +01:00
Przemek Wirkus 7b0b9e8f32 Added JUNIT exporters to compliance testing functionality 2015-05-27 15:41:58 +01:00
Przemek Wirkus a82ffbe904 Added raw result object to future exporter implementation 2015-05-27 15:40:30 +01:00
Przemek Wirkus 56e05e2a28 Refactored tests related to mbed file system (MSD storage) 2015-05-27 15:40:26 +01:00
Przemek Wirkus 70a21e9656 Refactored interoperability tests, added separate classes of tests and CLI 2015-05-27 15:40:22 +01:00
Przemek Wirkus e8297ea7d2 Added few tests for TargetID formating 2015-05-27 15:40:18 +01:00
Przemek Wirkus c403d6fac0 First implementation of i/face chip interoperability tests 2015-05-27 15:40:13 +01:00
hjjeon0608 ccd7e79d8c Add WIZwiki_W7500 in build_release.py 2015-05-27 17:38:27 +09:00
Brian Daniels 12a708f8b5 Fixed return status of test 2015-05-26 10:24:44 -05:00
Olaf Hagendorf 8b73e9093b [NUCLEO_F446RE] adding to RTOS lib
RTOS_1 .. RTOS_8 tests are OK
2015-05-23 19:10:53 +02:00
ohagendorf 455b417b8f [NUCLEO_F446RE] create new target - part 2
Update system_stm32f4xx to new version, generated by STM32CubeMX
Add target name to digital_loop test
Update coide export template
2015-05-23 19:03:12 +02:00
ohagendorf 8edb20bed6 [NUCLEO_F446RE] create the new target
Create the new target - mbed_blinky is runnning
2015-05-23 19:03:11 +02:00
sarahmarshy 5df10cce37 Consolidated code with some generic inheritance. Changed the way rpc interfaces are called. Eliminated platform specific pin names. 2015-05-22 16:26:08 -05:00
Brian Daniels 1cb4afc60b Returns IO_FAIL when inital output is incorrect instead of IO_SERIAL 2015-05-22 10:16:05 -05:00
hjjeon0608 1c9cbdbf35 Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-05-22 08:05:04 +09:00
hjjeon0608 5fb844ce87 Change startup code for toolchain ARM
Add possible toolchain ARM at targets.py
2015-05-22 08:04:37 +09:00
Brian Daniels 0551f6e8b9 Added tests for the WFI instruction 2015-05-21 15:17:17 -05:00
0xc0170 f5eeaa09c6 Merge branch 'master' of https://github.com/modtronix-com/mbed into modtronix-com-master
Conflicts:
	libraries/rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h
	libraries/rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c
	workspace_tools/export/coide.py
	workspace_tools/export/gccarm.py
	workspace_tools/export/uvision4.py
2015-05-21 09:53:12 +01:00
hjjeon0608 9c329b9357 Remove analogout_api.c
Remove toolchain ARM at targets.py
2015-05-20 10:50:45 +09:00
Martin Kojtal d2cab9778f Merge pull request #1094 from PrzemekWirkus/devel_add_multiple_same_targets
Tools: Added support for testing of multiple targets of the same type (board type)
2015-05-19 08:55:07 +02:00
Dmitry Bogdanov 8122f63861 add Travis build target for LPC2460 2015-05-18 20:34:53 +04:00
bcostm c33e013276 [DISCO_F334C8] Add ARM, uARM and IAR toolchains.
Compilation and basic tests are OK.
2015-05-18 16:19:33 +02:00
Dmitry Bogdanov 8ab2a95618 make some tests compilable 2015-05-18 13:31:10 +04:00
hjjeon0608 c452befc0a Delete json files 2015-05-18 09:32:49 +09:00
ohagendorf 40eb4e2ebc [utils.py] windows problem
The last change, additional tests if comand is existing, doesn't work
under Windows because commands are tested only without extensions but
under Windows this is not successful.
2015-05-16 12:18:30 +02:00
hjjeon0608 2f751039fc add some files 2015-05-15 11:28:46 +09:00
Kevin Gillespie abbded72a8 Updating Keil export templates to have flash algorithm. 2015-05-14 11:10:48 -05:00
Martin Kojtal 31db62f4e9 Merge pull request #1095 from Pithikos/hotfix
Fixes for premature error checking
2015-05-14 07:44:46 +02:00
Martin Kojtal b788b13841 Merge pull request #1105 from 0xc0170/dev_asynch_unit_tests
Asynch Unit tests (Serial, SPI, I2C, low power ticker)
2015-05-14 07:32:49 +02:00
Toyomasa Watarai 014c5f46f5 [RTOS] Add Nucleo STM32L152RE platform
* Add RTOS support for Nucleo STM32L152RE
* Add RTOS tests for the target
* Add RTOS build for build travis
2015-05-14 13:05:57 +09:00
0xc0170 686b99672f Asynch Unit tests (Serial, SPI, I2C, low power ticker)
Peripheral unit tests require target pins definitions. I included K64F there as
a show case, although currently k64f does not support asynch methods.
2015-05-13 14:26:26 +02:00
0xc0170 3ee5f8640d mbed lib revision - 99
build release - 2 platforms addition - disco l053c8 and maxwsnenv
2015-05-13 10:29:04 +02:00
Dmitry Bogdanov dbbacdcbaf remove ARM toolchain as not supported for LPC2460 2015-05-08 20:58:38 +04:00
Dmitry Bogdanov e673c3cea8 revert changes in workspace_tools/export_test.py 2015-05-08 20:54:40 +04:00
Dmitry Bogdanov cba8ef5dab revert change in workspace_tools/settings.py 2015-05-08 20:46:42 +04:00
Steven Cooreman 8fe49d550d Kit ID update for Happy Gecko 2015-05-07 11:04:42 -05:00
pithikos 6c3cb2c4e1 Small refactoring
Use os.path.abspath for creating absolute path
from given command. This assures that it works
the same on all OSes.
2015-05-07 15:36:48 +01:00
pithikos 62a10cee03 cmd validation added for both relpaths and abspaths
cmd validation is run before executing a command. The validation
assures that the command resolves to a file that is executable. This
2015-05-07 15:06:57 +01:00
Steven Cooreman 8d783f9acf Workaround for SS not taking into account linker ordering 2015-05-06 15:51:25 -05:00
pithikos f9e30bbb39 Fixed falsely giving error for egg modules
False error was being given for egg modules that
have not been unzipped but were able to import.
Now __import__ is used for those cases as a last
check.
2015-05-06 16:53:17 +01:00
Przemek Wirkus 65bae00f61 Bugfix: copy plugin assumed always that all commands like cp, copy, xcopy are
shell command. In fact copy and xcopy are shell commands under Windows and 'cp'
is always a separate app. not shell command e.g. in Windows.
2015-05-06 16:31:59 +01:00
pithikos ecc0e32440 Checking if path exists before running command
There was no path checking before running a command
resulting in a waste of time trying to find the
issue. This was amplified by the fact that no mention
of where the error occurs was made, and neither
which path that the error was raised for.
2015-05-06 15:20:21 +01:00
Przemek Wirkus abee10eee8 Fixed KeyError in access to background-color map 2015-05-06 13:42:38 +01:00
Steven Cooreman 74f1dc1cb6 Update exporter to optimize for size
Set a few flags to reduce code size
2015-05-05 15:40:42 -05:00
stevew817 e06fc12165 Merge pull request #1 from mbedmicro/master
Bring mbed up to date
2015-05-05 12:38:58 -05:00
Dmitry Bogdanov 4653da3604 Merge remote-tracking branch 'origin/master' into LPC2460
Conflicts:
	libraries/USBDevice/USBDevice/USBEndpoints.h
	workspace_tools/export_test.py
2015-05-05 21:35:21 +04:00
Steven Cooreman 9c79869f8a Add the no-rtti compilation flag required for linking with precompiled libmbed. 2015-05-05 12:27:09 -05:00
Dmitry Bogdanov e14a853216 CMSIS and RTOS are both compalible separately now, remove ARM and GCC_CR toolchain as not compatible 2015-05-05 17:37:54 +04:00
Martin Kojtal d50b62d49f Merge pull request #1078 from screamerbg/master
Tests: mbed app shield test for the SPI display and improve the armcc regex support to support armsm output
2015-05-04 08:30:55 +01:00
Martin Kojtal 8dc5e44da0 Merge pull request #1087 from PrzemekWirkus/bugfix_test_build_results
Tools: bugfix - singletest.py was not reporting test case build failure
2015-05-04 08:24:53 +01:00
Przemek Wirkus f410b86b05 Updated app version to 1.5 - Biggest change: added support for multiple devices
of the same type.
2015-05-03 02:34:39 +01:00
Przemek Wirkus cc6be1a16e Added support for multiple targets of the same type (hardware platfrom) 2015-05-03 02:32:04 +01:00
Przemek Wirkus 9a720be3d4 Small improvements to reporting build failures 2015-05-02 23:08:00 +01:00
Przemek Wirkus 373e8c40c0 Fixed test build failure, now BUILD_FAILURE is one of possible results.
Added build report after build completion.

Fixed result from execute() capture when result is NoneType value
2015-04-30 19:39:30 +01:00
Martin Kojtal 3b811aedb1 Merge pull request #1084 from rgrover/s130
S130 v1.0 from Nordic. This brings in a lot of BLE4.1 functionality
2015-04-30 12:56:54 +01:00
0xc0170 bdaddafd92 Squashed commit (pull request #1072)
commit 8e9e89f5d7
Author: bcostm <bco.stm@gmail.com>
Date:   Tue Apr 28 17:12:52 2015 +0200

    [STM32L0] Change back AHBPresc table name

commit 6433521fc1
Author: bcostm <bco.stm@gmail.com>
Date:   Fri Apr 24 10:34:41 2015 +0200

    [STM32_L0] hal improvements

    - pins settings
    - check STM32Cube HAL_Init return value

commit 7b6a5eadc6
Author: bcostm <bco.stm@gmail.com>
Date:   Fri Apr 24 10:32:12 2015 +0200

    [NUCLEO_L073RZ] Improvements (same as NUCLEO_L053R8)

commit 0a7f6d2bea
Author: bcostm <bco.stm@gmail.com>
Date:   Fri Apr 24 10:30:44 2015 +0200

    [NUCLEO_L053R8] Improvements

    - Add new macro for pins setting (same as NUCLEO_F4)
    - Fix issue with constant tables

commit 1f72ffe2fe
Author: bcostm <bco.stm@gmail.com>
Date:   Fri Apr 24 10:26:55 2015 +0200

    [DISCO_L053C8] Alignment with NUCLEO_L0, add IAR compilation + exporter

commit ed2d7dcbe1
Author: bcostm <bco.stm@gmail.com>
Date:   Fri Mar 20 11:10:03 2015 +0100

    [NUCLEO_F091RC/F303RE] Fix wrong detect_code field
2015-04-30 11:57:14 +01:00
Martin Kojtal 334b3418df Merge pull request #1059 from devanlai/can-loopback-wip
Implement some CAN modes for the LPC1549/LPC11Cxx/LPC1768
2015-04-30 09:03:12 +01:00
Rohit Grover b8c6aba46a Update to v1.0 of Nordic's S130 production release.
This brings in BLE4.1 functionality. It will take some time for BLE_API to expand to cover available functionality.
2015-04-29 10:42:49 +01:00
Steven Cooreman 35a4ba5c4e * Silence bunch of compiler warnings on Silicon Labs platforms
* Remove "ARM" as compiler for Silicon Labs' CM0 platforms
* Define LED3 and LED4 on Silicon Labs platforms
2015-04-27 19:31:00 -07:00
Steven Cooreman 298db047c1 Add in Silicon Labs targets 2015-04-27 11:11:02 -07:00
Martin Kojtal c961f2de99 Merge pull request #1066 from smeshlink/master
Add target XBED_LPC1768
2015-04-27 09:41:42 +01:00
Martin Kojtal 7c21ce5110 Merge pull request #1065 from rnestler/use_python2
workspace_tools: Use python2 in shebang
2015-04-24 08:06:43 +01:00
Mihail Stoyanov c9324b7c0f Added C12832 LCD display library and SPI C12832 test. 2015-04-23 19:33:13 +03:00
Mihail Stoyanov 13f4fc7254 Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-04-23 17:52:14 +03:00
longshine d043f7f4e5 Added target XBED_LPC1768 2015-04-23 19:51:30 +08:00
0xc0170 809d8aa82b Squashed commit of the following (PR #1023):
commit 5390a0eb7fc28dda30993602652350fd0ad87df0
Merge: 7c4831f 3998966
Author: 0xc0170 <c0170@rocketmail.com>
Date:   Thu Apr 23 08:48:31 2015 +0100

    Merge branch 'master' of https://github.com/dudmuck/mbed into dudmuck-master

    Conflicts:
    	workspace_tools/export/uvision4.py

commit 3998966b1b
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Thu Apr 9 13:45:09 2015 -0700

    using defines for platform specific requirement

commit 755c5d9b07
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Wed Apr 8 14:59:47 2015 -0700

    added device ID for MOTE_L152RC

commit d812fb0002
Merge: 6ad66e8 158cbeb
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Wed Apr 8 07:25:23 2015 -0700

    Merge remote-tracking branch 'upstream/master'

commit 6ad66e89d8
Merge: 14a1807 cfb9dd1
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Fri Mar 27 15:54:03 2015 -0700

    merged upstream

commit 14a18078ca
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Tue Mar 24 10:01:02 2015 -0700

    RTC subSeconds at 16384Hz

commit 32d75d04c1
Merge: bc84c03 ea01d61
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Tue Mar 24 09:59:43 2015 -0700

    Merge remote-tracking branch 'upstream/master'

commit bc84c03a37
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Mon Mar 16 16:26:18 2015 -0700

    handle HSE-PLL enabled upone deepsleep wakeup

commit 11bfe693b9
Merge: b7cec55 fdc75bf
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Mon Mar 16 14:37:11 2015 -0700

    Merge remote-tracking branch 'upstream/master'

commit b7cec55d08
Merge: c5b61f5 4b74c54
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Mon Mar 9 13:15:56 2015 -0700

    syncd with upstream

commit c5b61f5c1d
Merge: c16a115 9d2fd3e
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Tue Mar 3 14:05:54 2015 -0800

    syncd with upstream

commit c16a115e18
Merge: 51efd61 1b2a621
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Tue Feb 24 09:48:55 2015 -0800

    Merge remote-tracking branch 'upstream/master'

commit 51efd619f1
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Tue Feb 24 09:48:22 2015 -0800

    MOTE_L152RC

commit a122226e46
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Tue Feb 24 09:46:08 2015 -0800

    renamed SEMTECH_LORA915 to MOTE_L152RC

commit 88fcf53069
Merge: 3e291c1 8648ff5
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Mon Feb 23 08:11:48 2015 -0800

    Merge remote-tracking branch 'upstream/master'

commit 3e291c1cce
Merge: a59aefc c9e93d2
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Tue Feb 17 19:04:04 2015 -0800

    Merge remote-tracking branch 'upstream/master'

    syncing my fork with master

commit a59aefc6ed
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Tue Feb 17 18:46:27 2015 -0800

    added SEMTECH_LORA915 to python scripts

commit 15b1989b69
Author: U-owner-PC\owner <Wayne Roberts>
Date:   Tue Feb 17 18:42:13 2015 -0800

    added platform SEMTECH_LORA915
2015-04-23 08:55:29 +01:00
rnestler ddd3e8859f workspace_tools: Use python2 in shebang
The scripts are not python3 compatible so we should explicitly call
python2.
2015-04-23 00:23:19 +02:00
Martin Kojtal 289b8064e0 Merge pull request #1040 from bridadan/ci
Continuous Integration Features
2015-04-21 08:54:42 +01:00
Martin Kojtal fe39f1a838 Merge pull request #1060 from xiongyihui/master
Arch Max - fix LSI clock value for Arch Max (STM32F407)
2015-04-21 08:45:37 +01:00
Yihui Xiong bae48d52ed fix LSI clock value for Arch Max (STM32F407) 2015-04-21 15:08:39 +08:00
ytsuboi 3b5bda9aa4 [LPC1114] Add GCC_CR to official mbed library build 2015-04-21 01:35:11 +09:00
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
modtronix-com fa26ed2e0e Added NZ32ST1L Target
Added NZ32ST1L Target, new board from modtronix.com using STM32L151RC
cpu.
2015-02-24 18:08:39 +11: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
Mihail Stoyanov f130a80755 When linking program define the output name based on the OUTPUT_EXT before processing linking the file. This let's any hooks to use the final output file/name.
Omit the dot before the extension for OUTPUT_EXT (all Nordic and Teensy boards);
2015-02-19 18:08:02 +02:00
Mihail Stoyanov ca4aaa2dde Removed colorama dependency. This breaks the online build system, the live exported and prevents deployment of new platforms. Rewrite the code so colors are optional and no additional modules are required for toolchains and platforms 2015-02-19 17:09:07 +02:00
Mihail Stoyanov 014b0f1ca6 Change the output extension/format for Teensy 3.1 to HEX 2015-02-19 16:46:52 +02:00
Przemek Wirkus 78cc959f50 In response to: IOTSFW-325
1. Removed globaly initialized data inside class test() function
2. Removed global variables initialization dependency. Any cause some Python
   implementations and configurations to fail in runtime
3. Added info about Echo port #7 rationale.
4. Testsed with K64F and network tests:

Test summary:
+--------+--------+---------+----------------------------+--------------------+
| Result | Target | Test ID | Test Description           | Elapsed Time (sec) |
+--------+--------+---------+----------------------------+--------------------+
| OK     | K64F   | NET_1   | TCP client hello world     |        3.26        |
| OK     | K64F   | NET_13  | TCP client echo loop       |        2.05        |
| OK     | K64F   | NET_2   | NIST Internet Time Service |        3.43        |
| OK     | K64F   | NET_3   | TCP echo server            |        1.54        |
| OK     | K64F   | NET_4   | TCP echo client            |        1.54        |
| OK     | K64F   | NET_5   | UDP echo server            |        1.46        |
| OK     | K64F   | NET_6   | UDP echo client            |        1.6         |
| OK     | K64F   | NET_7   | HTTP client hello world    |        3.4         |
| OK     | K64F   | NET_8   | NTP client                 |        2.39        |
+--------+--------+---------+----------------------------+--------------------+
Result: 9 OK

Completed in 122.18 sec
2015-02-19 11:36:44 +00:00
Przemek Wirkus 4d5b8776d4 Bugfix for IOTSFW-345:
Adde missing check for optional auto_detect parameter in CLI options.

Test procedure:

* Check with mbed-ls installed:

$ singletest.py --auto -j 8
MBEDLS: Detecting connected mbed-enabled devices...
MBEDLS: Detected K64F, port: COM61, mounted: E:
Building library CMSIS (K64F, ARM)
Copy: startup_MK64F12.o
Copy: sys.o
Copy: cmsis_nvic.o
Copy: system_MK64F12.o

* Uninstall mbed-ls iools:

$ pip uninstall mbed-ls
Uninstalling mbed-ls:
  c:\python27\lib\site-packages\mbed_ls-0.1.4-py2.7.egg
  c:\python27\scripts\mbedls-script.py
  c:\python27\scripts\mbedls.exe
  c:\python27\scripts\mbedls.exe.manifest
Proceed (y/n)? y
  Successfully uninstalled mbed-ls

$ mbedls
'mbedls' is not recognized as an internal or external command,
operable program or batch file.

$ python
Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import mbed_lstools
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named mbed_lstools

* Check singletest.py work flow without mbed-ls:

$ singletest.py -i test_spec.json -M muts_all.json
Building library CMSIS (K64F, ARM)
Building library MBED (K64F, ARM)
Building project DETECT (K64F, ARM)
TargetTest::K64F::ARM::DTCT_1::Simple detect test [OK] in 0.50 of 10 sec
Building project DEV_NULL (K64F, ARM)
TargetTest::K64F::ARM::EXAMPLE_1::/dev/null [OK] in 3.49 of 20 sec
Building project HELLO (K64F, ARM)
TargetTest::K64F::ARM::MBED_10::Hello World [OK] in 0.38 of 5 sec
Building project TICKER (K64F, ARM)
TargetTest::K64F::ARM::MBED_11::Ticker Int [OK] in 11.35 of 15 sec
2015-02-19 11:16:45 +00:00
Martin Kojtal 697101564d Merge pull request #912 from Timmmm/patch-1
Fix export_test.py extra_symbols issue.
2015-02-19 10:02:30 +00:00
Przemek Wirkus 7596acd726 Fixed RTC host test (0 sec scenario):
Boolean value used to calclate single RTC test PASS / FAIL was not used to
calculate overall result.

==== ISSUE ====
The test suite treats the RTC test as successful, but test itself reports
failures. Which one is correct – does it fail or does it pass? See below:

HOST: Run test...
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 4.02 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.03 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL

{{success}}
{{end}}
Test::Output::Finish
TargetTest::ARM_MPS2_M4::ARM::MBED_16::RTC [OK] in 30.37 of 40 sec

==== FIX ====

HOST: Run test...
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 0.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL
MBED: [0] [1970-01-01 00:00:00 AM]
HOST: [0] [1970-01-01 00:00:00 AM] received time +0 sec after 1.04 sec... FAIL

{{failure}}
{{end}}
2015-02-18 10:19:58 +00:00
Martin Kojtal c9e93d21e3 Merge pull request #918 from dinau/fixed_gcc_makefile_template
Tools - GCC_ARM Makefile Fixed parallel build errro and others.
2015-02-17 14:36:33 +00:00
Przemek Wirkus 0fe5f5f674 Increased initial timeout for each host test so we can be sure binary will be
flashed completely and we can proceed with target reset.

Before fix:
====
Test summary:
+---------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
| Result  | Target | Toolchain | Test ID | Test Description           | Elapsed Time (sec) | Timeout (sec) | Loops |
+---------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
| OK      | K64F   | ARM       | NET_1   | TCP client hello world     |        3.37        |       20      |  1/1  |
| OK      | K64F   | ARM       | NET_13  | TCP client echo loop       |        2.06        |       20      |  1/1  |
| OK      | K64F   | ARM       | NET_2   | NIST Internet Time Service |        2.41        |       20      |  1/1  |
| TIMEOUT | K64F   | ARM       | NET_3   | TCP echo server            |       10.21        |       10      |  0/1  |
| TIMEOUT | K64F   | ARM       | NET_4   | TCP echo client            |       10.21        |       10      |  0/1  |
| TIMEOUT | K64F   | ARM       | NET_5   | UDP echo server            |       10.21        |       10      |  0/1  |
| TIMEOUT | K64F   | ARM       | NET_6   | UDP echo client            |       10.21        |       10      |  0/1  |
| OK      | K64F   | ARM       | NET_7   | HTTP client hello world    |        6.46        |       15      |  1/1  |
| TIMEOUT | K64F   | ARM       | NET_8   | NTP client                 |       10.21        |       10      |  0/1  |
+---------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
Result: 4 OK / 5 TIMEOUT
Completed in 116.32 sec

After fix:
====
Test summary:
+--------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
| Result | Target | Toolchain | Test ID | Test Description           | Elapsed Time (sec) | Timeout (sec) | Loops |
+--------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
| OK     | K64F   | ARM       | NET_1   | TCP client hello world     |        3.32        |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_13  | TCP client echo loop       |        2.06        |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_2   | NIST Internet Time Service |        2.4         |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_3   | TCP echo server            |        1.54        |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_4   | TCP echo client            |        1.54        |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_5   | UDP echo server            |        1.47        |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_6   | UDP echo client            |        1.6         |       20      |  1/1  |
| OK     | K64F   | ARM       | NET_7   | HTTP client hello world    |        6.46        |       15      |  1/1  |
| OK     | K64F   | ARM       | NET_8   | NTP client                 |        2.4         |       15      |  1/1  |
+--------+--------+-----------+---------+----------------------------+--------------------+---------------+-------+
Result: 9 OK
Completed in 125.06 sec
2015-02-17 11:22:45 +00:00
Mihail Stoyanov 0e4e1dd9f0 Changed Arch Max default program cycle timer to 2 seconds 2015-02-16 21:57:56 +02:00
dinau a6679e80a5 [Export][GCC_ARM][Makefile][tmpl] Fixed parallel build errro and others.
* Additional maintenance.
  Refer to commit  #708 .
2015-02-16 20:43:42 +09:00
Martin Kojtal c9e7f409af Merge pull request #900 from PrzemekWirkus/host_test_autodetection
Host test autodetection improvements
2015-02-16 09:37:56 +00:00
Martin Kojtal b5fbcc75aa Merge pull request #914 from NitinBhaskar/master
LPC11U68 build support extended to ARM toolchain, uvision export template added
2015-02-16 08:33:41 +00:00
Martin Kojtal 8dce46b543 Merge pull request #915 from BlackstoneEngineering/exporterUpdate2
Update to Offline Exporters
2015-02-15 11:06:07 +00:00
Mihail Stoyanov 37c0558f48 Default ide value for zip export mode 2015-02-13 22:19:30 +02:00
Austin Blackstone 9a6d8a9193 added updated .hgignore file to exporters, the file is simply copied in from the .hgignore file int he export directory, this way the file itself can be updated in the future, not the script 2015-02-13 20:02:04 +00:00
Mihail Stoyanov 4585f8aa11 Add simple ZIP exporter for the mbed Online IDE 2015-02-13 22:01:24 +02:00
Austin Blackstone 3bf5f94744 changed name from readme.html to GettingStarted.htm, changed web address from developer.mbed.org to mbed.org 2015-02-13 17:43:48 +00:00
nitin.bhaskar.27.09@gmail.com ed7e114d66 LPC11U68 build support extended to ARM toolchain, uvision export template added 2015-02-13 21:02:16 +05:30
Tim 6d5ae65e7e Fix export_test.py extra_symbols issue.
Apparently the export() function takes an extra_symbols parameter that wasn't being passed, causing runtime errors. This fixes it.
2015-02-13 13:51:40 +00:00
Martin Kojtal fba1390241 Merge pull request #891 from AppNearMe/master
Add support for LPC11U34_421 and AppNearMe's MicroNFCBoard
2015-02-12 14:30:08 +00:00
Martin Kojtal e5c1f78292 Merge pull request #907 from Ferdas/patch-1
Update gcc_arm_nrf51_dk.tmpl
2015-02-12 12:41:22 +00:00
0xc0170 40ae087628 Travis - NRF51822 addition 2015-02-12 10:33:06 +00:00
Ferdas 7c60dad9f0 Update gcc_arm_nrf51_dk.tmpl
Changed the SoftDevice path according to the directory structure
2015-02-12 00:19:46 +01:00
Donatien Garnier eeba514435 Added extra linker scripts 2015-02-11 16:18:56 +00:00
Przemek Wirkus f2f0f51d16 Added colorama to toolchain notification function and basic test suite prompts 2015-02-10 23:38:01 +00:00
Przemek Wirkus cff6bc44ea Added coloram module import
Minor code indents
2015-02-10 22:41:39 +00:00
Przemek Wirkus 7ca2cab346 Removed extra dependency to TEST_LIB - GCC_ARM linking bug fix 2015-02-10 22:19:17 +00:00
Przemek Wirkus 2882c4e961 Fixed bug in --config and --auto switches 2015-02-10 21:50:56 +00:00
Przemek Wirkus 8910d95ae6 Fixed bug in --tc switch 2015-02-10 21:29:11 +00:00
Przemek Wirkus f38a53ba21 Added new switch --auto to force autodetection with mbed_lstools
Added switch --tc to force certain toolchains.

Switch --auto and -tc works well with switch --config so do not hesitate to
check your configuration before running your test suite.
2015-02-10 21:19:01 +00:00
Mihail Stoyanov be04314419 Add Cortex-M7 and Cortex-M1 symbols 2015-02-10 18:32:44 +02:00
Mihail Stoyanov 3b55949e72 Add Cortex-M1 for ARM_MPS2 platform 2015-02-10 18:04:41 +02:00
Mihail Stoyanov 0153593207 Add Cortex-M1, Cortex-M7, Cortex-M7F target support for CORE_LABELS 2015-02-10 17:58:39 +02:00
Mihail Stoyanov 351ad1864c ARM MPS2 target support for the build system. 2015-02-10 17:55:14 +02:00
Mihail Stoyanov 7fdc827b50 Add Cortex-M7F support for the armcc toolchain 2015-02-10 17:50:11 +02:00
Przemek Wirkus 35c034c911 Added timeout detection from aut-detection MUT printout
Timeout is captured by application supervising host_test and duration is modiffied

Added functionality preventing MUT printouts to reset device's timeout value or script execution timer counter
2015-02-10 09:15:46 +00:00
0xc0170 408837f212 Merge branch 'stm32f0xx_reorg_hal' of https://github.com/ohagendorf/mbed into ohagendorf-stm32f0xx_reorg_hal
Conflicts:
	libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F070RB/gpio_object.h
2015-02-09 09:26:51 +00:00
Martin Kojtal b36cbfe9f0 Merge pull request #894 from lindvalla/fix_lpc4088DM_target
Fix target issues for TARGET_LPC4088_DM
2015-02-09 09:10:08 +00:00
Anders Lindvall dcc53f4bda Fixed target issues for TARGET_LPC4088_DM
- Removed target alias from the EXPORT_MAP in targets.py as it didn't work
- Added copies of the LPC4088 target exporters
- Fixed flag issue in the gcc toolchain
- Changed defines in eth USBDevice, rpt and rtos to handle
  TARGET_LPC4088_DM
2015-02-08 11:56:39 +01:00
Yihui Xiong cb35cab5a4 replace target name 'ble_smurfs' with 'seeed_tiny_ble' 2015-02-07 10:14:26 +08:00
Donatien Garnier 662d5a5d41 Added support for NXP LPC11U34_421 and AppNearMe MicroNFCBoard 2015-02-06 18:33:38 +00:00
Martin Kojtal f41e6b5ac1 Merge pull request #883 from GustavWi/iar_mbed
Added IAR support for NRF51822. IAR's linker can not merge hex files
2015-02-05 13:39:38 +00:00
GustavWi aab9677cda trivial correction 2015-02-04 13:58:40 +01:00
GustavWi 61d1204e05 Added IAR support for NRF51822. IAR's linker can not merge hex files as a section only binarys. I added a binary under TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_IAR that represents the soft_device. I added support in the python scripts to also copy binaries to the build/mbed dir and also added support for the exporter to copy binaries from resources into the exported zip file. 2015-02-04 11:29:31 +01:00
Martin Kojtal c8f933ba07 Merge pull request #878 from mazgch/master
UBLOX_C029 - new target based on STM32F439
2015-02-04 09:19:31 +00:00
0xc0170 134a67aab2 mbed header file - mbed lib revision - 93 2015-02-03 15:24:20 +00:00
Anders Lindvall 252d7c8da1 Merge pull request #1 from mbedmicro/master
Add support for EA LPC4088_DM
2015-02-03 12:13:03 +01:00
Martin Kojtal 9f80c90477 Merge pull request #866 from Marcomissyou/master
Add a new target DELTA_DFCM_NNN40
2015-02-02 07:25:54 +00:00
mazgch e140fd1e45 add more toolchains 2015-02-01 16:54:57 +01:00
mazgch f7b083a0b9 added new C029 target with STM32F439ZI 2015-02-01 16:38:06 +01:00
Przemek Wirkus f40ec7a294 Added autodetection fior tests including MMA8451Q accelerometer 2015-01-30 13:51:41 +00:00
Przemek Wirkus 34b55c81eb Simple indent inside Python module init 2015-01-30 10:35:58 +00:00
Przemek Wirkus 035714e409 Added NET_4, NET_6 and NET_13 tests to autodetection pool 2015-01-30 09:57:36 +00:00
Przemek Wirkus bcfbc3575d Added -f (filter) to configuration switch --config
We can now use --config -f <mcu> to filter only targets we are interested in
2015-01-30 08:38:15 +00:00
Marcomissyou f2a04daeaa remove self.supported_toolchains description 2015-01-30 15:39:11 +08:00
Marcomissyou 69a98d743f correct filename uvision4_delta_dfcm_nnn40.uvproj.tmpl and uvision4_delta_dfcm_nnn40.uvopt.tmpl 2015-01-30 15:34:24 +08:00
Marcomissyou 1b4c6f8a7f add target NNN40 in uvision4.py and gccarm.py 2015-01-30 15:22:19 +08:00
Marcomissyou 64465b68ad extend year and add toolchain system_nrf51822.c, PinNames.h,device.h,mbed_overrides.c,targets.py 2015-01-30 15:05:03 +08:00
ohagendorf f3b9dc0cd8 [build_travis.py] extending and sorting
- adding two targets: NUCLEO_F070RB, DISCO_F051R8
- sorting STM targets
2015-01-30 00:15:20 +01:00
Marcomissyou ee9d3cf801 gcc_arm_delta_dfcm_nnn40.tmpl uvision4_deta_dfcm_nnn40.uvopt.tmpl uvision4_deta_dfcm_nnn40.uvproj.tmpl 2015-01-29 17:17:46 +08:00
Marcomissyou 04937dc38b remove json, delete toolchain list in target.py because NNN40 is inherit from NRF51822, add SWIO default setting in system_nrf51822.c and SWIO,VERF pin in PinName.h 2015-01-29 13:46:58 +08:00
Przemek Wirkus f81509c933 Refactored UDP echo server 2015-01-28 16:43:40 +00:00
Przemek Wirkus 111b55784e Refactored TCP echo server 2015-01-28 16:29:36 +00:00
Przemek Wirkus ab472195ce Refactored EEPROM and InterruptIn test cases to do auto-detection act
Refactoring Tested with few Nucleo boards and Nordic board
2015-01-28 15:34:28 +00:00
Przemek Wirkus b877fe32f9 Added test case time measurement instead of whole test time measurement for 'Elapsed Time (sec)' report in singletest.py console reports 2015-01-28 15:33:11 +00:00
Przemek Wirkus 0bafe71fed Refactored RTOS_1 test and did some small indent in tests.py 2015-01-28 11:38:44 +00:00
Przemek Wirkus f1f2505adc Refactored host_test.py script to filter for TargetIds in auto-detection flow 2015-01-28 10:35:08 +00:00
Przemek Wirkus c6134eb6a2 Refactored C++ test and added '+' sign as recognized character in auto-test description 2015-01-28 09:08:58 +00:00
Olaf Hagendorf d6721ad2ca [export/README.md] some minor issues
- current development status
- deleting readme.html - a remainder of the disscussion of PR #819
2015-01-27 16:34:28 +01:00
Przemek Wirkus dcce4d7cde Refactored detection test to use new autodetection of host test 2015-01-27 13:24:11 +00:00
0xc0170 42672cf3bb Merge branch 'readme_md' of https://github.com/ohagendorf/mbed into ohagendorf-readme_md 2015-01-27 14:23:19 +01:00
Przemek Wirkus d610f0b08a Refactored echo at 115200 test for new model of test autodetection 2015-01-27 13:17:36 +00:00
0xc0170 453e81fd4c Merge branch 'pinology' of https://github.com/PrzemekWirkus/mbed into PrzemekWirkus-pinology
Conflicts:
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.c
2015-01-27 14:15:48 +01:00
Przemek Wirkus a8506caa1d Refactored few more tests to support autodetection: basic, call_before_main, dev_null, rtc, stdio 2015-01-27 12:51:53 +00:00
Przemek Wirkus 6903b54b9e Refactored generic tests with timer host test supervision
Reactored RTOS tests
2015-01-27 12:10:16 +00:00
Olaf Hagendorf a9bde7df03 [workspace_tools] project.py - some more changes ...
... suggested by PrzemekWirkus
2015-01-27 10:50:51 +01:00
Marcomissyou e7c32aff0f modify main.cpp of analog and analog_in 2015-01-27 15:41:52 +08:00
Marcomissyou 4a52c80ef5 solve conflict targets.py and i2c_api.c
Merge remote-tracking branch 'upstream/master'

Conflicts:
	libraries/mbed/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/i2c_api.c
	workspace_tools/targets.py
2015-01-27 14:16:17 +08:00
Olaf Hagendorf 28435e93bf [workspace_tools] project.py - some changes ...
... suggested by PrzemekWirkus
2015-01-26 17:43:08 +01:00
0xc0170 23afc625b7 Tools - expoters init file - tempdir name fix 2015-01-26 16:22:55 +01:00
Marcomissyou 66a5f716e3 modify i2c_api, analog_api, system_brf51822.c, targets/py and add device.h, PinNames 2015-01-23 16:40:26 +08:00
Austin Blackstone c548c2693f fixed readme.html so it works on all OS's, previous commit only worked on windows 2015-01-21 11:13:33 -06:00
Anders Lindvall 6b0765c2fc Increased duration for spifi tests (MBED_A22 and MBED_A23) 2015-01-21 10:20:09 +01:00
Anders Lindvall f463f62498 Added LPC4088_DM to exporters 2015-01-21 10:19:59 +01:00
Anders Lindvall be14d7d195 Added LPC4088_DM in workspace_tools 2015-01-21 10:19:51 +01:00
Martin Kojtal 8d97833cad Merge pull request #851 from NitinBhaskar/master
LPC11U37H_401 - target support added to build_travis.py and build_release.py
2015-01-20 14:26:01 +00:00
bcostm 8fe645ecd1 Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-01-20 13:14:59 +01:00
bcostm 5e57cd3d29 [NUCLEO_F303RE] Add GCC_ARM toolchain 2015-01-20 13:10:22 +01:00
NitinBhaskar 0fbe72662a Added new target LPC11U37H_401 2015-01-20 14:43:26 +05:30
NitinBhaskar 4fece5da1c Update build_release.py
Added new target LPC11U37H_401
2015-01-20 14:40:41 +05:30
Martin Kojtal f99ed7037e Merge pull request #848 from Sissors/master
Tools - uVision Teensy3.1 exporter
2015-01-19 12:54:05 +00:00
nitin.bhaskar.27.09@gmail.com f38d985cc8 Initial support for LPC11U37H_401 2015-01-17 13:29:17 +05:30
Sissors ac0504da13 [EXPORT][TEENSY3_1] Added uVision Teensy3.1 exporter
Copy paste of K20D50M code, pretty sure I modified the most important
bits.
2015-01-16 22:28:13 +01:00
Martin Kojtal 542dba531c Merge pull request #846 from BlackstoneEngineering/ExporterUpdate
Add readme.html to every exported project
2015-01-16 07:49:44 +00:00
Austin Blackstone 6606e3e3cb added README.html to every offline export. This will redirect to a handbook page where we can keep an errata of things that need doing with various platforms and various toolchains. 2015-01-15 18:01:28 -06:00
Paul Staron e21c65041d New platform - Teensy 3.1 2015-01-15 19:18:01 +00:00
Martin Kojtal bef46907fc Merge pull request #831 from ohagendorf/stm32f4xx_reorg_hal
STM32F4xx reorganisation of hal folder
2015-01-08 11:53:03 +00:00
Olaf Hagendorf 148a62ef81 [build_release.py]
Adding missing GCC_ARM toolchain to some Nucleo targets
2015-01-07 17:56:05 +01:00
ohagendorf 24d7e37e21 all RTOS_x tests are OK 2015-01-06 20:48:37 +01:00
ohagendorf 11c2a5b888 error correction rebas and build_travis extension
travis_build ok
all tests for nucleo_f0xx and nucleo_f3xx ok
2015-01-05 23:59:58 +01:00
ohagendorf f5c3b18d75 [NUCLEO_F091RC] adding exporter (gcc_arm, coide), enable rtos
- Adding exporter for CoIDE and GCC_ARM
- Adding target to RTOS lib
2015-01-05 22:55:18 +01:00
ohagendorf 5ebdb92e78 [NUCLEO_F072RB] adding target to rtos lib
Every test (DTCT_1, EXAMPLE_1, MBED_xx, RTOS_x) is OK.
2015-01-05 22:43:52 +01:00
Martin Kojtal 914dd37b11 Merge pull request #818 from ohagendorf/stm32l053_rtos
DISCO/NUCLEO_L053xx - adding to RTOS, corrections for all tests, [DISCO_L053] exporter to µVision
2015-01-05 08:08:00 +01:00
Martin Kojtal e1309e658a Merge pull request #811 from albert361/master
Add IAR toolchain support for DISCO_F429ZI
2015-01-05 07:57:36 +01:00
Martin Kojtal 3aef1389d5 Merge pull request #829 from Kazu-zamasu/LPC824-GCC_CR
Tools: LPC824 -  GCC_CR support
2015-01-05 07:55:21 +01:00
ohagendorf f98dd149b9 [MTS_MDOT_F405RG] reorg hal folder
- reorganisation of this target needed some extension of serial_api.c
used by all F4xx tagets.
- add arch_max to travis_build
2015-01-04 14:15:16 +01:00
ohagendorf 0498e2619b [STMF4xx] reorg hal folder
- some minor error correction
- add pin definition for 3 tests (MBED_A5,6,7)
- add new target disco_f401vc to travis_build

travis_build and all test are OK except missing STM32F4 target
MTS_MDOT_F405RG
2015-01-04 14:14:52 +01:00
kazu-zamasu b066ebff90 Add to GCC_CR
New create GCC_CR LPCXPresso export.
2015-01-04 12:02:01 +09:00
ohagendorf 43e6502f00 [DISCO_F401VC] new target incl. exporter to gcc_arm and coide 2015-01-02 19:09:41 +01:00
ohagendorf 11d7b0867a [DISCO_L053xx] exporter to µVision 2015-01-02 12:17:36 +01:00
ohagendorf 0ac123d488 [DISCO/NUCLEO_L053xx] adding to RTOS 2015-01-02 12:13:44 +01:00
Martin Kojtal 15386a368c Merge pull request #822 from oliviermartin/om/gcc-cortexm0plus
Tools: Use 'cortex-m0plus' support for ARM Cortex M0+
2015-01-02 09:10:16 +01:00
Martin Kojtal d198fba547 Merge pull request #821 from ohagendorf/exporter_coide_gccarm
NUCLEO/DISCO L053,F103,F100,F051 -  adding exporter to gcc_arm and coide
2015-01-02 09:04:06 +01:00
Martin Kojtal 77d645476d Merge pull request #810 from ohagendorf/STM32F3xx_rtos
DISCO/NUCLEO_F3xx - solving RTOS problem
2015-01-02 07:48:54 +01:00
0xc0170 9af828a11f Merge branch 'master' of https://github.com/mfiore02/mbed into mfiore02-master
Conflicts:
	workspace_tools/build_travis.py
2015-01-02 07:12:11 +01:00
Olivier Martin 76efcd382c workspace_tools/toolchains/gcc.py: Use 'cortex-m0plus' support for Cortex M0+
This support is supported by:
- gcc-arm-none-eabi-4_7-2013q1
- gcc-arm-none-eabi-4_9-2014q4
2015-01-01 19:03:43 +00:00
ohagendorf aaede9c070 [DISCO_F051R8] exporter to coide and a naming correction
In PeripheralNames.h the PWM timer name was wrong. Changed from TIMxx to
PWMxx.
2014-12-31 17:46:32 +01:00
ohagendorf d9ae0369f9 [DISCO_F100RB] exporter to coide 2014-12-31 17:17:50 +01:00
ohagendorf 2d61dff9c4 [Nucleo_F103RB] exporter to gcc_arm and coide 2014-12-31 16:34:20 +01:00
ohagendorf df25f50023 [DISCO/NUCLEO_L053xx] exporter to CoIDE 2014-12-31 16:08:01 +01:00
ohagendorf f75f3c92e3 [workspace_tools] project.py adding 2 cmdline options
Forgot to remove an unsed method.
2014-12-30 20:08:36 +01:00
ohagendorf 4af8bc2fae Merge branch 'readme_md' of https://github.com/ohagendorf/mbed into readme_md 2014-12-30 19:26:50 +01:00
ohagendorf b57fefbd0c [workspace_tools] project.py adding 2 cmdline options
- Adding an option to print a matrix similar to build.py -S with targets
and supported IDEs
- Adding an option to write README.md in workspace_tools/export
2014-12-30 19:26:43 +01:00
Olaf Hagendorf 2af565c827 Update README.md 2014-12-30 19:21:09 +01:00
Dmitry Bogdanov 8b42876484 add LPC2460 platform 2014-12-25 16:19:29 +04:00
GustavWi 5282d1b8a6 Updated README.md to be up date with IAR's target support 2014-12-23 11:50:33 +01:00
albert361 282c31f57e Add IAR toolchain support for DISCO_F429ZI 2014-12-23 14:41:20 +08:00
ohagendorf e48aabed4c [DISCO/NUCLEO_F3xx] solving RTOS Problem
- add targets (except DISCO_F303VC) to tests.py - RTOS_x tests
- a minor bug fix for DISCO_F334: had wrong STDIO_UART_TX/RX pin
settings
2014-12-22 16:58:42 +01:00
Przemek Wirkus 32cea97577 Added simple tests for BusOut component to check if we can use new features of BusOut::operator[] and DigitalOut::is_connected() 2014-12-19 15:36:55 +00:00
Martin Kojtal 79ec104b3c Merge pull request #801 from bcostm/master
Add new target - NUCLEO_F070RB
2014-12-19 09:48:14 +00:00
bcostm d9eb8b71d5 [NUCLEO_F070RB]Add new target - part 3 workspace_tools 2014-12-18 09:30:19 +01:00
Yihui Xiong 6ecff6327b [export] add gcc/uvision templates for BLE Smurfs 2014-12-17 14:51:34 +08:00
Yihui Xiong 604e163cc1 fix gcc/uvision template for Arch BLE 2014-12-17 14:38:09 +08:00
Yihui Xiong 8d2fa50691 add new target BLE_SMURFS 2014-12-17 11:40:09 +08:00
GustavWi 09261bd615 IAR: Fixed language settings in ewp files. Set project setting to allow both c and c++ language and allowed VLA in C code 2014-12-15 14:19:54 +01:00
Martin Kojtal 1fb5426bf6 Merge pull request #793 from ohagendorf/STMF4xxx_rtos
DISCO_F4xx, NUCLEO_F4xx, MDOT_F4 - fix RTOS problem (init seq)
2014-12-15 09:01:35 +00:00
Martin Kojtal f3acd0e7aa Merge pull request #790 from BlackstoneEngineering/NordicKeilFix
Tools: changed device name from nRF51822_xxAA -> nRF51xxx on all Nordic boards
2014-12-15 08:57:38 +00:00
Martin Kojtal 5aafaa0d63 Merge pull request #780 from GustavWi/iar_mbed
IAR: skip dynamic initialization, new common IAR startup file
2014-12-15 08:52:35 +00:00
Martin Kojtal f8962e8683 Merge pull request #768 from mazgch/master
add CooCox exporter for C027
2014-12-15 08:44:24 +00:00
ohagendorf 6f8f626bd6 [DISCO_F4xx][NUCLEO_F4xx][MDOT_F4] solving RTOS problem
- Changing original STM Cube Driver to call _start instead of main to
initialise the rtos when using it. Without using rtos the behavior is
the same as before.
- Adding DISCO_F429 to rtos
- Adding targets to RTOS_xx tests.
- All tests are OK. Tested with Nucleo and Disco boards. Not tested with
MDOT_F4 but that uses the same hal like nucleo_f411.
2014-12-13 22:50:02 +01:00
Austin Blackstone c6547b96cf changed device name from nRF51822_xxAA -> nRF51xxx on all Nordic boards. This change is necessary due to a conflict with KeilV4 naming 2014-12-11 19:28:15 -06:00
Mike Fiore a749176209 [travis] add MTS_DRAGONFLY_F411RE to build_travis.py 2014-12-11 15:47:21 -06:00
Mike Fiore 38d92a5ab3 [mbed][workspace_tools] remove comment from targets.py 2014-12-11 14:08:31 -06:00
vinnie rabbit b1aee00f85 [mbed][MTS_DRAGONFLY_F411RE] change IAR project options to not have Override default checkbox set, change IlinkIcfOverride from 1 to 0 in file iar_mts_dragonfly_f411re.ewp.tmpl 2014-12-11 13:20:45 -06:00
Mike Fiore 74cc06b3ce [targets][MTS_DRAGONFLY_F411RE] remove unnecessary comments from Dragonfly entry in targets.py 2014-12-11 13:20:45 -06:00
vincent rabbit 546005a72c [mbed][MTS_DRAGONFLY_F411RE] added platform support files and dirs built gcc executable NOT working 2014-12-11 13:20:45 -06:00
vincent rabbit bd9b356816 [export][MTS_DRAGONFLY_F411RE] added iar support for DRAGONFLY 2014-12-11 13:19:08 -06:00
GustavWi b67836d4ba Added skip dynamic initialization to mts mdot f411re ewp 2014-12-11 09:43:31 +01:00
Martin Kojtal b75dadac6c Merge pull request #779 from ndelisi/master
Y5Design LPC11U35 and NRF51822 - Add New targets
2014-12-11 08:28:29 +00:00
0xc0170 130c9c282a Tools: nordic uvision templates - RAM size set to 0x2000 from 0x800 2014-12-10 14:25:11 +00:00
GustavWi c3393b80b1 Merge remote-tracking branch 'upstream/master' into iar_mbed 2014-12-10 13:41:46 +01:00
GustavWi 3062999e97 Separated the c data initialization and c++ to call mbed_sdk_init before c++ data. So that the c variables are updated before the c++ objects are initialized. Had to rename the cmain override in RTX_CM_lib.h to __iar_program_start because there can not be two __cmain overrides in the project. The ewps had to be updated to add the linker command --skip_dynamic_initialization which stalls the c++ data init until __iar_dynamic_initialization which is called right after mbed_sdk_init. 2014-12-10 13:40:17 +01:00
Nick DeLisi a03d3bcd8d Porting of new target: Added new target to target.py, added header files for PinNames.h and device.h
nRF51822 from Nordic Semiconductor

Bluetooth Low-Energy v4.1 compliant - interface to smartphones, tablets

System-on-Chip (SoC) solution - easily transformable into a deployable solution

Drop-in solution for production - no need to design your own antenna

FCC and CE Certified

3x LEDs, 3x Buttons

Powered by interface board or external 3.3V
2014-12-09 14:08:22 -06:00
Nick DeLisi f382af4aed Porting of new target: Added new target to target.py, added header files for PinNames.h and device.h. Added linker library.
Y5 Design LLC Interface Board
LPC11u35 from NXP

Low Power, ARM(r) Cortex-M0 suitable for a wide range of applications

On-Chip Bootloader - In-System programming (ISP) and in-application programming (IAP)

ROM-based USB drivers - Flash updates via USB supported

SPI, GPIO, i2C, UART, ADC

3x LEDs, Reset Button

3.3V powered via USB or external

USB interface - shipped with USB-A, male connector, pads for Micro female
2014-12-09 13:01:20 -06:00
Michael Brudevold 2f5cbcb1c6 Add support for mDot with STM32F411RE processor 2014-12-08 10:58:25 -06:00
mazgch 14f999b1d4 add exporter 2014-12-08 11:14:27 +01:00
Martin Kojtal a17c1dd8f7 Merge pull request #767 from ohagendorf/nucleo_disco_coide
STM32xxx: CoIDE/gcc_arm exporter and startup_stm32xx update
2014-12-08 07:24:22 +00:00
ohagendorf f762a60f48 [DISCO_F303] missing wrap main in gcc_arm template 2014-12-08 01:02:40 +01:00
ohagendorf 883b2bc0ce [STM32xxx] CoIDE exporter and gcc_arm
- CoIDE options: wrap main and linker option DiscradUnusedSection=1 was
missing in some targets
- CoIDE options: corrected flash loader config for Nucleo_F030 and
Nucleo_F072
- CoIDE options: corrected memory layout (not used per default but now
it is the same as in linker script)
- gcc linker script: changed the memory size from hex number e.g. 0x2000
to decimal 8K
2014-12-07 20:07:56 +01:00
Martin Kojtal a6279aa351 Merge pull request #750 from PrzemekWirkus/travis-linking
Tools: Travis - Simple mbed SDK test linking against popular libraries
2014-12-03 14:34:36 +00:00
Przemek Wirkus 63d2735c58 Add back all missing targets 2014-12-03 11:14:09 +00:00
Przemek Wirkus de90b72435 Fixed typo which added wrong parameter value for -t switch 2014-12-03 11:11:22 +00:00
Przemek Wirkus fa5722a39c Added --silent switches to both build.py and make.py.
build_travis.py now executes build.py and make.py with --silent switches to save space on Travis's console output
2014-12-03 11:01:19 +00:00
Przemek Wirkus 6255549570 Modified make.py so now parameter --silent suppreses Copy / Compile messages leaaving only Warning / Errors / build product info 2014-12-03 10:53:50 +00:00
Przemek Wirkus 32b214c4b1 Removed progress characters, they just look stupid in Travis console 2014-12-03 10:48:53 +00:00
Przemek Wirkus e5d7f85597 Added new switch --silet to build.py to avoid endless screens of Copy / Compile. In silent mode only warnings / erros / build product will be displayed
Added new line after warning / errors
2014-12-03 09:36:58 +00:00
Przemek Wirkus b2ab78673a Added new switch --silet to build.py to avoid endless screens of Copy / Compile. In silent mode only warnings / erros / build product will be displayed 2014-12-03 09:25:11 +00:00
Przemek Wirkus 0c848f8290 Added new switch --silet to build.py to avoid endless screens of Copy / Compile. In silent mode only warnings / erros / build product will be displayed 2014-12-03 09:24:19 +00:00
Mihail Stoyanov 45c1f43182 Increase the build system timeout when processing jobs to 5 minutes as initially designed 2014-12-02 18:00:06 +02:00
Martin Kojtal f6743c5b50 Merge pull request #751 from bcostm/master
Targets: NUCLEO_F303RE - Add new target
2014-12-02 15:35:46 +00:00
Przemek Wirkus 027a6bc35d Final commit with chanes related to --testlib switch and test linking for
Travis CI in github.
2014-12-02 11:43:45 +00:00
Przemek Wirkus a2fef756e5 Modified Travis build script to ommit --testlib switch - on Linux machines
linking the same lib twice causes linking errors (Not on Windows GCC_ARM though)
2014-12-02 11:39:23 +00:00
bcostm feee66d0fc [NUCLEO_F303RE] Add target part 3 - workspace_tools 2014-12-02 07:51:14 +01:00
Przemek Wirkus 6c22025ae0 Added simple mbed SDK test linking against popular libraries 2014-12-01 16:51:03 +00:00
Przemek Wirkus 670eea7937 Modified make.py so now parameter -n can handle comma separated lists of test names.
Bugfix for option -p
2014-12-01 15:33:30 +00:00