Commit Graph

28216 Commits (mbed-os-5.15)

Author SHA1 Message Date
Arto Kinnunen f5851f54c7 Follow Mbed OS coding style 2020-10-14 09:08:31 +03:00
Arto Kinnunen 321434eae4 Review corrections
-Check address version NSAPI_UNSPEC
-Disable traces
-More specific interface ID parsing
-Harmonize return values
2020-10-14 09:08:31 +03:00
Arto Kinnunen 0af9d04e4a Mesh: Enable Nanostack DNS cache usage
Inherit methods gethostbyname, gethostbyname_async and get_dns_server
to Nanostack class. Methods will try to find DNS server address
or DNS query results from Nanostack DNS cache.
2020-10-14 09:08:31 +03:00
Martin Kojtal 3a86360cc5
Merge pull request #13576 from mikaleppanen/mesh_radius_conf_5_15
[mbed-os-5.15] Added external RADIUS server configuration to Wi-SUN Border Router
2020-10-13 20:22:42 +01:00
Martin Kojtal 970d10a502
Merge pull request #13739 from OpenNuvoton/nuvoton_m23_fault_handler_5.15
Nuvoton: Enable fault handler dump message on CM23 targets (5.15)
2020-10-13 13:33:26 +01:00
Debdeep Saha 46b141eea5 Resolved comments. 2020-10-13 15:06:38 +03:00
Debdeep Saha c0eb6df2e8 Added APIs for Device min sense and CCA threshold table.
-Added get, set and validate API for device min sens.
-Added get API for CCA threshold table.
2020-10-13 15:06:27 +03:00
Martin Kojtal cf4f584af5
Merge pull request #13639 from mbedNoobNinja/TARGET_UPDATE
Add SD, USBDEVICE & LPTICKER support for VK_RZ_A1H board.
2020-10-13 11:33:30 +01:00
Martin Kojtal f63b4b6fec
Merge pull request #13512 from OpenNuvoton/nvt_nuc472_sd_5.15
mbed-os-5.15: Nuvoton: Fixed NUC472 SD buffer alignment
2020-10-13 11:26:48 +01:00
Martin Kojtal 50fe6ac4ff
Merge pull request #13525 from norbert-david/patch-2
device_management.py supports application access keys 5.15
2020-10-13 11:25:35 +01:00
Martin Kojtal 33dbb27f32
Merge pull request #13606 from teetak01/coap-5.1.7-for-5.15
Update Mbed CoAP to v5.1.7
2020-10-13 11:22:58 +01:00
Martin Kojtal f1e304bb0b
Merge pull request #13643 from OpenNuvoton/nuvoton_m2351_gcc_iar_5.15
M2351: Support GCC and IAR
2020-10-13 11:21:52 +01:00
Mika Leppänen c78f17f85b Added certificate remove before add to wisun tasklet
This prevents tasklet from adding own certificates multiple times
to Nanostack in case bootstrap is made again.
2020-10-08 12:03:11 +03:00
Mika Leppänen 18a0f76334 [mbed-os-5.15] Added external RADIUS server configuration to Wi-SUN Border Router
Added configuration functions and .json configuration options for:
- external RADIUS server IPv6 address
- RADIUS shared secret.
- RADIUS client retry trickle timer configuration. This can be used to set how fast
the RADIUS client retries Access-Request messages to RADIUS server in case reply
from server is not received.
2020-10-08 10:23:03 +03:00
Chun-Chieh Li 69b52e64af Nuvoton: Enable fault handler dump message for M23 targets
Support targets:
-   NU_PFM_M2351
-   NUMAKER_IOT_M263A
-   NUMAKER_IOT_M252
2020-10-08 13:53:47 +08:00
Arto Kinnunen 12a43bada5 Merge commit 'd2d0895795de64321d486208316838415ed80d65' into mbed-os-5.15
* commit 'd2d0895795de64321d486208316838415ed80d65':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from d879e6db87..09d9e24f2d
2020-10-05 15:14:02 +03:00
Arto Kinnunen d2d0895795 Squashed 'features/nanostack/sal-stack-nanostack/' changes from d879e6db87..09d9e24f2d
09d9e24f2d Merge branch 'release_internal' into release_external
9a3278a1e3 Removed Black list reject from wi-sun neighbour request function
76fc9d77a1 Support SLAAC addressing method for Wi-SUN Border router
71c8bde863 Modified Wi-SUN etx to wait for Probes
b720fbdfe0 Wi-SUN discovery and address registration update
e73c8082ed Merge pull request #2460 from ARMmbed/sync_with_mbed_os
7994d9537b If PMK and PTK are not set do not store keys to NVM
f8813e2d27 Follow Mbed OS coding style
f6ed87754c (via mbedos) Possible invalid memory access on memcpy
40dc215294 Set frame counter increment to 1000000
a57acc84a8 ETX update
5373de2ff4 EAPOL parent TX feilure is reorder candidate list.
6b0e264869 Allowed separate default settings in WS API
850252b9f9 Fixed EAPOL brodcast synch at border router device.
2c1c07779a Corrected unit test
16e38ce688 Changed EAPOL negotiation limit on small nw to 20
21af9233ec Wi-sun ETX update
80e13f4435 Changed EAP-TLS retry trace to info trace level
52a5018fd1 WS: Use special retry configuration when discovery is started (#2450)
7e3b99c375 Merge branch 'release_internal' into release_external
50b7a641b4 Key update to MAC is forced when nw name changes
f1f46f3873 Corrected identifier range alloc and added define for timeout
f836d1d818 FHSS WS: spread broadcast messages better on BC channel (#2449)
9a1b35398c Merge branch 'release_internal' into release_external
5e40cb3852 Fix 0 length domain search list
f0f5131833 Fixed coverity issue.
81b94e535d Added test harness API for set temporary neighbour lifetime longer
b969fa3779 Merge branch 'release_internal' into release_external
b66b834d0c Timed parent selection update

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 09d9e24f2d3e97cd38139e5df3d9e79d2ee65f4e
2020-10-05 15:14:02 +03:00
Mika Leppänen 26a9079263 [mbed-os-5.15] Mesh interface global up is indicated always on bootstrap ready
This indicates e.g. to client that IP address has changed or connection
to network has been established.
2020-10-05 13:28:36 +03:00
cyliangtw 39e2f31176 Apply the same NuMaker I2C timeout measurement to M2354 2020-10-05 12:12:24 +08:00
cyliangtw 99e767b4c7 Fix NuMaker I2C timeout,
some H/W timer count is 24 bits only, hardcode 0xffffffff causing
  wrong judgement of timeout as while H/W timer counting overflow.
2020-10-05 11:28:06 +08:00
Anna Bridge f5633c4a04
Merge pull request #13696 from saheerb/patch-5
adapting to new s3 bucket location in travis.yml
2020-10-02 11:59:57 +01:00
Saheer Babu a7dbff94ba
adapting to new s3 bucket location in travis.yml 2020-10-01 18:28:17 +01:00
Anna Bridge a466a57ead
Merge pull request #13693 from jamesbeyond/fix_LTS
TEST: Extend the kvstore test time out to 120s
2020-10-01 16:19:23 +01:00
Qinghao Shi 53fe4cf6f9 TEST: Extend the kvstore test time out to 120s 2020-10-01 11:54:50 +01:00
Felipe d011d214ac Fix STM32H747 Arduino pinout 2020-09-30 12:43:40 -03:00
Martin Kojtal 49bd70be49
Merge pull request #13661 from MartinBielik/mbed-os-5.15
K82F, KL82Z: Fix the I2C SDK driver slave transfer
2020-09-30 16:04:22 +01:00
Martin Kojtal b67e542a69
Merge pull request #13495 from artokin/upstream_mesh_network_size_api_to_5_15
[mbed-os-5.15] Add WiSun network size configs in JSON
2020-09-30 11:30:44 +01:00
Martin Kojtal 7b57ac62b6
Merge pull request #13559 from artokin/nanostack_release_v12_5_0_mbedos_5_15
[mbed-os-5.15] Nanostack release v12.5.0
2020-09-30 10:43:41 +01:00
Martin Kojtal 4c3155abea
Merge pull request #13578 from deepak-shreshti/mbed-os-5.15
Fix for linker issue in AdBun-M066
2020-09-29 15:24:00 +01:00
Bielik d58616daec K82F, KL82Z: Fix the I2C SDK driver slave transfer
In case of slave transfer we dont want the slave to perform stop signal.

Signed-off-by: Bielik <martin.bielik.sk@gmail.com>
2020-09-24 11:04:16 +02:00
Martin Kojtal 11418a2d9c
Merge pull request #13496 from artokin/sync_mbed_mesh_api_update_5_15
[mbedos-5.15] Updating mbed-mesh-api
2020-09-22 16:26:10 +01:00
mbedNoobNinja efe5331779 Adding support for SD (through external SDHI driver), USBDEVICE, LPTICKER.
Linker files synced with other Renesas boards.
2020-09-18 18:21:49 +03:00
Chun-Chieh Li a76e49c843 M2351: Support IAR
1.  Enable IAR on non-secure targets
2.  Disable IAR on secure targets because:
    (1) IAR toolchain bug: As of IAR 8.32, cmse_nonsecure_caller() is not always inlined.
    (2) TFM hasn't supported IAR yet.
2020-09-18 10:17:27 +08:00
Chun-Chieh Li 5ec9b79888 M2351: Support GCC
1.  Enable GCC support on non-secure targets
2.  Disable GCC support on secure targets becasue of GCC bug (as of 9-2019-q4-major): In non-secure entry function, callee-saved registers must be restored, but they are incorrectly cleared at optimization level "Os".
2020-09-18 10:13:18 +08:00
Chun-Chieh Li 9058a9585a M2351: Re-organize ARMC6 scatter file
Separate out secure/non-secure ARMC6 scatter files instead of merging them
2020-09-18 09:46:57 +08:00
Chun-Chieh Li 728c4b3cf0 M2351: Polish memory partition code
1.  Refine memory partition files to support different toolchains
2.  Exclude NSC region from flash IAP range
2020-09-18 09:42:20 +08:00
Chun-Chieh Li b0c767a854 M2351: Refactor startup file
1.  Re-organize to make clear all targets/toolchains support in single startup file
2.  Inline assembly syntax is limited, esp. on IAR. Try paving the way for accessing external symbols still in inline assembly instead of re-write in assembly.
3.  Update GCC C run-time sequence to fit future GCC script file.
2020-09-18 09:39:57 +08:00
Chun-Chieh Li 239ec8c941 M2351: Remove GCC/IAR linker files temporarily
Ths is to prepare for supporting GCC/IAR officially.
2020-09-18 09:35:15 +08:00
Chun-Chieh Li 21b2c4c7c5 M2351: Fix RTC clock selection 2020-09-18 09:34:08 +08:00
Teemu Takaluoma 9274236794 Update Mbed CoAP to v5.1.7 2020-09-14 12:20:00 +03:00
Deepak Shreshti 9aa366c137 Fixed linker issue
Linker issue:
Stack pointer = RAM starting address + Size of RAM = 0x20000000 + 0x4000
2020-09-09 07:48:12 +05:30
Martin Kojtal 0445b6a2b3
Merge pull request #13537 from OpenNuvoton/nuvoton_fix_downgrade_qspi_5.15
Nuvoton: Fix degrading QSPI to SPI (5.15)
2020-09-07 16:13:02 +01:00
Arto Kinnunen 3d6d4d5a9e Squashed 'features/nanostack/sal-stack-nanostack/' changes from 48609aeded..d879e6db87
d879e6db87 Merge branch 'release_internal' into release_external
eef9246079 Fixed network border router timeout recovery and EAPOL relay address fix
bac7ca6852 Changed RADIUS MTU and small fixes
a9f8b756e1 Addeed support for DHCP vendor data
d8f00036f5 DHCPv6 functionality update
7fe04231ed Added DHCPv6 vendor data generation for DNS queries
639f9dbfb2 FHSS: Changed retry backoffs when no BC schedule or TX slots (#2440)
91acececbd Remove test files
6568bc1790 Merge branch 'release_internal' into release_external
4192cc8974 Added configuration for RADIUS retry timer (#2438)
684b714415 Added support for retries and multiple sockets to RADIUS client (#2426)
89e0ae0904 WS: Restart auto CCA threshold after discovery (#2435)
dbb09b171d MAC/WS: Min possible Tack to 1ms and CCA interval to 2ms (#2434)
43b2ae27a2 Cca threshold test (#2436)
28108e1f38 Added device min sensitivity setting and stack information
7060c70cde Cca threshold test (#2432)
640be71e31 WS: temporarily set default CCA threshold to -80 (#2431)
0a472aefb2 WS: Calculate UFSI drift and trace (#2430)
61d3db8882 Create APIs for DNS cache results
587add577c MAC: Validate TX time (#2429)
a1bfed4846 Added typecast when computing max_timout from drift (#2428)
089fb3b8fe Neighbour temporary entry update and Enhanced ACK tx update
70244f60e5 Wi-sun parameter and debug trace update
5752eae833 Created validate TX time handler (#2423)
022d61fb65 Wi-sun Neighbour table update and DHCP new callback
857b41fc0a Merge pull request #2421 from ARMmbed/update_from_mbed_os
1a9dd13f6d (via Mbed-OS)WS Management API missing include
4318f37d4c Calculate drift in critical state (#2419)
01a1909c94 FHSS WS: Do not use drift compensation with unpredictable linux timer (#2418)

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: d879e6db8791115ce435d8804238ba38d43e78f8
2020-09-07 11:10:05 +03:00
Arto Kinnunen cbfbca5bd4 Merge commit '3d6d4d5a9e08a05dbafd3592e8b0c69e05454523' into mbed-os-5.15
* commit '3d6d4d5a9e08a05dbafd3592e8b0c69e05454523':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 48609aeded..d879e6db87
2020-09-07 11:10:05 +03:00
Arto Kinnunen 72a6a13241 802.15.4 Atmel RF driver update (v3.3.2)
Sync with master version v3.3.2
2020-09-07 11:04:49 +03:00
Arto Kinnunen 682ece59b3 802.15.4 STM S2LP driver update (v1.0.7)
Update STM S2LP driver to version v1.0.7
2020-09-07 11:02:23 +03:00
Chun-Chieh Li 9c86871a9f Nuvoton: Fix degrading QSPI to SPI
In most cases, we can control degraded QSPI H/W to standard through BSP SPI driver directly as if it is just SPI H/W.
However, BSP SPI driver distinguishes among SPI H/W instances in below functions:
-   SPI_Open
-   SPI_Close
-   SPI_SetBusClock
-   SPI_GetBusClock
In these cases, we must change to QSPI version instead for QSPI H/W.

Change target:
-   NU_M2354*
2020-09-03 11:29:04 +08:00
Debdeep Saha b0c2443ec1 Typo fixed. 2020-09-02 13:49:01 +03:00
Debdeep Saha 72c28ee497 Resolving comments 2020-09-02 13:49:01 +03:00
Debdeep Saha c5386c0cee Updating mbed-mesh-api.
-Adding new parameters for Wi-SUN interface information.
2020-09-02 13:49:01 +03:00