Commit Graph

6299 Commits (f83caf80dcb024114d085a58e003044d4ca403d7)

Author SHA1 Message Date
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
Anna Bridge 774311d367 Add config file to utest to ensure UNITY_INCLUDE_CONFIG_H is always
defined.
This is required for Unity in order to ensure that unity_config.h is
included in builds.
2016-06-09 15:19:37 +01:00
Anna Bridge a70780fc12 Update greentea-client and Unity lib files to point to the latest library
version compatible with Utest.

Update lib git shas to correct format for Unity and Greentea libs
2016-06-09 15:19:27 +01:00
Kevin Bracey dc84d6af4f Merge pull request #268 from ARMmbed/mbed-mesh-api
Update mbed-mesh-api
2016-06-09 15:10:45 +01:00
Sam Grove 210180b652 Merge pull request #270 from ARMmbed/fix_function_args
Move arg types into function declaration
2016-06-09 15:08:21 +01:00
Sam Grove 7704adc96b Merge pull request #269 from ARMmbed/mbedtls-fix
Updating mbed-client-mbed-tls and coap-service
2016-06-09 15:05:58 +01:00
Russ Butler 194d3ef2cb Move arg types into function declaration
The args to rangematch didn't have any types specified.  This patch
adds a type to the args.
2016-06-09 14:53:27 +01:00
Yogesh Pande f03004dca4 Updating mbed-client-mbed-tls and coap-service
This commit includes
 - Updating libs for mbed-client-mbed-tls and coap-service which contains
   fixes for updated mbedtls to work on mbed-os.
 - Updated pointers contains following commits
   7a11be1ccb
   b14e7b3303

   This PR should unblock https://github.com/ARMmbed/mbed-os/pull/238
2016-06-09 16:44:36 +03:00
Kevin Bracey 077994b956 Update mbed-mesh-api
Adds mbed-cli JSON configuration for radio and PAN parameters.
2016-06-09 14:23:41 +01:00
Jussi Vatjus-Anttila 7afa17a2a4 initial issue and PR github templates 2016-06-09 13:50:47 +01:00