Martin Kojtal
1b95c67dd2
mbedtls trng - remove MBEDTLS_ENTROPY_HARDWARE_ALT
...
MBEDTLS_ENTROPY_HARDWARE_ALT will be defined via config in mbedtls,
the mbed wrapper should use DEVICE_TRNG.
2016-09-27 09:16:28 +01:00
Martin Kojtal
1f8da7da34
mbedtls - move TRNG mbed impl into platform folder
2016-09-27 09:14:42 +01:00
Martin Kojtal
ea1041ea36
HAL - RNG rename to TRNG
2016-09-27 09:13:59 +01:00
Martin Kojtal
e8ca16dde7
RNG - rename rng_get_numbers to rng_get_bytes
2016-09-27 08:51:49 +01:00
Martin Kojtal
ee344abd34
mbedtls - mbed wrapper rename to mbed_rng
2016-09-27 08:51:47 +01:00
Martin Kojtal
7d68492bef
mbedtls: add wrapper for mbed hw poll
...
This wrapper uses RNG HAL API
2016-09-27 08:51:34 +01:00
Milosch Meriac
5d6c316597
uVisor: Enforce thread switch atomicity
...
The system hook thread_switch gets called both through the SVC and
though the PendSV, which can get interrupted by the SVC.
Since calls to the uVisor API are not re-entrant, we need to wrap this
function in an atomic section to prevent faults.
2016-09-26 23:09:36 -07:00
Sam Grove
157fa65a51
Merge pull request #2809 from geky/lwip-fix-default-dhcp
...
lwip - Fix default behaviour of DHCP
2016-09-26 02:39:20 -05:00
Christopher Haster
358b7f0521
lwip - Fixed default behaviour of DHCP
2016-09-25 23:28:29 -05:00
Christopher Haster
4f7b10f433
nsapi - Moved literal ip parsing out of dns-query
...
- Not inherently a dns operation
- Able to reuse SocketAddress provided to the NetworkInterface
2016-09-25 22:19:18 -05:00
Christopher Haster
2194ca1c1e
nsapi - Increased DNS buffer size to 512 bytes per spec
2016-09-25 22:19:18 -05:00
Christopher Haster
370afe5d82
nsapi - Folded IP parsing logic into SocketAddress
...
Merged duplicated logic into the SocketAddress class. Based
on parallel work by @mkaleppanen and @kjbracey-arm.
Also added small ipv6 parsing fix by @mikaleppanen
2016-09-25 22:19:18 -05:00
Christopher Haster
d237ee8722
nsapi - Reversed arguments to gethostbyname
...
Updated to match prior conventions
- netconn_gethostbyname
- gethostbyname_r
- gethostbyname2_r
- gethostbyaddr_r
2016-09-25 22:19:18 -05:00
Christopher Haster
3858a13b75
nsapi - Added access to gethostbyname and add_dns_server
...
For performing DNS resolution explicitly through the network-socket
user API.
This interface does not require implementation changes and can rely
entirely on the dns query library in the network-socket API.
2016-09-25 22:16:52 -05:00
Sam Grove
98030475af
Merge pull request #2804 from yogpan01/mbed-os.5.2-rc1
...
Updating mbed-client-c and sal-stack-nanostack-eventloop
2016-09-25 22:11:24 -05:00
Sam Grove
d8efe713e7
Merge pull request #2778 from pan-/avoid_inclusion_of_ble_code_if_not_used
...
BLE - Nordic implementation: Move singleton into a function.
2016-09-25 21:57:23 -05:00
Sam Grove
20133688f0
Revert "[STM32 NUCLEO] Init MAC address"
2016-09-25 16:53:00 -05:00
Sam Grove
363c041c53
Merge pull request #2743 from jeromecoutant/PR_STM32_MAC
...
[STM32 NUCLEO] Init MAC address
2016-09-24 16:40:13 -05:00
Sam Grove
e0bf4153a4
Merge pull request #2739 from jeromecoutant/PR_Update_IPV4
...
STM32 / IPV4: #2685 has been forgotten with #2731
2016-09-24 16:39:58 -05:00
Sam Grove
29b0551eb7
Merge pull request #2728 from andreaslarssonublox/eth_fix
...
Added ethernet and enabled IPV4 feature for the EVK-ODIN-W2/C029 target
2016-09-24 16:35:49 -05:00
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
Yogesh Pande
ce0b86a392
Updating mbed-client-c and sal-stack-nanostack-eventloop
...
**mbed-client-c**
[Full Changelog](https://github.com/ARMmbed/mbed-client-c/compare/v3.0.1...v3.0.2 )
**New feature**
- Make resending flags configurable through Yotta and mbed-cli build systems
- Introducing Configuration management through Config file
**Closed issues:**
- IOTCLT-882 - Confirmable messages sending
**sal-stack-nanostack-eventloop**
[Full Changelog](https://github.com/ARMmbed/sal-stack-nanostack-eventloop/compare/mbed-os-5.0-rc1...mbed-os.5.2-rc1 )
**New features**
- Move configuration parameter resolution to separate header and allow user definable configuration header to be used.
- Port eventloop system timer to use new tick timer functions platform_tick_timer_register, platform_tick_timer_start and platform_tick_timer_stop.
2016-09-24 16:44:27 +03: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
Vincent Coubard
e8bddd6711
BLE - Legacy nordic implementation: Move static singleton into a function.
...
The change of scope all the code from BLE when this code is not used by the end
user application.
2016-09-22 12:10:14 +01:00
Vincent Coubard
b4ac8f214a
BLE - Nordic implementation: Move singleton into a function.
...
This change remove BLE code from the binary generated if the user code doesn't
use BLE.
2016-09-22 11:58:29 +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
jeromecoutant
f05e6200d3
[STM32 NUCLEO] Init MAC address
2016-09-19 11:51:42 +02: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
jeromecoutant
79cacd6c77
STM32 / IPV4: #2685 has been forgotten with #2731
2016-09-19 11:19:53 +02: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