Janne Kiiskila
3ab36cb934
Add default TDBStore location for DISCO_H747I (end of BANK1)
...
Place it at the end of the bank1, last two erase sectors.
As erase sector is 128 kB, default size must be double of that.
This can't be in bank2 as that is apparently dedicated to the M4 core.
Memory map is available in;
https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/flash_data.h
Memory map does not have this information, but issue [11617](https://github.com/ARMmbed/mbed-os/issues/11617 ) has.
2019-10-30 15:25:13 +02:00
Janne Kiiskila
655274a16e
DISCO_H747I - define default storage (TDB_INTERNAL)
...
DeviceKey needs the definition of the default storage place,
define it to be TDB_INTERNAL (as for the other boards).
2019-10-30 15:25:13 +02:00
Martin Kojtal
419556b84a
Merge pull request #11735 from michalpasztamobica/dns_unittest_preparation
...
Dns unittest preparation
2019-10-30 11:04:19 +01:00
Martin Kojtal
f1392d6b6b
Merge pull request #11695 from jeromecoutant/PR_GREENTEA_TRACE
...
GREENTEA: init trace if trace is enabled in json
2019-10-29 15:13:31 +01:00
Martin Kojtal
3c9853af61
Merge pull request #11754 from mirelachirica/athandler_write_hex_string
...
Cellular: Added write_hex_string to AT handler
2019-10-29 10:00:46 +01:00
Martin Kojtal
bc2162ab19
Merge pull request #11718 from desmond-blue/fix-ex-sm-fail-nrf52840
...
Handle legacy process event first on connection complete
2019-10-28 09:54:44 +01:00
Mirela Chirica
beeccbe52c
Cellular: Added write_hex_string to AT handler
2019-10-28 10:34:05 +02:00
Martin Kojtal
98072b24c8
Merge pull request #11748 from cydriftcloud/pr-dev/fix-spurious-link-down-up
...
Fix spurious link up/down when AP IP address range change
2019-10-28 09:28:54 +01:00
Martin Kojtal
e1c3de649d
Merge pull request #11747 from miteshdedhia7/pr/fix-kvstore-statictests
...
Update the internal kvstore flash reservation size to from 7k to 65K for Cypress Devices
2019-10-25 14:42:10 +02:00
Martin Kojtal
a44fd827c2
Merge pull request #11578 from cydriftcloud/pr-dev/ap-sta-op-sync
...
Add synchronization and switching between WhdSoftAPInterface and WhdSTAInterfaces
2019-10-25 13:36:10 +02:00
Lei Zhang
d411d72196
MIDDLEWARE-2134: Fix spurious link up/down when AP IP address range changes
...
Fixed additional link down/up events in whd_wifi_link_state_change_handler by checking additional condition during the transition.
2019-10-24 18:43:07 -07:00
Martin Kojtal
ab931ee27c
Merge pull request #11662 from cydriftcloud/pr-dev/sta-extended-scan
...
Allow WhdAccessPoint scan results with extended parameters
2019-10-24 10:26:07 +02:00
Martin Kojtal
acf576a9ab
Merge pull request #11725 from OpenNuvoton/nuvoton_devicekey_entropy_alt
...
DeviceKey: Fix random key doesn't generate with custom entropy source
2019-10-24 09:22:37 +02:00
Lei Zhang
28884b589c
Add synchronization and switching between SoftAP/STA
...
- A shared mutex is added for synchronization
- ScopedMutexLock is used to to protect
- SoftAP: start, stop
- STA: scan, join, disconnect
- Fix switching issue between SoftAP and STA mode for primary interface
- Avoid reinit primary interface by getting mapping the current interface to the other one which is already on
- In concurrent mode, STA is the default if it is up, otherwise SoftAP is default.
- For non-concurrent mode, the most recent started interface is set as default.
2019-10-23 18:31:20 -07:00
Lei Zhang
7b16166d51
Allow WhdAccessPoint scan result with extended parameters
...
- Add WhdAccessPoint to include additional WHD scan info
- To save memory, only move assignment is supported for WhdAccessPoint
- Add scan_whd to scan for WhdAccessPoint
- Set set_blocking(false) to unsupported by return NSAPI_ERROR_UNSUPPORTED
2019-10-23 14:43:07 -07:00
midd
6fbc610448
Update the internal kvstore size to from 7k to 65K for device that use the internal flash for kvstore
2019-10-23 12:26:07 -07:00
Martin Kojtal
bb48dd35c6
Merge pull request #11624 from geky/littlefs-v1.7.2
...
LittleFS: Update to v1.7.2
2019-10-23 14:55:10 +02:00
Martin Kojtal
e7d95f5f2a
Merge pull request #11536 from jeromecoutant/PR_STM32_EMAC
...
STM32 EMAC configuration update
2019-10-23 13:10:10 +02:00
Michal Paszta
45976419b8
DNS: unified parameter type of nsapi_dns_query_async_cancel
2019-10-23 11:58:15 +03:00
Michal Paszta
83af4e0b36
DNS: Cast void* to intptr_t in nsapi_dns.cpp
...
This is for portability reasons. If this code was compiled to a 64-bit architecture, then the cast from void* to int would lose precision.
2019-10-23 11:58:00 +03:00
Martin Kojtal
c018b2bd46
Merge pull request #11677 from MukundGitHub/bt_firmware_update
...
Update BT Firmware to version 128.
2019-10-23 09:38:22 +02:00
Chun-Chieh Li
1bb351f410
DeviceKey: Fix random key doesn't generate on MBEDTLS_ENTROPY_HARDWARE_ALT
...
Originally, when DEVICE_TRNG is defined, MBEDTLS_ENTROPY_HARDWARE_ALT will also be defined
accordingly to provide entropy source. This is fine for targets supporting TRNG. However, for
targets without TRNG, it is also possible to provide non-TRNG entropy source solution via the
define MBEDTLS_ENTROPY_HARDWARE_ALT. Related discussion can be found at:
https://github.com/ARMmbed/mbed-os/issues/11680
2019-10-22 17:06:12 +08:00
Martin Kojtal
02c722af42
Merge pull request #11620 from jainvikas8/ISSUE-11256
...
Fix enum type to align with psa-arch-tests
2019-10-22 09:42:13 +02:00
Mukund Ghonasgi
84f7e6a2f0
Update BT Firmware to version 128.
...
Fixes issues in BT firmware operation in low power mode.
2019-10-21 17:11:07 -07:00
Martin Kojtal
95343276a5
Merge pull request #11717 from iliapenev/master
...
Fix Quectel M26 context hang
2019-10-21 11:54:50 +02:00
desmond.chen
d9e6110577
Handle legacy process event first on connection complete
2019-10-21 15:57:09 +08:00
Martin Kojtal
bfb435a899
Merge pull request #11657 from u-blox/ubx_apn_setting
...
Cellular: Fix apn check
2019-10-21 09:36:27 +02:00
Martin Kojtal
f6c28e54b6
Merge pull request #11586 from AnttiKauppila/lwip_improvements
...
Cleaned up Mbed LWIP configurations
2019-10-21 09:35:52 +02:00
Ilia Penev
ad1387b2fd
Fix Quectel M26 context hang
2019-10-21 00:48:22 +03:00
Martin Kojtal
9e87200809
Merge pull request #11556 from mikter/master
...
modified Wi-SUN tasklet to return success when calling connect twice
2019-10-18 16:07:25 +02:00
Martin Kojtal
4af05bb370
Merge pull request #11648 from rohfle/target-olimex-stm32e407
...
OLIMEX_STM32E407_F407ZG: Added new target platform
2019-10-18 16:05:05 +02:00
Martin Kojtal
0efea30377
Merge pull request #11644 from MukundGitHub/cypress_cordio_driver_host_wake_logic_changes
...
Cypress Cordio BT Driver setting Host MCU active during Host Wake assert
2019-10-17 14:26:11 +02:00
Mukund Ghonasgi
352ac5ed47
Address ARM Code review feedback.
2019-10-16 10:27:55 -07:00
jeromecoutant
0d678e9299
GREENTEA: init trace if trace is enabled in json
2019-10-16 11:47:07 +02:00
Martin Kojtal
16568da47f
Merge pull request #11605 from ABOSTM/DISCO_H747I_DUALCORE_SUPPORT
...
DISCO_H747I dualcore support
2019-10-16 17:35:25 +08:00
Martin Kojtal
19606710e6
Merge pull request #11630 from kivaisan/move_is_connected_as_protected
...
Cellular: Change visibility of _is_connected as protected
2019-10-16 15:58:50 +08:00
Martin Kojtal
fcd40ab1a5
Merge pull request #11628 from kyle-cypress/pr/directaccess-devicekey-test
...
Make devicekey remainder test more meaningful
2019-10-15 21:41:05 +08:00
Mika Leppänen
3c39dbd737
Corrected nanostack PAE controller
2019-10-15 09:53:36 +03:00
Martin Kojtal
7522f9c348
Merge pull request #11667 from sathishm6/pr/ipv6-multi-cast-join-fix
...
Fixes IPv6 multicast join issue
2019-10-15 13:15:43 +08:00
Martin Kojtal
57c4a08e48
Merge pull request #11539 from mikaleppanen/cert_key_len_supp
...
Enable DER coded certificate support to Wi-SUN mesh API
2019-10-15 13:05:23 +08:00
Martin Kojtal
f05f03faed
Merge pull request #11512 from RonEld/fix_cc_ecdh_alt_for_mont_curve
...
Fix Failure in Cryptocell tests on Montgomrery curve
2019-10-15 13:03:26 +08:00
Alexandre Bourdiol
adcf0e2fa5
DISCO_H747I Dualcore support
...
Add 2 targets for DISCO_H747I dualcore:
* DISCO_H747I -> for CM7 core
* DISCO_H747I_CM4 -> for CM4 core
Current restrictions:
* TICKLESS deactivated
* DeepSleep not supported (DeepSleep wrapped to sleep)
Warning: use of the same IP (example I2C1) by both core at the same time is not prevented,
but is strongly not recommended.
Some Hardware Semaphore are use for common IP, to manage concurrent access by both cores: Flash, GPIO, RCC.
Warning: Drag and drop of binary to DISCO_H747I will flash CM7.
In order to flash CM4, one can use STM32 CubeProgrammer tool.
2019-10-14 18:02:57 +02:00
Sathish Kumar Mani
5b791a4345
Fixes IPv6 multicast join issue
...
Problem Statement:
During multicast join sequence, InternetSocket::join_multicast_group() calls InternetSocket::modify_multicast_group(). modify_multicast_group() sets up the multicast group address (i.e., mreq.imr_multiaddr) to be joined and the interface address (i.e., mreq.imr_interface) to be used for the multicast join request. The interface address is initialized with the default value, which sets the version of interface address to NSAPI_UNSPEC. This results in LWIP::setsockopt() API to attempt IPv6 multicast join on the IPv4 interface address, hence IPv6 multicast join always fails with the protocol error.
Fix:
Initialize interface address version based on the multicast address version in LWIP::setsockopt(), before attempting multicast join operation.
2019-10-14 17:41:27 +05:30
Michal Paszta
3d596468b4
Fix memory leak on NetworkInterface destruction
...
We dynamically allocate memory in every add_event_listener(), but we do not free it on NetworkInterface destruction.
2019-10-14 10:58:18 +03:00
Martin Kojtal
0e7d8927f1
Merge pull request #11615 from kivaisan/remove_deprecated_cellular_tests
...
Cellular: Remove old deprecated tests
2019-10-14 09:28:01 +02:00
Anna Bridge
489c30f569
Merge pull request #11297 from kyle-cypress/pr/qspi-dummy-cycles
...
Differentiate alt and dummy cycles in QSPIF
2019-10-11 14:34:17 +01:00
Antti Kauppila
691fc5525d
Fix build issue
2019-10-11 15:25:50 +03:00
Anna Bridge
64df07288c
Merge pull request #11551 from Tharazi97/Coverity
...
Coverity updates
2019-10-11 11:01:10 +01:00
Anna Bridge
917d982913
Merge pull request #11639 from JarkkoPaso/nanostack_release_for_mbedos_5_14_1
...
Nanostack patch release for mbedos 5.14.1
2019-10-11 10:59:16 +01:00
Anna Bridge
22951d7378
Merge pull request #11616 from u-blox/ubx_cellular_api
...
Cellular: Setting timeout before send command in gethostbyname.
2019-10-11 10:45:41 +01:00