Commit Graph

176 Commits (bd3d6abbc469adde2d7f8a032dfe3679b87d71f7)

Author SHA1 Message Date
Sam Grove 60f661da62 Merge pull request #2684 from nvlsianpu/introduce_peer_manager
[BLE NRF5] introduce the SDK nRF5 Peer manager into BLE security features
2016-09-24 16:28:18 -05:00
Sam Grove 584384c38f Merge pull request #2664 from geky/nsapi-static-config
nsapi - Add optional API for static configuration of network interfaces
2016-09-24 16:27:55 -05:00
Christopher Haster 64ac2105a3 lwip - Added option to set static IP addresses
Provided through the config options added to the network interface:
- EthernetInterface::set_network(ip_address, netmask, gateway)
- EthernetInterface::set_dhcp(dhcp)
2016-09-23 04:41:37 -05:00
Christopher Haster f0934fd0f1 nsapi - Added optional API for static configuration of network interfaces
This accomplishes two things:
1. Provides a simple route for adding static IP address support to the
   base NetworkInterface
2. Provides a simple route for adding configurability to network
   interfaces and unifies the network interface to consistent connect
   call, allowing network interfaces to be passed around abstractly

NetworkInterface
 - set_network
 - set_dhcp

WiFiInterface
 - set_credentials

CellularInterface
 - set_credentials
2016-09-23 04:39:13 -05:00
Martin Kojtal e4dde3460f Merge pull request #2774 from AlessandroA/uvisor_rpc
uVisor: Update to v0.25.0
2016-09-23 09:48:07 +01:00
Sam Grove c1c1492fa7 Merge pull request #2744 from jeromecoutant/PR_STM32_IPV4
FEATURE_IPV4/TESTS: result status could be wrong
2016-09-22 01:21:35 -05:00
Alessandro Angelino 2a42255bba uVisor: Update to v0.25.0
The update includes:

* Fixes to the ARMv7-M MPU driver.
* RPC APIs implementation.
* NVIC_SystemReset virtualization.
2016-09-21 18:16:33 +01:00
Alessandro Angelino 8c5200c37f uVisor: Fix the core selection pattern 2016-09-21 17:16:47 +01:00
Martin Kojtal 2866e21bea Merge pull request #2701 from simonqhughes/master
CFSTORE Integration with Storage-Volume-Manager and Flash-Journal API update to the latest versions
2016-09-21 17:03:31 +01:00
jeromecoutant 257c3678da tcp_client_hello_world K&R style 2016-09-20 14:09:53 +02:00
Andrzej Puzdrowski 13a1fd5584 [BLE NRF5] Fix bug: "purgeAllBondingState could had returned before deletion task was done"
by reimplement the btle_purgeAllBondingState as blocking function.
2016-09-20 12:01:22 +02:00
jeromecoutant b7caa5448f tcp_client_hello_worldminor update 2016-09-20 09:40:48 +02:00
jeromecoutant 11d0f51bc4 FEATURE_IPV4/TESTS: result status could be wrong
result status should be set to false by default before starting test execution.
2016-09-19 16:05:29 +02:00
Milosch Meriac 2ca40955a6 uVisor: Debug Box & ENET DMA-support for default box
- Enhanced Debug Box
- Allow hw-specific ACL extensions per region
- Reduce background region rights to debugger and core
- Added Beetle SoC uVisor support
- MPU code restructured
2016-09-19 11:38:06 +01:00
Milosch Meriac d389f65cf2 Don't disable the MPU for ENET when uVisor is around 2016-09-19 11:38:06 +01:00
Bogdan Marinescu 65ffa8cbb7 Merge pull request #2702 from mazimkhan/uvisor-gt-client-integration
Changes in greentea-client for uvisor-tests-standalone integration
2016-09-19 12:47:06 +03:00
Sam Grove ff89555f45 Merge pull request #2731 from jeromecoutant/PR_STM32_IPV4
[TARGET_STM] IPV4 feature hal files factorisation
2016-09-18 17:47:53 -05:00
Sam Grove 3c33e4f9e3 Merge pull request #2722 from geky/nsapi-rst
lwip - Fixed error code on disconnect TCP socket
2016-09-18 17:47:34 -05:00
Sam Grove e6dace5d18 Merge pull request #2720 from yogpan01/mbed-os.5.2-rc1
Removing mbed-client and other fix commits.
2016-09-16 17:37:08 -05:00
Sam Grove 6bfcb3cff0 Merge pull request #2665 from geky/nsapi-socketaddress-equality
nsapi - Add equality operators to SocketAddress class
2016-09-16 17:28:01 -05:00
Sam Grove 52fd7b6864 Merge pull request #2642 from c1728p9/stack_stats
Stack stats
2016-09-16 17:24:20 -05:00
Sam Grove 1a91c1cc1d Merge pull request #2561 from geky/nsapi-network-state
lwip - Add checks for invalid state of network
2016-09-16 17:20:34 -05:00
Sam Grove c940d0e20a Merge pull request #2551 from ARMmbed/runtime_configuration
Remove IPv6 link time dependency on an RF phy
2016-09-16 17:17:51 -05:00
Sam Grove e4c8d76ba9 Merge pull request #2688 from artokin/master
Avoid type collision by renaming callback variable
2016-09-16 14:22:59 -05:00
jeromecoutant acbc3e1e09 [TARGET_STM] IPV4 feature hal files factorisation
Same code was duplicated for all STM32 targets
2016-09-16 16:21:59 +02:00
Martin Kojtal 5d1d8b4033 Merge pull request #2685 from andreaslarssonublox/stm32f4_phy_fix
lwip - replace vendor specific register usage in stm32f4_emac.c with basic register
2016-09-16 08:23:37 +01:00
Christopher Haster b7d9b28bc4 lwip - Fixed error code on disconnect TCP socket
Fixed to return 0 on successful shutdown
2016-09-15 15:19:40 -05:00
Sam Grove da14bce7a2 Merge pull request #2518 from fvincenzo/master
Enable uvisor on Beetle
2016-09-15 14:01:07 -05:00
Yogesh Pande 86e0841f04 Removing mbed-client and other fix commits.
**FEATURE_CLIENT**
Removing FEATURE_CLIENT from mbed-os source tree.

This commit removes FEATURE_CLIENT from mbed-os source tree
Applications using mbed-client now have to explicitly add
mbed-client.lib in addition to mbed-os.lib.

**mbed-client-c**
 -  [v3.0.1](https://github.com/ARMmbed/mbed-client-c/releases/tag/v3.0.1) (15-Sep-2016)
[Full Changelog](ARMmbed/mbed-client-c@mbed-os-5.0-rc1...v3.0.1)

**New features**

- Creates a new sn_nsdl_put_resource function, which takes ownership of sn_nsdl_resource_info_s resource object (not members) instead of creationg copy of it
- Rearranged struct member variable to pack better into memory
- Refactored coap_options_list to treat number members as numbers instead of strings
- Add option to pass incoming blocks to application instead storing them internally
- Added API for deleting one message from resending

**Closed issues:**

- IOTCLT-1001 - mDS does not sent RST anymore for Client after DELETE /subscriptions

**coap-service**
 -  [v4.0.3](https://github.com/ARMmbed/coap-service/releases/tag/v4.0.3) (15-Sep-2016)
[Full Changelog](ARMmbed/coap-service@mbed-os-5.0-rc1...v4.0.3)

**New features**

- Updated coap-service to use new structure from mbed-client-c
- Set link layer security when opening socket.
2016-09-15 20:42:06 +03:00
Mohammad Azim Khan 7cc3f40b38 Changes in greentea-client for uvisor-tests-standalone integration 2016-09-14 13:36:08 +01:00
Russ Butler 9e4a479794 Add prefix to mark cmsis_os functions as private
Add a leading underscore to give an indication that the new cmsis_os
API functions are not official.
2016-09-13 15:53:17 -05:00
Russ Butler 1921b1aa96 Add stack metrics to greentea
Update greentea to report thread information when a thread exits or
is terminated and when testing completes. Also move metrics into
a dedicated greentea file.
2016-09-13 15:52:18 -05:00
Simon Hughes 5e22db842f This commit includes the following CFSTORE/Flash-Journal/Storage updates and fixes:
- flash-journal basicAPI fix for ARM toolchain
- Updated storage-abstraction with version 0.4.7
  (commit c7c4a8c52298bbc006a6f53a059fb2599cad73cc).
- https://github.com/ARMmbed/storage-volume-manager at version v0.2.10.
- https://github.com/ARMmbed/mtd-k64f v0.4.2 version of flash.c (imported as storage_driver.c).
- update to CFSTORE to use the storage-volume-manager API to initialize volume manager and
  add a volume for CFSTORE to use.
- https://github.com/ARMmbed/flash-journal at version v0.5.3
  (commit 4c58165e2fa02c6ed2b9d166a9c96967e81f458f) including readFrom() support.
- Taking flash-journal-strategy-sequential v0.6.7 strategy.c
  (commit b11a718761aa9f33679956968a21aaef9179bde1).
- GCC_ARM, ARM and IAR compiler warning fixes for new versions of flash-journal code.
- Fix storage-volume-manager test cases for concurrent access from 2 volumes to use
  addresses within the 512-1024kB address range, which is within the cfstore added volume.
- Fix cfstore/storage-volume-manager IAR warnings when building with verbose flag.
2016-09-13 18:16:56 +01:00
Andrzej Puzdrowski e67117b8ea introduce the SDK nRF5 Peer manager into BLE security features
PM will be used for SoftDevices s13x, otherwise DM will be used.

Fix - security key distribution settings - Signing is not supported.

declare usage of encryption LTK and IRK if boonding enabled

deleted unused local reference to nRF5xGap class in bleGattcEventHandler.
fix PM internal bug (For gcc with -0s optimization an application fail to save a boonding data)
fuse redeclaration of PACKED macro in nRF5 SDK sources
2016-09-13 14:16:55 +02:00
Arto Kinnunen 1b46d2bbf9 Avoid type collision by renaming callback variable
Build jobs are failing due build error "arm_hal_timer.cpp:50:5:
error: reference to 'callback' is ambiguous".

Fix the build error by renaming callback to arm_hal_callback to
avoid collision with callback defined in ./mbed-os/hal/api/Callback.h
2016-09-13 15:02:43 +03:00
andreas.larsson 189d932169 Replaced usage of vendor specific register with basic registers when checking link status 2016-09-13 12:04:04 +02:00
Vincenzo Frascino 08e6f4121c [BEETLE] Add platform to uvisor importer
This patch adds Beetle platform to uvisor importer.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-09-12 10:54:33 +01:00
Christopher Haster e3037ef7b0 nsapi - Added equality operators to SocketAddress class 2016-09-11 20:48:01 -05:00
Sam Grove 5c30c0f166 Merge pull request #2594 from svastm/fix_tcp_server_constructor
Fix TCPServer constructor
2016-09-10 13:04:55 -05:00
Sam Grove 5b90bf7b1d Merge pull request #2624 from simonqhughes/master
CFSTORE Bugfix for realloc() moving KV area and cfstore_file_t data structures not being updated correctly
2016-09-10 07:26:41 -05:00
Sam Grove 3806c8713b Merge pull request #2559 from pan-/utest_globals_optimizations
[utest]: Allow the linker to remove any part of utest if not used
2016-09-10 07:16:34 -05:00
Sam Grove c1ee7fb494 Merge pull request #2504 from ohagendorf/disco_f769_ii
[Disco_F769NI] adding new target
2016-09-10 07:16:21 -05:00
Sam Grove a35cd7f81f Merge pull request #2579 from geky/nsapi-max-socket-accept
lwip - Fix handling of max sockets in socket_accept
2016-09-10 07:11:20 -05:00
Sam Grove fb7ffcb5a3 Merge pull request #2580 from geky/nsapi-bind-again
lwip - Add check for previously-bound socket
2016-09-10 07:10:45 -05:00
Sam Grove b10e3a9163 Merge pull request #2578 from c1728p9/fix_double_free
Fix double free in NanostackInterface
2016-09-09 18:00:09 -05:00
Vincent Coubard aab107020b Use SingletonPtr for the internal variables defaults and handlers in utest_harness. 2016-09-09 17:22:41 +01:00
Olaf Hagendorf 765aeb0dc6 disco_f769ni adding ethernet init
the IPV4 feature was already enabled in an earlier commit but the mbed 5 ethernet initialisation was missing
2016-09-09 14:21:55 +02:00
Sam Grove 72b0d46e01 Merge pull request #2545 from marcuschangarm/flash_blob
Added define guards for SEQUENTIAL_FLASH_JOURNAL_MAX_LOGGED_BLOBS so …
2016-09-09 01:49:39 +02:00
Sam Grove a6b27319ec Merge pull request #2496 from geky/callback-cv
Add cv-qualifiers to Callback and deprecate combinatorial explody functions
2016-09-09 01:45:25 +02:00
Vincent Coubard caa4c4f2a3 Use a SingletonPtr for the Timeout object in utest_shim.
Makes sure to initialize it, otherwize, it might be initialized in
interrupt context.
2016-09-06 10:14:26 +01:00