Commit Graph

6366 Commits (3fc8d90c548834efc51685c63601b68d73e7ec0f)

Author SHA1 Message Date
Przemek Wirkus bc46495308 Merge pull request #222 from PrzemekWirkus/gt_client_net
[test porting] Network tests (basic)
2016-06-10 15:14:12 +01:00
Przemek Wirkus 870f8390cf Merge pull request #286 from geky/devel_gt_client_iar
[test porting] Fixed IAR issues in tests
2016-06-10 15:14:00 +01:00
Mihail Stoyanov aed88014af Unification of tools.
Ported changes from mbedmicro/mbed to ARMmbed/mbed-os
2016-06-10 15:13:52 +01:00
Przemek Wirkus 2d1548f85a Merge pull request #274 from PrzemekWirkus/devel_gt_rebase_09062016
[test porting] Development branch rebase 09/06/2016
2016-06-10 15:13:46 +01:00
Rohit Grover 58c2e29f42 introduce tests for storage_abstraction and flash_journal 2016-06-10 15:13:44 +01:00
Sam Grove 3429d4e7f2 Merge pull request #280 from rgrover/master
introduce flash journal
2016-06-10 14:58:10 +01:00
Przemek Wirkus 3b3745e008 Add few non-peripheral tests from mbedmicro/mbed/libraries/tests/mbed
Tested on K64F:
```
$ mbedgt -VS -n TESTS-mbedmicro-mbed*
```
```
mbedgt: test suite report:
+--------------+---------------+---------------------------------------+--------+--------------------+-------------+
| target       | platform_name | test suite                            | result | elapsed_time (sec) | copy_method |
+--------------+---------------+---------------------------------------+--------+--------------------+-------------+
| K64F-GCC_ARM | K64F          | tests-mbedmicro-mbed-call_before_main | OK     | 10.53              | shell       |
| K64F-GCC_ARM | K64F          | tests-mbedmicro-mbed-cpp              | OK     | 10.64              | shell       |
| K64F-GCC_ARM | K64F          | tests-mbedmicro-mbed-div              | OK     | 10.64              | shell       |
| K64F-GCC_ARM | K64F          | tests-mbedmicro-mbed-heap_and_stack   | OK     | 30.32              | shell       |
+--------------+---------------+---------------------------------------+--------+--------------------+-------------+
mbedgt: test suite results: 4 OK
mbedgt: test case report:
+--------------+---------------+---------------------------------------+---------------------------------------+--------+--------+--------+--------------------+
| target       | platform_name | test suite                            | test case                             | passed | failed | result | elapsed_time (sec) |
+--------------+---------------+---------------------------------------+---------------------------------------+--------+--------+--------+--------------------+
| K64F-GCC_ARM | K64F          | tests-mbedmicro-mbed-call_before_main | tests-mbedmicro-mbed-call_before_main | 1      | 0      | OK     | 10.53              |
| K64F-GCC_ARM | K64F          | tests-mbedmicro-mbed-cpp              | tests-mbedmicro-mbed-cpp              | 1      | 0      | OK     | 10.64              |
| K64F-GCC_ARM | K64F          | tests-mbedmicro-mbed-div              | tests-mbedmicro-mbed-div              | 1      | 0      | OK     | 10.64              |
| K64F-GCC_ARM | K64F          | tests-mbedmicro-mbed-heap_and_stack   | tests-mbedmicro-mbed-heap_and_stack   | 1      | 0      | OK     | 30.32              |
+--------------+---------------+---------------------------------------+---------------------------------------+--------+--------+--------+--------------------+
mbedgt: test case results: 4 OK
mbedgt: completed in 62.25 sec
```
2016-06-10 13:41:07 +01:00
Przemek Wirkus 68b0b7b9cd mbedmicro/mbed RTOS-mbed tests port to greentea-client 2016-06-10 13:41:03 +01:00
Przemek Wirkus 00efb00aac mbed-drivers test cases port to mbed-os 2016-06-10 13:40:59 +01:00
Christopher Haster b7c8060edb Increased lwip connect timeout to 5 seconds by default
For very slow networks the previous default has be problematically short
2016-06-10 07:27:28 -05:00
Christopher Haster 7678a16b39 [build tools] Added support for cumulative attributes in configs directly
in mbed_lib.json:
  {
    "name": "cmsis-nodejs-SQL-x86",
    "features_add": ["SMELLS_FUNNY"],
    "features_remove": ["SMELLS_NICE"],
    "device_has": ["SILLY_STRING", "FIRE"]
  }
2016-06-10 06:36:17 -05:00
Sam Grove 571c2538e1 Merge pull request #281 from bridadan/build-everything-continue-on-fail
Adding --continue-on-build-fail option to build_everything.py
2016-06-10 12:02:31 +01:00
Rohit Grover 306c5939af move #include <stdint.h> after module-specific includes 2016-06-10 11:42:50 +01:00
Sam Grove b2d14ef4d6 Merge pull request #276 from adbridge/master
Renamed utest files to add a prefix of 'utest_' to prevent namespace
2016-06-10 10:45:36 +01:00
Brian Daniels 6dbd39ca70 adding --continue-on-build-fail option to build_everything.py 2016-06-10 10:35:30 +01:00
Jussi Vatjus-Anttila 3e3c10f1ea Update pull_request_template.md 2016-06-10 10:11:01 +01:00
Rohit Grover 20e945874b adding missing include for <stdint.h> to allow use of the likes of uint32_t 2016-06-10 10:03:54 +01:00
Rohit Grover 683dccd1df introduce flash-journal
This depends on the pull request https://github.com/mbedmicro/mbed/pull/1867,
which introduces the Storage abstraction.

@0xc0170 @sg- @meriac
@simonqhughes
2016-06-10 10:02:35 +01:00
Jussi Vatjus-Anttila 097c12ff83 Update mbed-trace dependency to latest release 1.2.1.
Fix crash issue where application initialize trace prefix function and after that trace was called with parameters. Now there is unit test on place which covers this use-case also :)
2016-06-10 09:44:48 +01:00
Christopher Haster d4bdb94781 Fixed incorrect semaphore handling on lwip connect and socket_connect
- Semaphore returns 0 on timeout, and negative was incorrect used for
  errors
- Correctly checked error code on tcp_connect

thanks to @LiyouZhou
fixes #284, fixes #285, fixes #166
2016-06-09 23:46:03 -05:00
Christopher Haster 447934612c Fixed compilation error in setDebug when debug is unavailable
https://developer.mbed.org/teams/NetworkSocketAPI/code/C027_Support/rev/0d91c7fe072b
2016-06-09 22:21:40 -05:00
Brian Daniels 8300c2ea47 Workaround for collision of _UP in IAR 2016-06-09 21:52:50 -05:00
Christopher Haster 3dc7d3d323 Fixed issue with stricter alignment than stack in IAR 2016-06-09 21:52:50 -05:00
Sam Grove 10936e2e5f Merge pull request #230 from mlnx/memap_improvements
Memap improvements
2016-06-09 22:16:44 +01:00
Sam Grove b3239a4da0 Merge pull request #221 from bridadan/test-building-changes
Test building behavior and log changes
2016-06-09 21:58:44 +01:00
Sam Grove 76dc58fcbd Merge pull request #205 from geky/tests
[test porting] Bring over several pre-defork tests
2016-06-09 21:35:07 +01:00
Jussi Vatjus-Anttila f80a843502 Update pull_request_template.md
updated against proposals
2016-06-09 21:31:25 +01:00
Sam Grove e0b314cceb Merge pull request #258 from geky/make-jussi-happy
Added handling for already connected sockets in LWIPInterface::connect
2016-06-09 21:19:25 +01:00
Sam Grove 8e6ce68d47 Merge pull request #260 from geky/lwip-fix-get-address
Fixed behaviour of get_ip_address and get_mac_address for LWIPInterface
2016-06-09 21:09:17 +01:00
Sam Grove 2d165d62a4 Merge pull request #262 from bridadan/update-test-walk-code
Adding .mbedignore logic to find_tests function
2016-06-09 21:00:48 +01:00
Kevin Bracey ea59df0eff Update atmel-rf-driver
Two fixes to reduce hassle of it being in-tree

* Avoid static constructors
* Avoid compiling on inappropriate platforms
2016-06-09 20:49:55 +01:00
Christopher Haster 2e5f340981 Updated pre-defork-tests with feedback 2016-06-09 13:08:04 -05:00
Christopher Haster 3c00785826 Added handling for already connected sockets in LWIPInterface::connect 2016-06-09 13:04:28 -05:00
Anna Bridge bcebaa559f Renamed utest files to add a prefix of 'utest_' to prevent namespace
clashes.
It should be noted that the exceptions to this are unity_handler.cpp and
unity_handler.h as these deal with Unity/Utest interaction and should be
unique enough in the namespace.
2016-06-09 18:41:38 +01:00
Mihail Stoyanov 3f22400a89 Merge pull request #272 from ARMmbed/device-feature-rebase
Rebase FEATURE_ functionality and apply device_has patch
2016-06-09 17:28:47 +01:00
Mihail Stoyanov 92b88f4e4e Fixed all config tests to inherit the base Target 2016-06-09 17:20:02 +01:00
Mihail Stoyanov 748301b915 Update mbedmicro/mbed reference 2016-06-09 17:20:02 +01:00
Mihail Stoyanov 76124f29a2 Rebase FEATURE_ functionality and apply device_has patch 2016-06-09 17:20:02 +01:00
Sam Grove 36206c1156 Merge pull request #192 from PrzemekWirkus/readme_ci_badge
Add kernel of a README.md + add mbed-os/master CircleCI badge
2016-06-09 17:16:46 +01:00
Sam Grove 48ce926b35 Merge pull request #238 from sbutcher-arm/import-mbedtls
Integration of mbed TLS and import script
2016-06-09 17:10:38 +01:00
Brian Daniels d101c74e25 Adding .mbedignore logic to find_tests function
Addresses issues #247 and #197
2016-06-09 17:09:23 +01:00
Simon Butcher 82fbdec446 Fixes configurations changed by target_config.h removal 2016-06-09 16:41:09 +01:00
Simon Butcher 513fb148df Removes target specific code which belongs in the HAL
mbed TLS is hardware independent, and hardware specific code should be in the
HAL
2016-06-09 16:37:21 +01:00
Simon Butcher dfa9c7f9b1 Updates mbed TLS to the current development head 2016-06-09 16:37:21 +01:00
Simon Butcher 715dd5b1a6 Adds platform configuration for mbedtls_time_t 2016-06-09 16:37:20 +01:00
Simon Butcher 72fae94e24 Updates the mbed TLS library to the latest development head 2016-06-09 16:37:20 +01:00
Simon Butcher d761e3f373 Removes the hardware support and minor fixes 2016-06-09 16:37:20 +01:00
Simon Butcher 598a3b0c89 Removes mbedtls.lib file
Removes the .lib file for mbed TLS as the source code is now in the
directory.
2016-06-09 16:37:20 +01:00
Janos Follath 702167080f Add comments to the Makefile. 2016-06-09 16:37:20 +01:00
Janos Follath 5a7d5d1c9e Make use of the K64F hardware entropy source. 2016-06-09 16:37:19 +01:00