Commit Graph

28085 Commits (60f615024d1fe3912dddf1aef457423e7737912d)

Author SHA1 Message Date
Martin Kojtal 599ddce7aa
Merge pull request #12972 from kivaisan/ALT1250_enable_tac_info_for_reg_status_mbed_5_15
Alt1250 enable tac info for registration status (mbed 5.15)
2020-06-08 09:06:11 +02:00
Martin Kojtal 9cac2f4dac
Merge pull request #12970 from OpenNuvoton/nuvoton_5.15_watchdog_lxt
Nuvoton: Refine more on watchdog HAL (5.15)
2020-06-08 09:05:43 +02:00
Martin Kojtal f2b0cdac6d
Merge pull request #12895 from mikaleppanen/ns_kv_store_5_15
Added kv store adaptation to nanostack file interface (Mbed OS 5.15)
2020-06-08 09:04:58 +02:00
Martin Kojtal a3fdbc7944
Merge pull request #12894 from mikaleppanen/fea_wisun_nanostack_device_type_config_5_15
Nanostack: Add config for Wi-SUN device type (Mbed OS 5.15)
2020-06-08 09:04:37 +02:00
Martin Kojtal 014c926c3b
Merge pull request #12892 from mikaleppanen/new_wisun_conf_param_5_15
Add new configuration parameters to Wi-SUN network interface and Border Router class (Mbed OS 5.15)
2020-06-08 08:59:02 +02:00
Martin Kojtal 2d20bb16e6
Merge pull request #12882 from artokin/backport_pr_12522
[Mbed OS 5.15] Add getsockopt option to read network property
2020-06-08 08:58:02 +02:00
Mika Tervonen bd00cf19e9 Allowed to set Wi-SUN certificates in DISCONNECTED state
Before certificates were able to set only once.
Now after disconnect those can be set Again

Also those can be set when stack is active
2020-06-05 12:49:50 +03:00
Darryl Green cd1b59b511 Change unrecognised features to a warning, rather than error
Give a warning rather than error if an unrecognised feature is used.
This will help compatibility when new features are added.

Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:18:19 +01:00
Darryl Green cff3dd7eb3 Fix assertation ordering in tests
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:04:18 +01:00
Darryl Green 4effe85be7 Define mbedtls_ecc_group_to_psa inline for NS world
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:04:18 +01:00
Darryl Green f7fdee385f Remove references to mbed-crypto
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:04:18 +01:00
Darryl Green 560e7c03c6 Move Mbed Crypto Greentea tests to Mbed TLS
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:04:18 +01:00
Darryl Green 71d213d5bd Update Mbed TLS to latest version
As Mbed Crypto has been remerged into Mbed TLS, remove Mbed Crypto
at the same time.

Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:04:18 +01:00
Darryl Green 7cf7f2e3cb Adjust Mbed TLS importer and config script
Mbed Crypto has been remerged back into Mbed TLS. Update the
Mbed TLS importer script with the relevant parts of the
Mbed Crypto importer.

Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:03:36 +01:00
Devaraj Ranganna a041df729f 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-05-29 13:03:36 +01:00
Jaeden Amero 90b9736164 tools: Fix grammar in feature error message
Use "not a supported feature" instead of "not a supported features".
2020-05-29 12:54:47 +01:00
Chun-Chieh Li e0bd07f649 M2351: Enable non-PSA minimal secure build
In this new memory partition, secure program is most simplified and non-secure program can make most use of memory for its large application like Pelion:

-   Flash (512KiB in total): 64KiB for secure and 448KiB for nonsecure.
-   SRAM (96KiB in total): 8KiB for secure and 88KiB for nonsecure.

Besides, to make secure program fit into 8KiB:

-   Decrease boot stack size to 0x600 bytes
-   Remove serial support
-   Remove LPTICKER

Re-build default secure image/gateway library to favor Pelion client application
2020-05-18 11:12:19 +08:00
Kimmo Vaisanen 5de677a35b Cellular: Enable tac info for ALT1250
ALT1250 supports tac info in registration status, so this commit enables the feature.
2020-05-14 15:10:58 +03:00
Chun-Chieh Li 3d1fd6ae0d Nuvoton: Change WDT clock source to LXT
LIRC has 40%~50% error rate, so change WDT clock source to LXT from LIRC.

NOTE: NANO100 series just supports LIRC-clocked WDT.
2020-05-14 11:45:38 +08:00
Chun-Chieh Li 572bae3ad6 Nuvoton: Fix failure to change WDT clock source
WDT clock source selection and its enablement bits are protected. Add unlock sequence before write to them.
2020-05-14 11:45:34 +08:00
Chun-Chieh Li 2162aaaea3 Nuvoton: Fix WDT feature report with clock frequency 2020-05-14 11:45:31 +08:00
Chun-Chieh Li b70b65c1b5 Nuvoton: Enlarge WDT reset delay to avoid premature WDT reset
Consider the following factors to define WDT reset delay:
1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
2020-05-14 11:45:27 +08:00
Chun-Chieh Li 9c59bd0bb9 Nuvoton: Fix watchdog reset failure on meeting Hard Fault
Original implementation doesn't enable watchdog reset in pieces of cascaded timeout, except the last one. This is to guarantee re-configuration can be in time, but in interrupt disabled scenario e.g. Hard Fault, watchdog reset can cease to be effective.

This change enables watchdog reset all the way of cascaded timeout. With trade-off, guaranteed watchdog reset function is more significant than re-configuration in time.
2020-05-14 11:42:51 +08:00
Arto Kinnunen 3b8b9d60d6 Fix RTT/stagger API unit tests
Adjust RTT/stagger API unit tests to work in mbed-os-5.15 branch.
2020-05-08 10:57:31 +03:00
Martin Kojtal f7861e6e47
Merge pull request #12933 from JanneKiiskila/armc-anon-mem-fix
Backport Arm C static RAM fix to Mbed OS 5.15 (#12462) (Mbed OS 5.15)
2020-05-08 08:05:33 +02:00
Martin Kojtal 15bacb41cc
Merge pull request #12934 from juhhei01/mbed-os-5.15
[mbed-os-5.15]Add possibility to configure Mesh MAC neighbourtable size.
2020-05-08 08:05:10 +02:00
Juha Heiskanen e1c9c586d9 Add possibility to configure Mesh MAC neighbourtable size.
Accepted values are 5-255. MAC neighbour table size is limited to 8-bit number so thats why 255 is max value.
2020-05-06 14:30:05 +03:00
Maciej Bocianski 6e8db4f963 fix arm compiler static ram memory statistics
don't count ARM_LIB_HEAP in static RAM pool

Original Mbed OS PR[#1256](https://github.com/ARMmbed/mbed-os/pull/1246)

(cherry picked from commit c69e77cf54)
Signed-off-by: Janne Kiiskila <janne.kiiskila@arm.com>
2020-05-06 12:16:49 +03:00
aqib-ublox 545dcbb25b
Merge pull request #1 from aqib-ublox/bt_configAPI_fix
updating wlan parameter configuration under appropriate settings
2020-05-05 14:30:24 +05:00
Mika Leppänen 50ea32e6a2 Added kv store adaptation to nanostack file interface 2020-04-30 09:56:51 +03:00
Arto Kinnunen f5bd0a521b Nanostack: Add config for Wi-SUN device type
Add configuration option for Wi-SUN device types.
2020-04-30 09:44:21 +03:00
Mika Leppänen 754861d201 Added Wi-SUN Border Router class 2020-04-30 09:12:45 +03:00
Mika Leppänen 3ad3ebef85 Added new configuration parameters to Wi-SUN interface 2020-04-30 09:12:25 +03:00
Arto Kinnunen 77f268e681 Add getsockopt option to read network property
Add getsockopt options NSAPI_LATENCY and NSAPI_STAGGER to read
network specific timing constraints from socket.
-NS_LATENCY returns estimated latency to given address.
-NSAPI_STAGGER returns estimated initial delay that application
 should wait before transmitting data to network.

Application can use the new options to avoid network congestion by
adjusting transmission delays and retry timeouts.

Add wrappers to make API usage easier:
-get_rtt_estimate_to_address
-get_stagger_estimate_to_address

This is backport of the https://github.com/ARMmbed/mbed-os/pull/12522
2020-04-29 10:02:15 +03:00
Martin Kojtal b6370b4c37
Merge pull request #12871 from ARMmbed/mbed-os-5.15.3-rc1
UpdateMbed version and secure binaries
2020-04-27 17:39:04 +02:00
adbridge a1104ca1aa "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2020-04-27 13:42:33 +01:00
adbridge 8a31c24fb7 "Update secure binaries for LPC55S69_S (ARMC6)" 2020-04-27 13:35:02 +01:00
adbridge e69571dc0c Update Mbed version to 5.15.3 2020-04-27 13:24:35 +01:00
Martin Kojtal 52f1f28292
Merge pull request #12869 from kivaisan/fix_lwip_socket_close_with_traces_5_15
LWIP: don't pbuf_free(NULL) on socket close (5.15-branch)
2020-04-27 14:19:20 +02:00
Martin Kojtal ccef87e575
Merge pull request #12867 from teetak01/mbed-coap-v5.1.5-for-5.15
Update mbed-coap to version v5.1.5 for Mbed OS 5.15
2020-04-27 12:52:40 +02:00
Kevin Bracey 99344963d2 LWIP: don't pbuf_free(NULL) on socket close
`pbuf_free(NULL)` causes an `LWIP_ASSERT`. Make the call conditional.

Fixes #12184
2020-04-27 13:32:23 +03:00
Teemu Takaluoma e1af7be4e0 Update mbed-coap to version 5.1.5
BLOCK2 code-branch was missing handling for duplicate packets. As part of the fix, added also
a call to update the duplicate package data via a new function
sn_coap_protocol_update_duplicate_package_data_all.

The new implementation handles all CoAP messages, not just those with COAP_MSG_TYPE_ACKNOWLEDGEMENT.
2020-04-27 11:26:09 +03:00
Martin Kojtal dfa80ea210
Merge pull request #12863 from jeromecoutant/PR_12690_5_15
STM32 GCC Unspecified RTOS error
2020-04-27 09:40:23 +02:00
Martin Kojtal 0784ea2326
Merge pull request #12859 from 0xc0170/coap-5.15
Update mbed-coap to version 5.1.4
2020-04-27 09:39:20 +02:00
jeromecoutant 267f32ce25 STM32 GCC Unspecified RTOS error
#12690 on 5.15 branch
2020-04-24 14:02:32 +02:00
Martin Kojtal 8289f11eee
Merge pull request #12854 from devran01/add_psa_hash_func
Implement psa_hash_*() functions
2020-04-24 09:27:23 +02:00
Antti Yli-Tokola 7edaf6dc7c Update mbed-coap to version 5.1.4
Add also 4.13 (Request Entity Too Large) responses to duplicate info list.

Add client library configurations for DEFAULT_RESPONSE_TIMEOUT and SN_COAP_DUPLICATION_MAX_TIME_MSGS_STORED.

Increased the default timeouts of DEFAULT_RESPONSE_TIMEOUT and SN_COAP_DUPLICATION_MAX_TIME_MSGS_STORED to 300 seconds.
These two are critical parameters for low-bandwidth high-latency networks. The defaults should be more geared towards such networks that are likely to have issues with transmissions.
The increased defaults can increase the runtime HEAP usage when there is a lot of duplicates or retransmissions.
2020-04-24 08:18:21 +01:00
Darryl Green 90ceefce56 Implement psa_hash_*() functions 2020-04-23 12:34:58 +01:00
Martin Kojtal 61c5c74847
Merge pull request #12845 from LDong-Arm/mbed-os-5.15
Backport SweynTooth fix for Cordio to 5.15
2020-04-22 18:03:41 +02:00
Martin Kojtal 27ac3d4622
Merge pull request #12813 from artokin/nanostack_relase_to_mbed_os_5_15
[mbed-os-5.15] Nanostack release to mbed-os-5.15 branch
2020-04-22 13:43:35 +02:00