Commit Graph

33000 Commits (d6104c8194e122b6a79dceebc98a1f23e919520c)

Author SHA1 Message Date
George Beckstein d6104c8194 Enable inheritance of CAN enum types
This commit changes the `interface::can` namespace to a `struct`. This allows the enum types to be inherited and prevents breaking old code relying on referencing eg: `CAN::RxIrq`.

When enabled, the polymorphic CAN interface class inherits from this `interface::can` struct. If not enabled, the `mbed::CAN` class inherits from `interface::can` directly.

Co-authored-by: Vincent Coubard <vincent.coubard@arm.com>
2021-05-04 01:29:20 -04:00
George Beckstein be077713b3 Implement polymorphism for CAN 2021-05-04 01:11:32 -04:00
Martin Kojtal 684e192f77
Merge pull request #14569 from saheerb/master
remove cmake specific example list
2021-05-03 16:08:20 +02:00
Martin Kojtal ccde03aac2
Merge pull request #14567 from OpenNuvoton/nvt_m480_wdt_rst
M487: Resolve WDT reset H/W limit
2021-05-03 12:11:30 +02:00
Martin Kojtal 99cf33c202
Merge pull request #14594 from jeromecoutant/PR_GEN_MCU
STM32_gen_PeripheralPins.py : TargetName correction
2021-05-03 09:55:48 +02:00
Martin Kojtal dace32aef6
Merge pull request #14602 from paul-szczepanek-arm/conf
Deprecate indications event onConfirmationReceived
2021-05-03 09:55:08 +02:00
Martin Kojtal 31d638dc1a
Merge pull request #14603 from paul-szczepanek-arm/compat
Avoid init class definition for compatibility
2021-05-03 09:54:54 +02:00
Martin Kojtal 0a6f769d54
Merge pull request #14555 from OpenNuvoton/nuvoton_wdt_stop-n-kick
Nuvoton: Fix hal_watchdog_kick() with WDT stopped
2021-04-30 15:41:35 +01:00
Martin Kojtal 1f57702d79
Merge pull request #14571 from boraozgen/bugfix/cmake-stm32-emac-init
CMake: STM32: Add missing emac init files
2021-04-30 15:40:05 +01:00
Martin Kojtal 64eb60e4cc
Merge pull request #14573 from artokin/nanostack_release_13_0_0_for_master
Nanostack release v13.0.0
2021-04-30 15:39:41 +01:00
Martin Kojtal b5a6c46f18
Merge pull request #14599 from jeromecoutant/PR_WLBARE
STM32WL: enable lora with baremetal
2021-04-30 15:39:06 +01:00
Martin Kojtal 9f35f294fe
Merge pull request #14582 from LDong-Arm/TF-Mv1.3.0_update
Update TF-M to v1.3.0
2021-04-30 12:13:56 +01:00
Jaeden Amero 032fe4a6f7 tfm: Add mbedtls_ecc_group_to_psa.h to crypto_extra.h
Include mbedtls_ecc_group_to_psa.h from crypto_extra.h so that clients
of PSA within Mbed OS do not need to behave differently depending on
which PSA implementation they are using.

This solution is not ideal as it makes it more difficult to update the
TF-M-provided psa/crypto_extra.h. We'll have to see what other options
we have for including additional headers based on the Mbed OS
configuration.
2021-04-30 11:28:20 +01:00
Jaeden Amero 07d8aefe51 mbedtls: Add mbedtls_ecc_group_to_psa()
We'd like to enable Mbed TLS's PK module in using TF-M's PSA
implementation, even if it doesn't expose the same set of PSA extensions
as Mbed TLS's PSA implementation. To do this, we add
mbedtls_ecc_group_to_psa() in its own header available when using the
latest TF-M.

Add mbedtls_ecc_group_to_psa(), one of Mbed TLS's PSA compatibility
helpers, for internal use by the Mbed TLS PK module. Without this
conversion function, the Mbed TLS PK module is unable to use any PSA
implementation other than one which provides a compatible set of PSA
extensions.
2021-04-30 09:04:08 +01:00
Paul Szczepanek f872dfa5ca convert bitfield to bools 2021-04-29 19:07:31 +01:00
Lingkai Dong 5434722328 Updated secure binaries for [('ARM_MUSCA_S1', 'ARMCLANG')] 2021-04-29 11:09:23 +01:00
Lingkai Dong b8969e0072 Updated directory platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST 2021-04-29 11:09:20 +01:00
Lingkai Dong 68f8501885 Updated secure binaries for [('ARM_MUSCA_B1', 'ARMCLANG')] 2021-04-29 11:09:18 +01:00
Lingkai Dong 23824b44b5 Updated directory platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST 2021-04-29 11:09:14 +01:00
Paul Szczepanek 172e9697da avoid init in header for compatibility 2021-04-28 16:29:26 +01:00
Paul Szczepanek b61fc6b639 Deprecate indications event onConfirmationReceived 2021-04-28 14:02:56 +01:00
Saheer Babu 6776473879 remove cmake specific example list 2021-04-28 13:54:12 +01:00
Martin Kojtal 331473a706
Merge pull request #14589 from plan-do-break-fix/Typo-corrections
fix(docs): corrects various typos in project documentation
2021-04-28 13:36:37 +01:00
Martin Kojtal 2bf648f975
Merge pull request #14561 from harmut01/baremetal_renesas
Add bare metal support to Renesas targets
2021-04-28 13:26:50 +01:00
Martin Kojtal 5fe3f09b6a
Merge pull request #14581 from jeromecoutant/PR_G4_UART
STM32G4 : serial issue with LP_UART1
2021-04-28 13:24:52 +01:00
Martin Kojtal 3358b45017
Merge pull request #14583 from Patater/detect-musca-b1
musca: Add detect_code for MUSCA B1
2021-04-28 12:43:48 +01:00
Martin Kojtal 83063318c7
Merge pull request #14554 from jeromecoutant/PR_TICKER_OPTIM
HAL ticker tests update
2021-04-28 12:36:23 +01:00
Martin Kojtal 6f43f03657
Merge pull request #14553 from debdeep-arm/reset-ws-stats-master
Added API to reset MAC statistics and Wi-SUN statistics
2021-04-28 12:35:07 +01:00
Martin Kojtal d443de3919
Merge pull request #14551 from 0xc0170/travis-update-focal
Travis: update to focal dist
2021-04-28 12:34:13 +01:00
Martin Kojtal 752eaedebe
Merge pull request #14550 from LDong-Arm/devicekey_doc
Fix DeviceKey documentation regarding RoT
2021-04-28 12:33:39 +01:00
Martin Kojtal 49b018c3db
Merge pull request #14542 from JeanMarcR/STM32F3_NEW_CUBE
STM32F3 update drivers version to CUBE V1.11.2
2021-04-28 12:33:25 +01:00
Martin Kojtal a32a45c02d
Merge pull request #14540 from mjbogusz/fix-clang-timeval
Improve condition for declaring `struct timeval`
2021-04-28 12:33:13 +01:00
Martin Kojtal 924652dc7f
Merge pull request #14539 from JeanMarcR/STM32G0_NEW_CUBE
STM32G0 update drivers version to CUBE V1.4.1
2021-04-28 12:33:03 +01:00
Martin Kojtal a02c3a101a
Merge pull request #14537 from kjbracey-arm/mempool-doc
Better document MemoryPool behaviour
2021-04-28 12:32:43 +01:00
Martin Kojtal f2d73e1784
Merge pull request #14451 from jeromecoutant/PR_GPIO_TABLE
STM32 : enable PinMap_GPIO table
2021-04-28 12:32:03 +01:00
Martin Kojtal eaea2621e7
Merge pull request #14585 from idea--list/master
add #include "wsf_os.h" into hci_drv_apollo3.h
2021-04-28 12:31:53 +01:00
Martin Kojtal 155d5f45a2
Merge pull request #14587 from saheerb/symlink_fix
create symlink for all sub examples which has mbed-os.lib
2021-04-28 12:31:33 +01:00
jeromecoutant f9a81f567c STM32WL: enable lora with baremetal 2021-04-27 16:48:16 +02:00
jeromecoutant 7150c0610a STM32_gen_PeripheralPins.py TargetName correction 2021-04-27 12:14:57 +02:00
Saheer Babu 9bd4d24104 create symbolic links for all sub examples which has mbed-os.lib. 2021-04-26 10:07:28 +01:00
plan-do-break-fix 915b45af23 fix(docs): corrects various typos in project documentation 2021-04-23 23:31:11 -05:00
Peter B 40c7914c64
add #include "wsf_os.h" into hci_drv_apollo3.h
Inclusion of wsf_os.h resolves unknown type errors in hci_drv_apollo3.h
2021-04-23 12:19:54 +02:00
Jaeden Amero b730f1fe27 musca: Add detect_code for MUSCA B1
Wtihout the detect_code, `mbed-tools detect` will fail to detect any
connected ARM_MUSCA_B1 boards with the error:

    ERROR: Could not identify a board with the product code: '5007'.
    No connected Mbed devices found.

Add the detect_code for MUSCA B1 to targets.json so the board can be
reliably detected.

Fixes ARMmbed/mbed-tools#272
2021-04-23 09:13:03 +01:00
Lingkai Dong 7245d5ed3b Rename tfm_target_name for ARM_MUSCA_B1
The mbed-os-tf-m-regression-tests build scripts gets a mapping of
Mbed OS target names to TF-M target names from `targets.json`. TF-M
v1.3 has renamed musca_b1 to musca_b1/sse_200, this commit updates
that accordingly to ensure successful build of TF-M and tests for
ARM_MUSCA_B1.
2021-04-22 15:49:19 +01:00
jeromecoutant f2e153cf74 STM32G4 : serial issue with LP_UART1 2021-04-22 14:10:42 +02:00
Maciej Bogusz f1d8378218 Improve condition for declaring struct timeval 2021-04-22 13:20:22 +02:00
Chun-Chieh Li e38b691541 M487: Refine the WKT resolution to WDT reset from PD
1. Rephrase the comment
2. Pass WDT reset reason test
2021-04-22 19:12:52 +08:00
Arto Kinnunen 2773394947 Merge commit 'fb72e8eba714116d3578e4f53010b104f48459f0' into nanostack_release_13_0_master
* commit 'fb72e8eba714116d3578e4f53010b104f48459f0':
  Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 3183d87e41..0903b819c5
2021-04-21 10:20:07 +03:00
Arto Kinnunen fb72e8eba7 Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 3183d87e41..0903b819c5
0903b819c5 Merge remote-tracking branch 'origin/release_internal' into release_external
51429c96b1 FHSS WS: api function to set TX allowance level (#2612)
01b1188932 Fix Child NUD with long ARO registrations
20b49ce0fc Optimize out of memory handler to remove more memory in EF mode
f1b03bc59d FHSS WS: Allow transmitting unicast frames on broadcast channel for 1st hop node in EF mode (#2609)
2f5e5e20ea Generic forwarding callback and EF state enabler for Wi-SUN BBR.
007dfa246f Allow transmitting on RX slot for 1st hop device in expedited forwarding mode (#2607)
6524872843 Implemented FHSS expedited forwarding mode (#2606)
91e0b4c0e3 QoS traffic class documentation update.
3acd3a49b2 Fix warnings found by cppcheck (#2605)
d2f53476e2 MPX and MAC API update
7310cc01cd MAC: "CCA fail on RX" event for TX done callback (#2602)
cd109c3a3a Clear Ack tx and tx process in MAC reset (#2601)
45504fd4b0 Optimize stagger based on uptime and startup type
ed5209ed2a Iotthd 4584 (#2599)
60726dc704 Fixed blacklisting overflow (#2597)
23334b70b2 Added support for High Priority forward state
3ec2a2c804 Corrected freed memory access on incoming EAPOL handling
aecadc4582 Fixed delayed interrupt (#2596)
1fca2c1399 CCA backoffs max to 9 (#2595)
f3d2fa1396 Added API function to get neighbor table information from Wi-SUN
3bb089bec9 Validate randomized fixed channel (#2592)
70743a1cd8 MAC stabilisation fixes (#2591)
e936a2634b Reduce periodic DNS traces
a45fe3f510 Improved CSMA-CA logic for Wi-SUN (#2585)
56b7735976 improved Wi-SUN stack statistics added
e656190570 Wi-SUN neighbour allocate update
799f837d0c Added address check for Whiteboard address ADD
0b6caa32b0 Wi-SUN network timing parameter tuning
492146567e Supress warnings
f5cecd7ca0 Enable external connection for routers
e129a0a851 Added LLC EAPOL temporary neighbor remove when authentication completes (#2583)
fa20fb9e33 Added calculation of LLC and LLC EAPOL message queue average (#2582)
7f7c01ac17 Added retry traces to authenticator EAP-TLS, 4WH, and GKH
a87646d77a On startup deletes NVM GTKs if EUI-64 has been changed (#2576)
509a6f93ed Add CI commands to PR template (#2579)
eb6a4f7500 Change stagger calculation to give more bandwidth to application
82f1d54e62 Wi-SUN bpptstrap clear destination cache at discovery phase.
71b0588439 Destination cache update:
f92c385ef0 Enabled PMTU timeout to destination cache after used.
957b35887b DHCP server and Agent relay update
25b9124cd2 Merge remote-tracking branch 'origin/release_internal' into release_external
c825b04555 Corrected covery warning on delay_us multiplication
be63bbb145 Updated changelog
77a76c78bb Corrected nw size set on automatic mode
65e6c2db7a Updated unit tests
16e340286a Added waiting queue to EAPOL authentications to Border Router
b9c0b7d2ac Wi-SUN border router starts faster in static configuration
2f427e115a Local repair start and stop clear advertised_dodag_membership_since_last_repair when state is updated.
0a01ab19a4 RPL dio send update
dd3996382c Wi-SUN Border router uses Static address as DODAGID
7a3c8335b0 Additional check to detect parent connection problem
ffe48c93e5 WS management: domain configuration functions implemented (#2567)
5e9ac4ece8 Added new Callback to RPL indicate Multicast DIS received from RPL Parent
85b949e9c2 Bootstrap and EAPOL treats all MAC TX failure causes similarly
b57d9bcd66 Add support for anonymous addressing in Wi-SUN border router (#2565)
7400c8bc9e CFG: API for PHY mode id and channel plan id get & validate (#2564)
2832fe8c27 Added Socket reference limitter
890aad12f1 Wi-SUN MTU size update and IPv6 minium MTU routing skip
3ad28c1cfc Added throttling of number of simultaneous EAPOL authentications
0b84299edb Source route handler call Wi-Sun border router alive function.
c8343b1a01 Added support for dynamic RPL default lifetime
d258068555 Iotthd 4478 (#2560)
7ca6c24b67 Enable and modify memory limits for packet receiving
e2b028d9ae Close CHANGELOG.md for v12.8.1 (#2557)
91f3ff6d7f Merge branch 'release_internal' into release_external
3999b6e0c3 Iotthd 4495 (#2556)
90c3263616 RPL Prefix handling update:
f761409b24 Close Nanostack v12.8.0 ChangeLog (#2549)
f8ae0e9bc9 Merge remote-tracking branch 'origin/release_internal' into release_external
3275f83f17 Added support for handle RPL hop by Hop sender rank 0.
d62c5898fb Activated RPL force tunnel for wi-sun.
3e1064acfb RPL tunnel force functionality update
3207e5c4f2 RPL parent select timer random update from 1.0-1.2 to 1.0-1.5.
bc09cba6bb MAC Ack wait fixed for OFDM (#2552)
5106b1d600 Fixed unused variable and function warnings.
4096c1aba3 Wi-SUN bootstrap support RPL poison from Connected state to Discovery
66378d1518 RPL Poison update

git-subtree-dir: connectivity/nanostack/sal-stack-nanostack
git-subtree-split: 0903b819c5eecf8a465646ef1495ca637e0285a9
2021-04-21 10:20:07 +03:00
Arto Kinnunen 776d5db357 Merge commit '95ea4d93f31371978f0c6d969963fc6b3f58ce81' into nanostack_release_13_0_master
* commit '95ea4d93f31371978f0c6d969963fc6b3f58ce81':
  Squashed 'connectivity/libraries/nanostack-libservice/' changes from a526cc3f41..260d80f42d
2021-04-21 10:17:34 +03:00