Commit Graph

33076 Commits (117ecd54049723abb87abe2e6a9dd44b39d3f5cc)

Author SHA1 Message Date
jeromecoutant e48963b629 STM32WB : change subfamily name
STM32WB50xx => STM32WB50xG
STM32WB55xx => STM32WB55xG
STM32WB5Mxx => STM32WB5MxG
2021-05-05 17:22:34 +02:00
Paul Szczepanek 55ffb176d5 Copy data from read auth callback 2021-05-05 14:31:35 +01:00
Martin Kojtal f6176432d2 error: use __INITIAL_SP from cmsis instead of RTX one
We used to require INITIAL_SP as rtx target headers define it. This should not be required, as
cmsis already defines symbol  __INITIAL_SP for all toolchains.

Fixes #14432
2021-05-05 13:15:10 +01:00
harmut01 5a1817295c Travis: Add kitware repository to source list
The default distribution of CMake that comes with focal is 3.16.3. Add
kitware's repository (https://apt.kitware.com/) to the source list so
the latest copy of CMake is installed during CI.
2021-05-05 12:48:33 +01:00
harmut01 680bede066 Remove redundant ninja-build from apt packages 2021-05-05 11:56:37 +01:00
Jaeden Amero 2300a56863 mbedtls: Don't attempt to use default_random_seed
Don't attempt to use default_random_seed unless both PSA and Experimental API
support are enabled. This prevents errors when the Mbed TLS NV Seed feature is
being used on platforms that have PSA enabled by default, but not Experimental
API support by default.

    [DEBUG] Output: compilation terminated.
    [ERROR] In file included from ./mbed-os/connectivity/mbedtls/include/mbedtls/config.h:31,
                     from ./mbed-os/connectivity/mbedtls/include/mbedtls/entropy.h:28,
    ./mbed-os/connectivity/mbedtls/platform/inc/platform_mbed.h:26:10: fatal error: default_random_seed.h: No such file or directory
       26 | #include "default_random_seed.h"
2021-05-04 13:56:54 +01:00
Martin Kojtal 376fda5bf5
Merge pull request #14505 from s-bruce13/master
Adding NXP TARGET- MIMXRT1170_EVK
2021-05-04 11:28:07 +02:00
Martin Kojtal 6330299ac5
Merge pull request #14578 from jeromecoutant/PR_WB55MMG
STM32 : new DISCO_WB5MMG target
2021-05-04 10:48:26 +02:00
George Beckstein 49e58ddab6 Make interface::CAN buildable on targets without DEVICE_CAN
This commit adds provisions to enable using interface::CAN on targets that don't have DEVICE_CAN set to 1 (ie: they don't normally have a CAN peripheral).
2021-05-04 02:23:51 -04:00
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
Cindy Li bda36681ba CAN: fix slave CAN start filter bank setup 2021-04-30 17:32:14 -04: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
Paul Szczepanek 7211cd3e77 fix sm init trace to print string 2021-04-29 16:09:04 +01:00
Paul Szczepanek 52bc9e9f51 fix misleading privacy trace 2021-04-29 16:08:52 +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
jeromecoutant ebc0035afd STM32 : new DISCO_WB5MMG target 2021-04-28 16:46:52 +02:00
harmut01 c29b561784 CMake: Refactor MBED_TEST_MODE test application 2021-04-28 14:21:33 +01:00
harmut01 fa1d9c059d Cmake: Add backward compatibilty support for MBED_TEST_MODE
Fixes #14494

MBED_TEST_MODE is required for backward compatibilty with CLI1. This
adds a test to ensure that the macro is created when using CLI2 for
testing. This also adds a test in `.travis.yml` that checks whether
CMake defines the macro when BUILD_TESTING is on.

CLI1 Reference: https://os.mbed.com/docs/mbed-os/v6.9/debug-test/greentea-for-testing-applications.html

Also, explicitly create and set the macro BUILD_TESTING to allow for
MBED_TEST_MODE to be defined by CMake. MBED_TEST_MODE is required for
backward compatibilty with CLI1.  BUILD_TESTING is used to determine
whether to define MBED_TEST_MODE.  Normally, this would be automatically
done by CTest (which we intend to add for test automation) but this
hasn't yet been added to our Greentea tests.
2021-04-28 14:21:33 +01:00
s-bruce13 f4045f9440 Fixed reference for GPT driver 2021-04-28 08:14:49 -05: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