Arto Kinnunen
1b171791c3
Nanostack: Add config for Wi-SUN device type
...
Add configuration option for Wi-SUN device types.
2020-03-19 08:44:37 +02:00
Marcin Tomczyk
6a21dfa080
[Storage] Use internal flash for KVStore always if default configuration. TDB_INTERNAL is always for first choose.
2020-03-18 06:05:52 -07:00
Martin Kojtal
dc21432cc1
Merge pull request #12633 from kivaisan/bg96_use_offload_tlssocket_flags
...
Cellular: Add offload TLSSocket implementation inside feature flag
2020-03-17 12:17:12 +01:00
Vishal Bhargava
4ea64cb6c6
Update hci_tr.c
...
Indent formating
2020-03-17 12:13:07 +05:30
Kimmo Vaisanen
51175eed1f
Cellular: Add offload TLSSocket implementation inside feature flag
...
Reduce binary size (~500 bytes with GCC_ARM and developer profile) when offloaded TLSSocket is not in use.
2020-03-17 08:42:59 +02:00
Vishal Bhargava
5b65d3b119
Update hci_tr.c
...
Handled fragmented packet case also.
2020-03-17 11:57:14 +05:30
Rajkumar Kanagaraj
a6b78c6429
Remove Semaphore deprecated APIs
2020-03-16 09:37:45 -07:00
Martin Kojtal
2a4e48179d
Merge pull request #12624 from OpenNuvoton/nuvoton_ec2x
...
Cellular: Support EC2x power control pin support no connect
2020-03-16 14:34:58 +00:00
jeromecoutant
488c9db81e
STM32 EMAC : remove TIMEOUT issue when cablke is not plugged yet
2020-03-13 16:58:47 +01:00
Anna Bridge
532654ebb3
Merge pull request #12597 from kivaisan/alt1250_ppp_cellular
...
Cellular: Add ALT1250 PPP cellular target
2020-03-13 11:08:13 +00:00
Chih-Chiang Chang
73b96c1cbc
Support EC2x PWRKEY set as no connect
2020-03-13 13:46:24 +08:00
Kevin Bracey
bb733f1ee8
Callback updates
...
* Optimise clearing by adding `nullptr` overload. This overload means
`Callback(NULL)` or `Callback(0)` will no longer work; users must
use `Callback(nullptr)` or `Callback()`.
* Optimise clearing by not clearing storage - increases code size of
comparison, but that is extremely rare.
* Reduce ROM used by trivial functors - share copy/destroy code.
* Config option to force trivial functors - major ROM saving by
eliminating the "operations" table.
* Config option to eliminate comparison altogether - minor ROM saving by
eliminating zero padding.
* Conform more to `std::function` API.
2020-03-11 15:46:03 +02:00
Anna Bridge
da9f85b6af
Merge pull request #12580 from cy-arsm/cy-arsm/pr/PR_SoftAP_STA_Fix_revert
...
Reverting #12312 as it breaking current WiFI connect()->Disconnect() sequence
2020-03-10 12:50:27 +00:00
Anna Bridge
e307695e82
Merge pull request #12599 from tymoteuszblochmobica/rotfix
...
Greentea kvstorage tests Cypress targets fix.
2020-03-10 12:08:48 +00:00
Martin Kojtal
0692fc65bc
Merge pull request #12567 from jeromecoutant/PR_EMAC_TRACE
...
STM32 EMAC : increase thread size when mbed-trace is enabled
2020-03-09 15:01:20 +00:00
Tymoteusz Bloch
7b9170541a
KV storage. Root of trust fix to pass Greentea tests for CY8CPROTO_062_4343W.
2020-03-09 13:53:28 +01:00
Kimmo Vaisanen
164a2cab4d
Cellular: Add ALT1250 PPP cellular target
...
Co-authored-by: Mirela Chirica <mirela.chirica@arm.com>
Co-authored-by: Antti Kauppila <antti.kauppila@arm.com>
2020-03-09 14:47:52 +02:00
Martin Kojtal
e71ab0d0f0
Merge pull request #12590 from devran01/importer-remove-license-file
...
Importer script: remove apache-2.0.txt
2020-03-09 09:01:04 +00:00
Martin Kojtal
c17f32f04e
Merge pull request #12507 from variablo87/cellular-context-semaphore-release
...
Cellular: release _semaphore only once
2020-03-09 07:14:47 +00:00
Simon Butcher
19b208f211
Update the contribution guidelines for Mbed TLS
...
This commit changes the contribution guidelines to refer the user to the
contribution guidelines in the Mbed TLS repo. It also removes the outdated references to the
CLA, and CLA not being required for trivial changes.
Signed-off-by: Simon Butcher <simon.butcher@arm.com>
2020-03-06 17:32:17 +00:00
Anna Bridge
1f2e66dd49
Merge pull request #12560 from Patater/import-mbedcrypto-3.0.1
...
crypto: Update to Mbed Crypto 3.0.1
2020-03-06 13:57:57 +00:00
Devaraj Ranganna
4773a219b8
tls: Remove apache-2.0.txt from importer script
...
Both Mbed TLS and Mbed Crypto libraries doesn't contain
`apache-2.0.txt` anymore. Do not access those files in the importer
script.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-03-06 11:26:45 +00:00
Arun S
19cbfd7c15
Reverting #12312 as it breaking current WiFI
...
connect()->Disconnect() sequence
This reverts commit 18285e1fc1
2020-03-05 16:44:59 +05:30
Martin Kojtal
aa6fd58804
Merge pull request #12558 from jarlamsa/differing_eusize
...
Fix issue when TDBStore has varying erase sizes between areas.
2020-03-04 13:25:51 +00:00
Martin Kojtal
9ec6f5d8fa
Merge pull request #12536 from DavidLin1577/patch-7
...
Fixed typo 'thead' in thread_neighbor_class.h
2020-03-04 13:23:26 +00:00
Martin Kojtal
0542b40f36
Merge pull request #12537 from DavidLin1577/patch-8
...
Minor optimization to improve readability of code
2020-03-04 13:23:08 +00:00
Martin Kojtal
b4034dc547
Merge pull request #12551 from rajkan01/mpm_remove_deprecated
...
Remove mbed power management deprecated API
2020-03-04 08:22:52 +00:00
Martin Kojtal
6137c98d6a
Merge pull request #12543 from kivaisan/remove_deprecated_connect
...
TLSSocket: Remove deprecated connect
2020-03-04 08:20:23 +00:00
jeromecoutant
3a02671028
STM32 EMAC : increase thread size when mbed-trace is enabled
2020-03-04 09:14:41 +01:00
Martin Kojtal
498e2d2bc8
Merge pull request #12499 from u-blox/ubx_cellular
...
Cellular: For ublox modem, read '@' char first then send data.
2020-03-04 07:58:51 +00:00
Martin Kojtal
804d1e613e
Merge pull request #12489 from kjbracey-arm/override_lwip
...
C++11-ify virtualisation in lwIP classes
2020-03-04 07:58:30 +00:00
Martin Kojtal
6677249a08
Merge pull request #12506 from kivaisan/fix_socketaddress_regression
...
Fix 2 string based IP address removal regressions
2020-03-04 07:52:31 +00:00
Martin Kojtal
b3583f04cf
Merge pull request #12464 from jeromecoutant/PR_ETHERNET
...
STM32 EMAC : add configuration choice and connection check
2020-03-03 16:04:18 +00:00
Martin Kojtal
6e6603f97d
Merge pull request #12534 from rajkan01/callchain_remove_deprecated
...
Remove the deprecated CallChain class and its APIs
2020-03-03 14:57:59 +00:00
Martin Kojtal
eaac84be72
Merge pull request #12467 from kjbracey-arm/nsapics
...
Inline nsapi_create_stack(NetworkStack)
2020-03-03 14:13:28 +00:00
Rajkumar Kanagaraj
df32091c7b
Remove the deprecated RawSerial, UARTSerial, Serial class and SerialBase attach API
2020-03-03 05:19:42 -08:00
Jaeden Amero
9ae0868410
crypto: Update to Mbed Crypto 3.0.1
2020-03-03 12:56:07 +00:00
Jarno Lamsa
b34dd0ce89
Remove _variant_bd_erase_unit_size
...
In some cases, it is possible that every erase unit in area 0
has the same size, but they are still different than in area 1.
Remove the flag for varying erase sizes and instead check from
flash, what is the erase size of the current unit.
2020-03-03 13:05:27 +02:00
Kimmo Vaisanen
86dba54202
Fix L3IPInterface to use SocketAddress class for addresses
...
String based ip addresses has been deprecated and SocketAddress must be
used instead.
2020-03-03 12:13:51 +02:00
Kimmo Vaisanen
6e1f7bf1f9
Cellular: Fix trace to use new SocketAddress based get_ip_address
...
String based get_ip_address has been removed and SocketAddress based must be
used.
2020-03-03 12:12:16 +02:00
Kimmo Vaisanen
2987bedb68
TLSSocket: Remove deprecated connect
...
String based connect has been removed but was still defined in TLSSocket header for offloaded variant.
This is a regression fix for 458957d399
2020-03-03 12:08:32 +02:00
Martin Kojtal
f4df4e75ea
Merge pull request #12487 from kjbracey-arm/override_nsapi
...
C++11-ify virtualisation in netsocket
2020-03-03 09:57:57 +00:00
Rajkumar Kanagaraj
35f1b4ab53
Remove mbed power management deprecated API
2020-03-02 15:06:26 -08:00
jeromecoutant
b15dffaef2
STM32 EMAC : add PHY ID information
2020-03-02 16:21:35 +01:00
jeromecoutant
01a186a952
STM32 EMAC : thread size is configurable
2020-03-02 16:21:23 +01:00
jeromecoutant
c3c0928786
STM32 EMAC : enable mbed_trace
2020-03-02 16:21:11 +01:00
jeromecoutant
89a537b9a8
STM32 EMAC : check PHY_BSR value before connect status
2020-03-02 16:20:06 +01:00
jeromecoutant
c3653c6813
STM32 EMAC : check driver function status before returning success
2020-03-02 16:19:58 +01:00
jeromecoutant
1b40076376
STM32 EMAC : more configurable
...
- PHY default configuration can be changed
- AutoNegotiation
- Speed
- DuplexMode
- PHY register offset can be updated depending on chosen PHY
All unused parameters are cleaned.
2020-03-02 16:19:26 +01:00
Martin Kojtal
c2c6d251fd
Merge pull request #12521 from kivaisan/remove_include_mbedtls_config
...
Remove explicit include of mbedtls/config.h
2020-03-02 09:34:42 +00:00
David Lin
d5f4b8effb
Fix function spelling mistake in Thread
...
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 12:05:18 +08:00
David Lin
922452d8d0
Fix function spelling mistake in border_router.c
...
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 12:00:39 +08:00
David Lin
d76df4c3d0
Fix function spelling mistake in iphc_decompress.c
...
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:56:43 +08:00
David Lin
c2e649a4c3
Fix function spelling mistake in lowpan_context.c
...
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:53:32 +08:00
David Lin
5a883a2fe2
Fix function spelling mistake in lowpan_context.h
...
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:50:39 +08:00
David Lin
949bcaa155
Fixed typo 'thead' in thread_neighbor_class.h
...
Note that the word 'thead' is wrong,
so that 'thead' should been replaced with thread'.
2020-02-29 08:44:22 +08:00
Rajkumar Kanagaraj
6e969ec5ab
Remove the deprecated CallChain class and its APIs.
2020-02-28 07:41:44 -08:00
Norbert Hesse
327445a00b
release _semaphore only once
...
see issues #12325
2020-02-28 15:06:55 +01:00
Kevin Bracey
d8d35eda9f
C++11-ify virtualisation in netsocket
...
Use `override` and `final` where appropriate, and eliminate unnecessary
`virtual`.
Some other C++11 simplifications.
Reduces code size.
2020-02-28 13:34:18 +02:00
Kevin Bracey
695e872202
Correct NetworkStackWrapper::get_ip_address
...
Previous change that removed string-based APIs missed
`NetworkStackWrapper::get_ip_address`. Remove string-based method (which
is not overriding anything in `NetworkStack`) and add missing binary
form to implement `NetworkStack::get_ip_address`.
2020-02-28 13:29:16 +02:00
Martin Kojtal
0286e3c325
Merge pull request #12525 from rajkan01/ticker_remove_deprecated
...
Remove the deprecated Ticker APIs
2020-02-28 09:52:22 +00:00
Martin Kojtal
9ad292a2a3
Merge pull request #12466 from jeromecoutant/PR_METRIC
...
MBED_STACK_STATS_ENABLED : Add stack_name information in greentea metrics
2020-02-28 08:45:44 +00:00
Martin Kojtal
1bf93039fb
Merge pull request #12457 from artokin/update_stm32_emac_ethernet_driver
...
Update STM32 EMAC driver - limit RX frame length
2020-02-28 08:45:24 +00:00
Martin Kojtal
fc5f3259de
Merge pull request #12458 from GaborAbonyi/add_musca_b1_platform
...
Add Musca B1 target
2020-02-27 13:53:58 +00:00
Rajkumar Kanagaraj
db0bf08e4d
Remove the deprecated Ticker APIs
2020-02-27 03:26:12 -08:00
Martin Kojtal
3739ccda0f
Merge pull request #12488 from kjbracey-arm/override_ns
...
C++11-ify virtualisation in Nanostack classes
2020-02-27 08:52:08 +00:00
Kimmo Vaisanen
29affbccab
Remove explicit include of mbedtls/config.h
...
Including mbedtls/config.h should not be done explicitely. This prevents using MBEDTLS_CONFIG_FILE macro.
Correct config file is automatically included by other mbedtls header files.
2020-02-27 09:45:22 +02:00
mudassar-ublox
2fc95a5421
Read '@' char first then send data
2020-02-27 11:07:56 +05:00
Martin Kojtal
67e950296d
Merge pull request #12385 from tymoteuszblochmobica/rot
...
DeviceKey Root of Trust generation refactored.
2020-02-26 16:59:24 +00:00
Praveen babu chandran
8b97e4c3ef
Add WPA3 support for green tea tests
2020-02-25 10:14:30 -08:00
Martin Kojtal
732692cd77
Merge pull request #12475 from VeijoPesonen/purge_rspif
...
Proposal to remove SPIFReducedBlockDevice
2020-02-25 15:23:23 +00:00
Martin Kojtal
18ad99a883
Merge pull request #12481 from artokin/nanostack_release_for_mbed_os_6
...
Nanostack release for Mbed OS 6
2020-02-25 10:08:59 +00:00
Kevin Bracey
aa9058a293
C++11-ify virtualisation in lwIP classes
...
Use `override` and `final` where appropriate, and eliminate unnecessary
`virtual`.
Some other C++11 simplifications.
2020-02-25 10:09:10 +02:00
Kevin Bracey
b4c1f7f3da
Correct LWIP::get_ip_address
...
Previous change that removed string-based APIs missed
`LWIP::get_ip_address`. Remove string-based method (which is not
overriding anything in `NetworkInterface`) and add missing binary form
to implement `NetworkInterface::get_ip_address`.
2020-02-25 09:57:56 +02:00
Martin Kojtal
9205bdf890
Merge pull request #12490 from DavidLin1577/patch-3
...
Fixed error of structure mlme_key_descriptor_t
2020-02-24 15:45:35 +00:00
Veijo Pesonen
b575df072f
Removes RSPIF block device driver
...
The driver is not needed by the bootloader anymore.
2020-02-24 16:01:14 +02:00
Martin Kojtal
3f4e2a6746
Merge pull request #12491 from DavidLin1577/patch-6
...
Fixed error of function 'mac_fcf_lenght'
2020-02-24 12:44:04 +00:00
David Lin
d2d4a87c3d
Fixed error of function 'mac_fcf_lenght'
...
Note that the function 'mac_fcf_lenght' is wrong,
so that 'mac_fcf_lenght' should been replaced with 'mac_fcf_length'.
2020-02-21 23:19:56 +08:00
David Lin
20f6a83f67
Fixed error of structure
...
KeyDeviceFrameCouterList -> KeyDeviceFrameCounterList
2020-02-21 22:21:00 +08:00
David Lin
cd2d3ce422
Fixed spelling mistake of structure
...
KeyDeviceFrameCouterList -> KeyDeviceFrameCounterList
2020-02-21 22:15:48 +08:00
Martin Kojtal
17394b98be
Merge pull request #12484 from mtomczykmobica/IOTSTOR-1009
...
TDBStore magic number if endian sensitive fix comment
2020-02-21 13:47:18 +00:00
Tamas Kaman
551c3c553c
Add ARM_MUSCA_B1 as a new target platform
...
Musca-B1 is a Cortex-M33 based target with security extension enabled.
- ARM_MUSCA_B1 is the non-secure target running mbed-os.
- ARM_MUSCA_B1_S is the secure target running TF-M.
- TF-M sources were imported and patched in previous commits.
- TF-M secure bootloader (McuBoot) for MUSCA_B1 is submitted by a
pre-built binary.
- A post-build hook concatenates The secure and non-secure binaries,
signs it and then concatenates the bootloader with the signed binary.
Change-Id: I4b36290941b5f0bb7aa7c12dda2f38b5c1e39ae2
Signed-off-by: Tamas Kaman <tamas.kaman@arm.com>
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-02-21 14:34:39 +01:00
Kevin Bracey
04580b73d8
C++11-ify virtualisation in Nanostack classes
...
Use `override` and `final` where appropriate, and eliminate unnecessary
`virtual`.
Some other C++11 simplifications.
Eliminate two unused header files (with no corresponding source files).
Reduces code size.
2020-02-21 15:20:57 +02:00
Kevin Bracey
f40c5616e1
Inline nsapi_create_stack(NetworkStack)
...
The rather fiddly `nsapi_create_stack` template + overloads used during
socket formation don't inline their core, which is the identity operation
for `NetworkStack *` itself. Make code generation easier by having that
core be inline.
2020-02-21 15:13:14 +02:00
Martin Kojtal
8f1bf967d3
Merge pull request #11942 from michalpasztamobica/remove_deprecated_apis
...
IPCore String-based API removal
2020-02-21 12:14:06 +00:00
Martin Kojtal
72b2fcf29a
Merge pull request #12384 from jeromecoutant/PR_WBDEBUG
...
STM32WB : update BLE part with better support
2020-02-21 12:12:42 +00:00
Marcin Tomczyk
b5d0b7b6f1
IOTSTOR-1009 - TDBStore magic number if endian sensitive - remove incorrect comment
2020-02-21 00:57:50 -08:00
Arto Kinnunen
da04cc3fcf
Update STM32 EMAC driver based on review
...
-Fix len type
-Use ETH_RX_BUF_SIZE instead of hard-coded value 1500
2020-02-21 10:26:57 +02:00
Arto Kinnunen
6a410f89eb
Update STM32 EMAC driver - limit RX frame length
...
DISCO_F769NI EMAC driver may return ethernet packet with illegal
length when driver is under heavy load. In one case, the received
bytes indicate frame length of 53 bytes but advertised data length
was 65518 bytes. In another case EMAC driver variable
`EthHandle.RxFrameInfos.length` contained value 0xFFFF FFFC.
As a work-around accept only 1-1500 bytes long ethernet packets.
2020-02-21 10:26:40 +02:00
Arto Kinnunen
85e85ee93a
Merge commit 'e7914df2fc0d604e27f5c26c935d05181f6be72d'
...
* commit 'e7914df2fc0d604e27f5c26c935d05181f6be72d':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9b3e144f5b..fb7413b846
2020-02-20 16:29:05 +02:00
Seppo Takalo
94bb831753
Extend storage tests with de-init test case
2020-02-20 12:22:16 +02:00
jeromecoutant
f0370222d8
STM32WB BLE : add FW version when trace is enabled
2020-02-20 09:20:43 +01:00
jeromecoutant
55b42a683e
STM32WB HCIDriver trace update
2020-02-20 09:20:36 +01:00
Martin Kojtal
69a0542ade
Merge pull request #12453 from jeromecoutant/PR_TRACEGROUP
...
STM32 TRACE_GROUP update
2020-02-19 14:33:17 +00:00
Martin Kojtal
1b8370d495
Merge pull request #12444 from DavidLin1577/patch-5
...
Fixed typo: 'lenght' in ns_crc.h
2020-02-19 14:32:26 +00:00
Martin Kojtal
b1c1857ae5
Merge pull request #12445 from DavidLin1577/patch-6
...
Fixed typo: 'lenght' in ip6string.h
2020-02-19 14:32:10 +00:00
Martin Kojtal
d4cff726ee
Merge pull request #12443 from DavidLin1577/patch-4
...
Fixed typo: 'lenght' in coap_service_api.h
2020-02-19 14:31:16 +00:00
Martin Kojtal
9f5ced30dc
Merge pull request #12415 from jeromecoutant/PR_H7README
...
STM32H7 : add readme file for dual core use
2020-02-19 12:52:10 +00:00
jeromecoutant
2df428b36d
MBED_STACK_STATS_ENABLED : Add stack_name information in greentea metrics
2020-02-18 18:00:40 +01:00
Tymoteusz Bloch
0e7a53cdb1
DeviceKey Root of Trust generation refactored.
...
It's no longer automatically and silently created.
2020-02-18 16:32:20 +01:00