Commit Graph

65 Commits (0b74dc1fc4cb7340ed7117faf24dfa740bbea799)

Author SHA1 Message Date
Sam Grove 7007c4694b Merge pull request #2381 from c1728p9/nanostack_m7_support
Add Cortex-M7 Nanostack binaries
2016-08-11 01:21:27 +01:00
Alessandro Angelino 69101b84d4 uVisor: Update the RPC header files
This follows:

ARMmbed/uvisor#02ecf05 - "Remove unused TFN_RPC_Callback"
ARMmbed/uvisor#483ddda - "rpc: Add `rpc_fncall_wait`"
ARMmbed/uvisor#fdb7dce - "rpc: Add missing UVISOR_EXTERN to
                          rpc_fncall_waitfor declaration"
2016-08-08 12:43:23 +01:00
Alessandro Angelino 2f2fbc49a5 uVisor: Update README
Note: The README is auto-generated by the importer script, which copies
the QUICKSTART.md guide from ARMmbed/uvisor.
2016-08-08 12:39:47 +01:00
Russ Butler 8b40b38e11 Add Cortex-M7 Nanostack binaries
Add binaries for the Cortex-M7 architecture. These binaries are identical
the the Cortex-M3 versions.
2016-08-05 16:08:18 -05:00
Christopher Haster a7d6aa5953 Fixed indirect-dependency of mbed-client-classic through Socket.h
Before:
m2mconnectionhandlerpimpl.cpp -> Socket.h -> mbed.h

Now:
m2mconnectionhandlerpimpl.cpp -> mbed.h
2016-08-04 17:47:30 -05:00
Christopher Haster 75a57ad797 Exposed the network-socket API through mbed.h
Currently this uses the same mechanism used by the rtos to conditionally
include the network-socket API. Perhaps this should be builtin to the
config system?

Note: this does require that the bug-compatible inclusion of mbed.h
be removed to avoid include-order issues.

per @sg-
2016-08-04 11:07:33 -05:00
Sam Grove 34caf43f5a Merge pull request #2238 from OpenNuvoton/nuc472
[NUC472] Add NUMAKER-PFM-NUC472
2016-08-04 10:37:31 -05:00
Brian Daniels fc65ce08e0 Adding README for utest
This README was pulled from the project's repo here:
https://github.com/ARMmbed/utest. I made minor modifications to the README
to reflect the changes to the default scheduler (using a Timeout object
instead of MINAR).
2016-08-03 13:20:31 -05:00
Sam Grove dd36dc4228 Merge pull request #2349 from c1728p9/nanostack_unsupported
Adding error message for unsupported platforms
2016-08-03 00:45:08 -05:00
Sam Grove 32b134e277 Merge pull request #2345 from pan-/fix_nrf51_export
Fix nrf51 export
2016-08-02 23:18:12 -05:00
Russ Butler 607ade0596 Adding error message for unsupported platforms
* Error message for unsupported platforms
2016-08-02 22:45:46 -05:00
Sam Grove 4fd188ff75 Merge pull request #2346 from pan-/shortned_nrf51_sdk_paths
Shortned nrf51 sdk paths
2016-08-02 20:50:13 -05:00
Sam Grove 8c3c98b644 Merge pull request #2332 from bridadan/add-net-test
Patch of #2318
2016-08-02 18:57:12 -05:00
Vincent Coubard 5323c29080 Remove unneded folders in NRF51 SDK.
Move content from sources/nordic_sdk/components to sources.
2016-08-02 22:32:44 +01:00
Vincent Coubard 5638d338d0 Rename nrf51-sdk into sdk. 2016-08-02 22:29:02 +01:00
Vincent Coubard b2c809ea56 Remove unneeded NRF51 hex files, can be confusing for exporter. 2016-08-02 21:30:39 +01:00
Christopher Haster 06826a935d Fixed issue with reconnecting the ethernet interface
Previously the EthernetInterface class was unable to be connected
after being brought down. The core issue is that lwip was not designed
to be completely brought down due once initialized.

To work around this, the ethernet interface only initializes once and
leaves itself up after a disconnect call. The DHCP lease is still
released/acquired on disconnect/connect.
2016-08-02 13:33:13 -05:00
Brian Daniels c355fb16d4 Restricting IPV4 echo tests to chars 0-9.
Having the echo tests generate any random character
caused issues serializing the test output into an
xml file. This change limits the characters generated
by the device to '0' - '9'.
2016-08-01 16:48:21 -05:00
Hasnain Virk 8f7e57919b Updating Nanostack Binary for ARMCC
* No code change.
* Binary built and fetched from Jenkins.
* Tested with mbed-os-example-mesh-minimal
2016-08-01 21:47:53 +03:00
Sam Grove 5f43f18ba3 adding tests for net/IPV4 2016-07-29 16:10:36 -05:00
Vincent Coubard 17254e80d6 Fix clock selection used by the softdevice on NRF5 based targets. 2016-07-28 22:47:59 +01:00
cyliangtw 5710178afb Add NUC472 eth and entropy 2016-07-28 10:00:49 +08:00
Yogesh Pande f251c0f128 Fix for https://github.com/ARMmbed/mbed-os-example-client/issues/44
This commit includes
 - Fixed mbed-client Tag mbed-os-5.0-rc2
2016-07-27 22:03:53 +03:00
Sam Grove 90fa585568 Merge pull request #2211 from pan-/nrf52_nrf51_unified_integration
NRF52 target and unification with NRF51
2016-07-27 02:35:43 -05:00
Russ Butler 1799ace8ba Fix intermittent config store tests failures
Make the journal object in cfstore_test_startup static since the call
to FlashJournal_initialize keep a copy of this for future use. This fixes
an intermittent crash start started showing up when optimizations
were set to "-os".
2016-07-26 23:07:26 -05:00
Simon Hughes c2d849133f Adding mbed-os/features/storage to mbed/features/storage/FEATURE_STORAGE (before deleting mbed-os/features/storage). 2016-07-26 23:07:24 -05:00
Sam Grove 5d7317626c Merge pull request #2249 from c1728p9/client_nanostack_and_seperated
Client nanostack and seperated
2016-07-26 14:30:33 -05:00
Russ Butler 9c01bbc199 Update client and nanostack to include mbed.h
Include mbed.h rather than mbed-drivers/mbed.h.
2016-07-26 10:33:43 -05:00
Russ Butler cef844f6bf Break apart client and nanostack dependencies
Move the library files used by both nanostack and client into a common
location.  This allows both client and nanostack to be built stand-alone.

The patch moves the following libraries into a common location:
-mbed-client-c
-mbed-client-randlib
-mbed-trace
-nanostack-hal-mbed-cmsis-rtos
-nanostack-libservice
-sal-stack-nanostack-eventloop

And moves the library 'coap-service' from client into nanostack.
2016-07-26 00:00:20 -05:00
Yogesh Pande effa193386 This commit includes
Replacing with source code replicated from respective repositories including
mbed-client - TAG mbed-os-5.0-rc1
mbed-client-c - TAG mbed-os-5.0-rc1
mbed-client-classic - TAG mbed-os-5.0-rc2
mbed-client-mbed-tls - TAG mbed-os-5.0-rc1
mbed-client-randlib - TAG mbed-os-5.0-rc1
coap-service - TAG mbed-os-5.0-rc1
Adding CONTRIBUTING.md file explaining how to submit patches for any of the components belonging to FEATURE_CLIENT
2016-07-25 21:49:16 -05:00
Seppo Takalo 359dc05f28 Move FEATURE_IPV6 under features/net 2016-07-25 21:49:07 -05:00
Seppo Takalo 475cda0639 Update nanostack-hal-cmsis-rtos. 2016-07-25 21:48:37 -05:00
Seppo Takalo 7f65b914a1 Move FEATURE_IPV6 from mbed-os to here.
Contains same version of libraries as https://github.com/ARMmbed/mbed-os/pull/453

Tagged versions
* mbed-mesh-api mbed-os-5.0-rc1
* mbed-trace mbed-os-5.0-rc1
* nanostack-hal-cmsis-rtos mbed-os-5.0-rc1
* nanostack-interface copied. no remote repository
* nanostack-libservice mbed-os-5.0-rc1
* sal-stack-nanostack mbed-os-5.0-rc1 Binaries generated from v5.0.5
    The M3 build is used for both M3 and M4 devices.
2016-07-25 21:47:54 -05:00
Christopher Haster 8f2ca2bc63 Fixed missing port assignment in DNS constructor for SocketAddress
_stack->gethostbyname looks deceptively like it completely sets the
socket address value, however port is not provided via DNS resolution.
2016-07-25 17:46:15 -05:00
Sam Grove fb7c9f8801 Merge pull request #2235 from sg-/add-mbedtls
Update mbed TLS to version 2.3.0
2016-07-25 13:08:35 -05:00
Sam Grove a4fb649789 Merge pull request #2228 from AlessandroA/update_uvisor
Update uVisor to v0.20.0-alpha
2016-07-23 00:43:08 -05:00
Sam Grove 4794bc87e3 Update mbed TLS to version 2.3.0 2016-07-23 00:13:43 -05:00
Sam Grove db99e726e0 Merge pull request #2231 from geky/nsapi-lwip
Introduce the lwip-interface into the core mbed repo
2016-07-22 23:19:37 -05:00
Russ Butler ebf42f02e9 Add includes so lwip compiles 2016-07-22 18:35:37 -05:00
Christopher Haster ec993319a9 [nsapi] Fixed iar compilation issue with value initializer
Expression needed to init to zero a simple POD struct

Before (valid in C99/C++11/G++): 	(nsapi_addr_t){}
After (valid in C++03, invalid in C):	nsapi_addr_t()
2016-07-22 15:42:57 -05:00
Alessandro Angelino bb12868ce5 uVisor: Update to v0.20.0-alpha
This release brings the support of Keil RTX with uVisor on mbed OS, plus
several other improvements.

**New features**

* Integration in Keil RTX in mbed OS.
* Secure dynamic allocation APIs.
* Box initialization routines.
* Register gateway.
* vMPU recovery generalized for both Kinetis and ARMv7-M MPUs.
* APIs for per-box interrupts disablement and re-enablement.

**Work in progress**

* Remote Procedure Call (RPC). New API signatures have been published.
* The alpha-level implementation will follow soon.

**Deprecated features**

* Secure gateway. Cross-box communication will be implemented with RPC
* gateways.

**Bugfixes**

* Several ARMv7-M-specific bug fixes.
* Fixed a bug that sent the device into lock-up after a hard fault.
* Fixed checks on revision numbers for Cortex-M devices.

**Miscellaneous improvements**

* Optimized memory protection for ARMv7-M devices with shared SRAM.
* Build artifacts are grouped into the target/build
* option/configuration-specific folder.
* Documents have been grouped into API vs. core documents.
* Improved style and consistency.
2016-07-22 15:54:47 +00:00
Alessandro Angelino 99ea8a3649 uVisor: Add RPC API header files 2016-07-22 15:54:19 +00:00
Alessandro Angelino a5d2127e0c uVisor importer: Update the path of QUICKSTART.md 2016-07-22 15:51:42 +00:00
Alessandro Angelino e6effc2540 uVisor importer: Point to the master branch 2016-07-22 15:50:48 +00:00
Christopher Haster 1fcc02318a Add 'features/net/FEATURE_IPV4/lwip-interface/' from commit '63e816f0858cf3de3678aea4deec941add516790'
git-subtree-dir: features/net/FEATURE_IPV4/lwip-interface
git-subtree-mainline: 83f24fb0bd
git-subtree-split: 63e816f085
2016-07-22 02:04:56 -05:00
Christopher Haster 03c5855496 Add 'features/net/network-socket/' from commit 'e09565474188b905cada21166118a82e66359217'
git-subtree-dir: features/net/network-socket
git-subtree-mainline: db60d6a7f7
git-subtree-split: e095654741
2016-07-21 18:30:42 -05:00
Vincent Coubard e0a5ca1d67 Bring new ble implementation from mbed-os/workshop-nordic.
Commit ID: e3c7c2dd3ea4f00e27667e79155413033cd80060
2016-07-21 15:03:23 +01:00
Vincent Coubard 2259e0d539 Move ARMmbed/feature/FEATURE_BLE into mbedmicro/mbed.
In the process, the path has been shortened and the unecessary ble
directory between FEATURE_BLE and the actual implementation has been
removed.

commit id of ARMmbed : 17728a824c7273e16b6b74fae871e2997c88ecd1
2016-07-20 22:10:36 +01:00
Brian Daniels a9eb39dee4 Adding test frameworks and test sources
This commit adds the following test frameworks:

- `greentea-client` (https://github.com/ARMmbed/greentea-client)
  - This framework provides a key-value api for communicating with the
    greentea test tool (https://github.com/ARMmbed/greentea)
- `unity` (https://github.com/ARMmbed/unity)
  - This framework provides test assert macros that can be used when
    writing test cases
- `utest` (https://github.com/ARMmbed/utest)
  - This framework allows you to execute a series of test cases with
    reporting that works with the greentea test tool
    (https://github.com/ARMmbed/greentea)

The following changes were made when bringing these frameworks into the
tree:

- References to `mbed_drivers/mbed.h` within utest's tests were migrated
  to `mbed.h`
- The yotta file `module.json` was removed from `greentea-client` and
  `unity`
  - `coverage.json` was also removed from `greentea-client`
- `.gitignore` and `.gitattributes` were removed from `greentea-client`
- Apache 2.0 license files were removed from `greentea-client`

This also brings in a number of tests that have been newly written or ported from various sources:

- `TESTS/integration` - Very basic tests, used to check if testing frameworks are working correctly
- `TESTS/mbed_drivers` (Thanks @PrzemekWirkus!) - TESTS ported from mbed OS 3.0 (https://github.com/ARMmbed/mbed-drivers)
- `TESTS/mbedmicro-mbed` (Thanks @PrzemekWirkus!) - Tests that weren't covered by `TESTS/mbed_drivers` that currently live in `libraries/tests/mbed`
- `TESTS/mbedmicro-rtos-mbed` (Thanks @PrzemekWirkus!) - Ported tests that currently live in `libraries/tests/rtos/mbed`
- `TESTS/storage_abstraction` (Thanks @rgrover!) - Tests for the storage_abstraction hal
2016-07-20 12:41:26 -05:00
Alessandro Angelino 5b488f345f uVisor: Add a quick-start guide to use uVisor in mbed OS 2016-07-06 14:54:43 +01:00