Commit Graph

6314 Commits (ee5c8135e45cd2832b459c0459479d6cc13000d5)

Author SHA1 Message Date
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
Kevin Bracey 5fb2f8096a Merge pull request #259 from ARMmbed/ns_coap_service
Update coap-service
2016-06-09 13:08:03 +01:00
Martin Kojtal 8d454368bf Merge pull request #261 from simonqhughes/master
Fix for GCC 5.0 which appears not to define _GNU_SOURCE, define _ANSI…_SOURCE and define _POSIX_SOURCE
2016-06-09 12:58:22 +01:00
Simon D Hughes 88b3d838f2 Corrected order of #include files to include local header files first, and minimized cfstore_fnmatch.h content 2016-06-09 12:32:46 +01:00
Simon D Hughes 837f0baa37 Fix for GCC 5.0 which appears not to define _GNU_SOURCE, define _ANSI_SOURCE and define _POSIX_SOURCE 2016-06-09 12:32:44 +01:00
Kevin Bracey 2b977e216d Update coap-service
API change extensions required by Nanostack - currently out-of-sync,
breaking the build.
2016-06-09 11:59:27 +01:00
Martin Kojtal 2f50cd4755 Merge pull request #256 from ARMmbed/mbed-client-classic
Updating mbed-client-classic lib pointer.
2016-06-09 11:55:25 +01:00
Christopher Haster a506973d0f Fixed behaviour of get_ip_address and get_mac_address for LWIPInterface
per the socket API documentation:

  /** Get the local IP address
   *
   *  @return         Null-terminated representation of the local IP address
   *                  or null if not yet connected
   */
  virtual const char *get_ip_address() = 0;

LWIPInterface incorrectly returned "\0" if unconnected
2016-06-09 05:51:28 -05:00
Yogesh Pande 25e33f5be4 Updating mbed-client-classic lib pointer.
The commit includes

Adding support for setting Keepalive options for mbed Client while using TCP connectivity.
ARMmbed/mbed-client-classic@0b7fe15
The commit required feature from NetworkSocketAPI which was done here https://github.com/ARMmbed/mbed-os/pull/254/files
2016-06-09 13:27:23 +03:00
Kevin Bracey 35bc434647 Merge pull request #236 from SeppoTakalo/master
Update Nanostack.
2016-06-09 10:16:40 +01:00
Vincent Coubard b61583ff7f Merge branch 'master' of https://github.com/ARMmbed/mbed-os into ble 2016-06-09 10:16:18 +01:00
Martin Kojtal e185834a82 Merge pull request #251 from pan-/ble
Ble integration
2016-06-09 10:13:14 +01:00
geky 77d30db3a5 Merge pull request #254 from geky/lwip-keepalive
Add the NSAPI_KEEPALIVE socket option
2016-06-09 10:11:24 +01:00
Sam Grove 28a39bdefd Merge pull request #244 from simonqhughes/master
Integrating configuration-store into mbed-os
2016-06-09 10:08:46 +01:00
Martin Kojtal e48f764b5c Merge pull request #249 from geky/fix-ksdk2-lwip
Fixed uninitialized port in lwip dragged in by KSDK2
2016-06-09 09:47:39 +01:00
Martin Kojtal 11ee5f21f3 Merge pull request #250 from ARMmbed/mbed-trace
Updating mbed-trace pointer in mbed-os repo.
2016-06-09 09:45:27 +01:00
Seppo Takalo c4c3edf0de Update Nanostack.
Required for Thread configuration store to work in Cliapp.
2016-06-09 11:18:43 +03:00
Vincent Coubard c27f210bdc Remove duplicate file.
This file already exist in HAL of mbed repository.
2016-06-08 22:58:28 +01:00
Vincent Coubard 12f2ab6f5e Merge commit '5e222232b1941fd06c83655ae3f0db4cffd77a87' as 'bluetooth/ble/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51-sdk' 2016-06-08 22:57:02 +01:00
Vincent Coubard 5e222232b1 Squashed 'bluetooth/ble/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51-sdk/' content from commit abf7875
git-subtree-dir: bluetooth/ble/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51-sdk
git-subtree-split: abf7875313726d9f3a5bc9483b43348692d92cd7
2016-06-08 22:57:02 +01:00
Vincent Coubard 6c65684167 Merge commit '0daa1abf99dab117ef42ba9f2404b2477a570643' as 'bluetooth/ble/targets/TARGET_NORDIC/TARGET_MCU_NRF51822' 2016-06-08 22:56:36 +01:00
Vincent Coubard 0daa1abf99 Squashed 'bluetooth/ble/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/' content from commit 6b5af1c
git-subtree-dir: bluetooth/ble/targets/TARGET_NORDIC/TARGET_MCU_NRF51822
git-subtree-split: 6b5af1c4c6e73ad8b449165e2310fb300759ace4
2016-06-08 22:56:36 +01:00
Vincent Coubard 655ce783de Merge commit 'fe28524ee84e4278ab28224b8b5c6bb0c22533af' as 'bluetooth/ble' 2016-06-08 22:55:08 +01:00
Vincent Coubard fe28524ee8 Squashed 'bluetooth/ble/' content from commit 2f55eed
git-subtree-dir: bluetooth/ble
git-subtree-split: 2f55eed1fdde06fdabfb66d41ce6cd14e280978f
2016-06-08 22:55:08 +01:00
Kevin Bracey b2aefec6ca Merge pull request #215 from ARMmbed/ns_init
Adjust Nanostack startup
2016-06-08 18:20:47 +01:00
Yogesh Pande 66b7c6e6b6 Updating mbed-trace pointer in mbed-os repo. 2016-06-08 20:07:12 +03:00
Anna Bridge 50f1c178e9 Review comments: Re-implemented utest_printf to use RawSerial.
Re-implemented utest_safe_putc() to use Rawserial.
Minor cosmetic changes.
2016-06-08 18:01:27 +01:00
Bogdan Marinescu 31cea1b827 Merge pull request #235 from ARMmbed/update_mbedmicro_ref
Move the mbedmicro reference to the latest version
2016-06-08 17:28:02 +01:00
Przemek Wirkus 056264b456 Add NIST/NTP client UDP test
Test case run:
```
[1465403072.69][CONN][RXD] {{__sync;a0c12e11-442c-4a60-aecf-448b5877cee3}}
[1465403072.69][CONN][RXD] {{__version;1.1.0}}
[1465403072.69][CONN][RXD] {{__timeout;20}}
[1465403072.69][CONN][RXD] {{__host_test_name;default_auto}}
[1465403072.69][CONN][INF] found SYNC in stream: {{__sync;a0c12e11-442c-4a60-aecf-448b5877cee3}}, queued...
[1465403072.69][CONN][INF] found KV pair in stream: {{__version;1.1.0}}, queued...
[1465403072.69][CONN][INF] found KV pair in stream: {{__timeout;20}}, queued...
[1465403072.69][CONN][INF] found KV pair in stream: {{__host_test_name;default_auto}}, queued...
[1465403072.69][HTST][INF] sync KV found, uuid=a0c12e11-442c-4a60-aecf-448b5877cee3, timestamp=1465403072.693000
[1465403072.69][HTST][INF] DUT greentea-client version: 1.1.0
[1465403072.69][HTST][INF] setting timeout to: 20 sec
[1465403072.69][HTST][INF] host test class: '<class 'mbed_host_tests.host_tests.default_auto.DefaultAuto'>'
[1465403072.69][HTST][INF] host test setup() call...
[1465403072.69][HTST][INF] CALLBACKs updated
[1465403072.69][HTST][INF] host test detected: default_auto
[1465403075.73][CONN][RXD] UDP client IP Address is 10.254.2.206
[1465403075.73][CONN][RXD] UDP: NIST server pool.ntp.org address: 143.210.16.201 on port 123
[1465403075.73][CONN][RXD] UDP: Sent 48 Bytes to NTP server
[1465403075.73][CONN][RXD] UDP: Recved from NTP server 48 Bytes
[1465403076.74][CONN][RXD] UDP: Values returned by NTP server:
[1465403076.74][CONN][RXD]      [00] 0x1C0203EA
[1465403076.74][CONN][RXD]      [01] 0x140
[1465403076.74][CONN][RXD]      [02] 0xB34
[1465403076.74][CONN][RXD]      [03] 0x9E2BC042
[1465403076.74][CONN][RXD]      [04] 0xDB02BE9F
[1465403076.74][CONN][RXD]      [05] 0xBB720306
[1465403076.74][CONN][RXD]      [06] 0x0
[1465403076.74][CONN][RXD]      [07] 0x0
[1465403076.74][CONN][RXD]      [08] 0xDB02C543
[1465403076.74][CONN][RXD]      [09] 0x98E6A7C1
[1465403076.74][CONN][RXD]      [10] 0xDB02C543 NTP timestamp is Wed Jun  8 16:24:35 2016
[1465403076.74][CONN][RXD]      [11] 0x98E8E8EF
[1465403076.74][CONN][RXD] {{end;success}}
```
2016-06-08 17:25:45 +01:00
Martin Kojtal e39199afa2 Merge pull request #248 from ARMmbed/mbed-client
Updating mbed-client and mbed-client-c lib pointers.
2016-06-08 17:17:26 +01:00
Yogesh Pande 385464eff1 Updating mbed-client-classic pointer
This commit includes
 - Using config parameter to set heap size.
2016-06-08 18:58:04 +03:00
Yogesh Pande d5b89c0887 Updating mbed-client and mbed-client-c lib pointers.
Modified config parameter usage in mbed-client.
2016-06-08 18:55:19 +03:00
Simon D Hughes 34f3c5da35 Fix warnings to remove unused variables 2016-06-08 16:28:02 +01:00
Bogdan Marinescu 44b8b05485 Merge pull request #246 from ARMmbed/config_in_export
Added support for configuration data in exporters
2016-06-08 16:23:41 +01:00
Bogdan Marinescu eb9610949e Move the mbedmicro reference to the latest version 2016-06-08 18:17:26 +03:00
Bogdan Marinescu efed396682 Added support for configuration data in exporters
This commit integrates configuration data with exporters, in a similar
way to the integration in build_project or build_library in
tools/build_api.py.

Only a very simple test was done for this PR: define a configuration
parameter in the mbed_app.json of a blinky example, export it to uvision
and check if the corresponding macro made it into the project file. If
there are better tests to be performed, please let me know.
2016-06-08 18:13:10 +03:00