Commit Graph

6358 Commits (48fe3d68914292bfaa9cd00bf533d3c12b59e7bd)

Author SHA1 Message Date
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
Janos Follath 9127bcc5b1 Fix the defect in the directory structure. 2016-06-09 16:37:19 +01:00
Janos Follath 8c248babf5 Add hardware entropy support for mbed TLS on K64F.
It is currently only a dummy implementation using the hardware clock.
It is not secure yet, do not suitable for use in production.
2016-06-09 16:37:19 +01:00
Janos Follath 7ad4179b17 Add initial mbed TLS release library. 2016-06-09 16:37:19 +01:00
Janos Follath 41e8521daa Add mbed TLS importer scripts. 2016-06-09 16:37:18 +01:00
Martin Kojtal 0d437f27cd Merge pull request #271 from ARMmbed/mbed-trace
Updating mbed-trace lib pointer
2016-06-09 16:19:35 +01:00
Martin Kojtal 9450f9825f Merge pull request #226 from adbridge/master
Add fixes to Utest to ensure thread safety and thus run when compiled with armcc
2016-06-09 16:15:41 +01:00
Przemek Wirkus f01ae8ab9a Add UDP Echo client test
```
mbedgt: test on hardware with target id: 0240000029304e450038500878a3003cf131000097969900
mbedgt: test suite 'TESTS-mbedmicro-net-udp_echo_client' ............................................. OK in 18.33 sec
        test case: 'tests-mbedmicro-net-udp_echo_client' ............................................. OK in 18.33 sec
mbedgt: test case summary: 1 pass, 0 failures
mbedgt: all tests finished!
mbedgt: shuffle seed: 0.6134776338
mbedgt: test suite report:
+--------------+---------------+-------------------------------------+--------+--------------------+-------------+
| target       | platform_name | test suite                          | result | elapsed_time (sec) | copy_method |
+--------------+---------------+-------------------------------------+--------+--------------------+-------------+
| K64F-GCC_ARM | K64F          | tests-mbedmicro-net-udp_echo_client | OK     | 18.33              | shell       |
+--------------+---------------+-------------------------------------+--------+--------------------+-------------+
mbedgt: test suite results: 1 OK
mbedgt: test case report:
+--------------+---------------+-------------------------------------+-------------------------------------+--------+--------+--------+--------------------+
| target       | platform_name | test suite                          | test case                           | passed | failed | result | elapsed_time (sec) |
+--------------+---------------+-------------------------------------+-------------------------------------+--------+--------+--------+--------------------+
| K64F-GCC_ARM | K64F          | tests-mbedmicro-net-udp_echo_client | tests-mbedmicro-net-udp_echo_client | 1      | 0      | OK     | 18.33              |
+--------------+---------------+-------------------------------------+-------------------------------------+--------+--------+--------+--------------------+
mbedgt: test case results: 1 OK
mbedgt: completed in 18.48 sec
```
2016-06-09 16:10:10 +01:00
Yogesh Pande 3fdf1dd1e5 Updating mbed-trace lib pointer
This commit includes
 - mbed-trace using configuration mechanism to enable/disable tracing through mbed_lib.json
   ff8133f773
2016-06-09 17:27:06 +03:00