Commit Graph

33055 Commits (468ee97bdd0145041568b9738f99ef40e45ffdf7)

Author SHA1 Message Date
harmut01 468ee97bdd Deprecate TDB_EXTERNAL_NO_RBP and FILESYSTEM_NO_RBP in kv_config
NO_RBP (no rollback protection) is intended to not require an internal
TDB, however, DeviceKey, which we use to derive SecureStore's
encryption key, still does. Currently, no internal TDB is created with
these two configurations, meaning there's no way to store the DeviceKey
and SecureStore doesn't work.
2021-05-11 17:19:10 +01:00
Martin Kojtal 125f58449d
Merge pull request #14497 from jarlamsa/no_duplicate_status_cb
Check for duplicate status callbacks before adding to the list
2021-05-11 11:41:06 +02:00
Martin Kojtal e25e94e74a
Merge pull request #14538 from harmut01/cmake-test-mode
Cmake: Add MBED_TEST_MODE macro
2021-05-11 11:12:19 +02:00
Martin Kojtal 5a121b9b2e
Merge pull request #14612 from uwrobotics/stm-slave-can-filter-fix
CAN: fix slave CAN start filter bank setup
2021-05-11 10:55:35 +02:00
Martin Kojtal b80128ff77
Merge pull request #14626 from jeromecoutant/DEV_STM32WB_1_11_1
STM32WB update drivers version to CUBE V1.11.1
2021-05-11 10:55:14 +02:00
Martin Kojtal 3bd40d3161
Merge pull request #14624 from 0xc0170/fix-14432
error: use __INITIAL_SP from cmsis instead of RTX one
2021-05-11 10:51:32 +02:00
Martin Kojtal 47b19eb157
Merge pull request #14548 from JeanMarcR/STM32F4_NEW_CUBE
STM32F4 update drivers version to CUBE V1.26.1
2021-05-10 17:25:11 +02:00
Martin Kojtal 3003a171b2 fixup! error: use __INITIAL_SP from cmsis instead of RTX one 2021-05-10 16:09:18 +01:00
Martin Kojtal 4eff89c0cd
Merge pull request #14653 from rwalton-arm/relax_click_version_req
requirements: Relax Click version requirement
2021-05-10 16:28:04 +02:00
reme 5f279efc75 STM32F4 update drivers version to CUBE V1.26.1 2021-05-10 14:38:05 +01:00
reme b62970fdf1 README update STM32F4 to CUBE V1.26.1 2021-05-10 14:37:57 +01:00
Martin Kojtal e18d280ede
Merge pull request #14588 from Patater/mbed-libs-for-m55
Add v8.1-M architecture awareness
2021-05-10 15:13:33 +02:00
Martin Kojtal c54b089498
Merge pull request #14651 from JeanMarcR/STM32L4_NEW_CUBE
STM32L4 update drivers version to CUBE V1.17.0
2021-05-10 15:13:06 +02:00
Martin Kojtal 7f68465b3a
Merge pull request #14631 from affrinpinhero-2356/feature_i2c_CB_error
driver/I2C: STm32: Updated HAL_I2C_ErrorCallback function to store information about error reason in obj_s->event
2021-05-10 14:48:20 +02:00
Robert Walton a494a43fff requirements: Relax Click version requirement
We were pinning the version of Click to 7.0.~. This was preventing
side-by-side installs with mbed-tools, as mbed-tools requires
Click>=7.1,<8.

Relax the Click version requirement to >7.0,<8 to prevent dependency
conflicts with mbed-tools.
2021-05-10 11:35:19 +01:00
Martin Kojtal 26c6b75d3b
Merge pull request #14625 from paul-szczepanek-arm/fix-read-auth
BLE: Fix overwriting attribute data from read auth callback
2021-05-10 11:25:55 +02:00
Martin Kojtal ffd5389c1c
Merge pull request #14628 from notronrj/master
ARDUINO_UNO form factor and new PinNames for MIMXRT1050 target
2021-05-10 11:18:41 +02:00
reme de330d4365 README update STM32L4 to CUBE V1.17.0 2021-05-10 07:48:51 +01:00
reme 6b6b17dbbb STM32L4 update drivers version to CUBE V1.17.0 2021-05-10 07:28:27 +01:00
Martin Kojtal acb43441bb
Merge pull request #14627 from pan-/fix-stop-periodic-advertising
Dispatch Gap::stopPeriodicAdvertising to the right function.
2021-05-07 12:41:29 +02:00
Martin Kojtal b7b4ca72cc
Merge pull request #14605 from paul-szczepanek-arm/tracix
BLE: Fix traces
2021-05-07 11:44:25 +02:00
James Norton f906707d0f Changed LED definitions to be compliant with Generic Pin Naming standard
Removed I2C_SCL and I2C_SDA from PinName enum as these are now defined in PinNameAliases.h
2021-05-06 11:36:14 -07:00
Affrin Pinhero b5f864d96d Updated HAL_I1C_ErrorCallback funtion to store information about error reason in obj_s->event. This will help user or application to check the reason for the error caused. This address the issue reported in the below link: ARMmbed/mbed-os#14059
Summary of changes:

Impact of changes

Migration actions required

Pull request type
[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[x] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-05-06 14:37:04 +05:30
James Norton 100ba31ca3 Change supported_form_factors from ARDUINO to ARDUINO_UNO to support Pin Name changes for mbed os v6.10. 2021-05-05 12:40:20 -07:00
James Norton 36d449a27d Added Support for ARDUINO_UNO Form Factor on TARGET_MIMXRT1050.
Renamed D0..D15 and A0..A5 to ARDUINO_UNO_D0 etc.

This allows user to use ARDUINO_UNO as the supported_form_factors in targets.json for MIMXRT1050_EVK.
2021-05-05 12:34:34 -07:00
Paul Szczepanek 2041cc6b57 don't copy data into attr if size too big 2021-05-05 19:01:13 +01:00
Paul Szczepanek 0155bce867 allow zero length attribute reads 2021-05-05 18:58:24 +01:00
Paul Szczepanek 17bf70989d ignore offset, replace whole value of attr in auth callback 2021-05-05 18:40:59 +01:00
Vincent Coubard cec8a9dc8c Dispatch Gap::stopPeriodicAdvertising to the right function. 2021-05-05 18:32:47 +01:00
Jaeden Amero a29a5e165a cortex-m55: Workaround armasm options bug
We use armclang with `-masm=auto` to auto-select which assembler to use
based on the syntax of the file. Cortex-M55 isn't supported by armasm,
but we don't yet have GCC-syntax asm files for ARM compiler
(1dd090bd1c/CMSIS/RTOS2/RTX/Source/ARM/irq_armv8mml.s).

    $ armclang --target=arm-arm-none-eabi -mcpu=cortex-m55 -mfpu=none -masm=auto -c cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/TOOLCHAIN_ARM/TARGET_M33/irq_armv8mml.S
    armclang: error: armasm does not support CPU 'cortex-m55'

In the mean time, we can build C and C++ files using the
`-mcpu=cortex-m55` option, and for armasm, cancel out that choice of CPU
with a known-supported CPU type, Cortex-R7, and provide the legacy
assembler-specific option `-Wa,armasm,--cpu=cortex-m55`.

After these changes, this works:

    $ armclang --target=arm-arm-none-eabi -mcpu=cortex-m55 -mcpu=cortex-r7 -Wa,--cpu=cortex-m55 -mfpu=none -masm=auto -c cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/TOOLCHAIN_ARM/TARGET_M33/irq_armv8mml.S
2021-05-05 16:58:24 +01:00
jeromecoutant 6f9bc14898 STM32WB : update Readme 2021-05-05 17:22:54 +02:00
jeromecoutant f904d10bd6 STM32WB : BLE update from STM32Cube_FW_WB_V1.11.1 2021-05-05 17:22:54 +02:00
jeromecoutant c9af87dc63 STM32WB : TARGET_STM32WB_V1.11.1 2021-05-05 17:22:43 +02:00
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
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
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