Commit Graph

27904 Commits (cd3bb0d121a549c53c48ab9822efcb4ff57c390c)

Author SHA1 Message Date
Chun-Chieh Li cd3bb0d121 M2354: Add cmsis pack
This is to enable bootloader and export to KEIL and IAR
2020-07-10 09:44:55 +08:00
Chun-Chieh Li d1ea81e991 M2354: Initial support 2020-07-07 17:09:57 +08:00
Martin Kojtal cd3ed5129b
Merge pull request #13147 from felipeLeast/ws_management_missing_lib
Ws management API missing lib
2020-07-06 15:02:34 +02:00
Felipe dd546ed28e WS Management API missing include 2020-06-17 22:53:17 -03:00
Martin Kojtal e4b81f67f9
Merge pull request #13125 from ARMmbed/version-update
Update mbed version to 5.15.4
2020-06-17 10:12:48 +02:00
Anna Bridge 3632545bff
Update mbed version to 5.15.4 2020-06-16 15:06:17 +01:00
Anna Bridge 0515ed1f9f
Merge pull request #13072 from mikter/ws_certificate_set_change_5.15
[mbed-os-5.15] Allowed to set Wi-SUN certificates in DISCONNECTED state
2020-06-12 14:48:23 +01:00
Anna Bridge 82e2f9016c
Merge pull request #13080 from artokin/nanostack_release_12_3_0_to_5_15
[mbed-os-5.15] Nanostack release v12.3.0
2020-06-12 14:47:34 +01:00
Martin Kojtal 8e5976898f
Merge pull request #12969 from OpenNuvoton/nuvoton_5.15_watchdog_hardfault
Nuvoton: Fix watchdog reset failure on meeting Hard Fault (5.15)
2020-06-09 11:09:06 +02:00
Martin Kojtal 8529d5c832
Merge pull request #12893 from mikaleppanen/wisun_stats_5_15
Add Wi-SUN statistics interface (Mbed OS 5.15)
2020-06-09 09:21:56 +02:00
Arto Kinnunen 364a81b43a Merge commit 'e3c2a36da0985647730e26c63b50d480cce9ef79' into mbed-os-5.15
* commit 'e3c2a36da0985647730e26c63b50d480cce9ef79':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..b3fe5744d1
2020-06-08 14:27:38 +03:00
Arto Kinnunen e3c2a36da0 Squashed 'features/nanostack/sal-stack-nanostack/' changes from cc03296c27..b3fe5744d1
b3fe5744d1 Remove test files from the release
b2bf24ca85 Merge branch 'release_internal' into release_external
0ed25a7485 Fix errors found from coverity scan (#2386)
7a138f7e51 Added IID for border router info structure
4021b0c1ef LLC secure data duplicate check update and EAPOL relay duplicate fix
b190a97eeb Remove Thread-protocol from README (#2383)
ae8ae32cfe EAPOL relay agent rx filter from joiner side
0d4eb7a46e Removed dead code part
fc644f5e5b RPL new parent accept update and NUD operation
f5920e2d0c ETX API update and RPL ETX threshold callback update.
1fdee20a40 Wi-sun keep all candidates alive by NUD.
bd746da33d Key storage settings are no longer cleared on delete
bd388fcb08 Changed EAPOL initial-Key retries from 2 to 4 on large NW
a3d80a3235 WS bootstrap: Default CCA threshold to -60dBm (#2377)
72b26a72c2 Created extra large network setup for Wi-SUN
38dd4a6423 Corrected PTK and PMK lifetime handling
64f2a77239 Cleared EAPOL temporary trace print's.
02ec23fa27 Timed parent selection is now imim-imin*2 earlier there was just 5 seconds randomize.
3b2d906b75 Added check for network name and DODAG ID IID (EUI-64) (#2373)
ee45f4be32 Updated initial key trickles
184425b038 Fixed parent target address set.
07ec2374a1 Updated Discovery and RPL setup large & medium size network
a94d8f2e5d RPL version num update
9e2ac1d855 Double default eapol entry size for test purpose.
6b8beefb51 Clear all neighbors only on eapol next target check
faa19e1fba Corrected next address set
8a917fb9a5 Continue trickle on initial EAPOL-key TX failure
cfdb193c3e Merge pull request #2368 from ARMmbed/sync_with_mbedos
f7a15fa68d (via MbedOS) ws: added support for brazilian regulatory domain
c397edb121 Changed large network initial-key trickle parameters
758f5347b5 Added maximum frame counter storing interval
b0ea148d41 Corrected key storage configuration setting
be3c94e03b WS RPL paret soft filter update
8b1d537a02 Adjusted EAPOL limits and timers
9a2166869f Merge branch 'release_internal' into release_external
8e72b80826 MAC CCA thr: Check if channel out of range (#2363)
146a0a38c2 Corrected trace on authenticator
d04a96dd48 Merge pull request #2361 from ARMmbed/sync_with_mbedos
2c2b915198 Added empty function for ns time callback
76ac0decce Remove NCS36510 target
0258ac3197 Remove KW24D target
788f01b93d Netsocket/lwIP Stack: Remove support for ARM Compiler 5
2fbc7a1c4f Corrected invalid memory read on access revoke
941b9b42dc Updates to stagger/latency (#2358)
c2abaaafba Corrected defects
1811194bf2 Corrected warning trace, validations and ut stubs
69e2d1989e Added NS filesystem and interface to application
c5b6993ddd refactored packet ingress
a05605eca3 Unsecured packets will be acked by default automatically.
36dfb2924f MAC: Implemented automatic CCA threshold (#2353)
0396b9738c Revert EAPOL simplify failure handling and focus this problem later on.
b2fe3d49db Ignoring authentication failure if security protocol already started
11de56dad8 Added info API for Wi-SUN border router
87a4f691fe Added EAPOL key storage to authenticator and unified GTK storage (#2345)
ff1ca25ed7 EAPOL failure simplify and EAPOL relay agent add trace when eapol temp pool is empty
6667b31ae8 Update NA trace
34cdafe214 Temporary EAPOL neighbour entry Update and MAC MLME update
d092f833a8 Iotthd 3995 (#2347)
e2ea4e41f7 Disabled BR (TLS server) EC calculation queue
575985190d Changed the rate limiting function to calculate the values runtime
899e75510b Make it possible to update tr51 table to larger dynamically
8436669c10 Added configuration for DHCP lifetime value
da732bc28e When network name or PAN ID is changed authenticator updates MAC keys

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: b3fe5744d1ab20792223ff08f08ef97a1f89682b
2020-06-08 14:27:38 +03:00
Arto Kinnunen 2c16a69cdc Merge commit 'db42dca51cea37a6ea2dfab1aedbbb6ac7ab10ee' into mbed-os-5.15
* commit 'db42dca51cea37a6ea2dfab1aedbbb6ac7ab10ee':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 9a61e73787..c6cae6992a
2020-06-08 14:26:15 +03:00
Arto Kinnunen db42dca51c Squashed 'features/frameworks/nanostack-libservice/' changes from 9a61e73787..c6cae6992a
c6cae6992a Merge pull request #90 from ARMmbed/sync_with_mbedos
bc57095abb Netsocket/lwIP Stack: Remove support for ARM Compiler 5

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: c6cae6992a12f62f19cf7875f889304d5c1ded6d
2020-06-08 14:26:15 +03:00
Arto Kinnunen 85b3d20ee6 802.15.4 MCR20A RF driver update
Sync with master version v1.0.9
2020-06-08 14:24:31 +03:00
Martin Kojtal ffe6b49c82
Merge pull request #13033 from Patater/upgrade-to-tls-2.22.0-5.15
[Mbed OS 5.15] Upgrade to Mbed TLS 2.22.0
2020-06-08 13:24:17 +02:00
Martin Kojtal d0fb06e381
Merge pull request #13031 from dgreen-arm/add-feature-experimental-5.15
Mbed OS 5.15: Warn on unrecognised error
2020-06-08 13:23:51 +02:00
Martin Kojtal 1dd5069fe7
Merge pull request #12986 from OpenNuvoton/nuvoton_5.15_m2351_npsa_secure-minimal-build
M2351: Enable non-PSA minimal secure build (5.15)
2020-06-08 13:23:16 +02:00
Arto Kinnunen 34273a4a78 802.15.4 Atmel RF driver update
Sync with master version v3.3.0
2020-06-08 14:20:00 +03:00
Arto Kinnunen 84d9e62f24 802.15.4 STM S2LP driver update
Sync with master v1.0.5
2020-06-08 14:17:30 +03:00
Mika Leppänen 7b6ee061ba Added Wi-SUN statistics interface
Added network and MAC statistics to Wi-SUN interface.
2020-06-08 13:07:09 +03:00
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
Mika Leppänen 50ea32e6a2 Added kv store adaptation to nanostack file interface 2020-04-30 09:56:51 +03:00