Commit Graph

33083 Commits (4767b7e1ac9b03fdd4212fb19fb3b3d31facb33f)

Author SHA1 Message Date
Paul Szczepanek 4767b7e1ac fix missing observer ifdefs 2021-05-18 20:58:26 +01:00
Paul Szczepanek 910b7a6438 clear the pal gap queue on reset 2021-05-18 10:39:20 +01:00
Paul Szczepanek 30cd6071cf remove stopping sets since controller resets them 2021-05-18 10:24:16 +01:00
Paul Szczepanek ab123d3e22 advertising start queued up waiting for completion 2021-05-17 19:37:26 +01:00
Anna Bridge 7279ae2cd0
Merge pull request #14657 from LDong-Arm/refactor_securestore
Deprecate broken TDB_EXTERNAL_NO_RBP and FILESYSTEM_NO_RBP in kv_config
2021-05-13 14:45:38 +01:00
Anna Bridge 117ecd5404
Merge pull request #14656 from rwalton-arm/windows_ninja_response_files
CMake: Only force Ninja response files on Windows
2021-05-13 11:18:49 +01:00
Anna Bridge 640d844251
Merge pull request #14623 from s-bruce13/master
Updated SDK 2.9.1 and added Flash Support for MIMXRT1170_EVK
2021-05-13 11:18:05 +01:00
Anna Bridge d64d0b7864
Merge pull request #14609 from JeanMarcR/STM32L0_NEW_CUBE
STM32L0 update drivers version to CUBE V1.12.0
2021-05-13 11:17:09 +01:00
Martin Kojtal 541ae06545
Merge pull request #14619 from debdeep-arm/ws-stats-nbr-table-master
Add API to get Wi-SUN Neighbor Table
2021-05-12 16:28:33 +02:00
Martin Kojtal 0f907d7620
Merge pull request #13791 from Patater/default-random-seed-experimental
mbedtls: Don't attempt to use default_random_seed
2021-05-12 11:03:52 +02:00
Martin Kojtal a4c63e6fdb
Merge pull request #14576 from marcuschangarm/trace_debug_color
Trace: Change tr_debug color from gray to bright blue
2021-05-12 10:48:44 +02:00
Martin Kojtal c02e101e9f
Merge pull request #14336 from AGlass0fMilk/polymorphic-can
Implement polymorphism for CAN driver
2021-05-12 10:17:28 +02:00
Martin Kojtal a104dac9cb
Merge pull request #14655 from rwalton-arm/fix_missing_stub_include
mbedtls_stub: Add missing include
2021-05-12 09:13:35 +02:00
harmut01 6b2c133a98 Refactor KVStore config override explanation
The documentation previously referred to a weakly defined function
`storage_configuration`, however, this function was replaced at some
stage by `kv_init_storage_config`. Refactor the explanation on how to
override the default configurations to reflect this. Also, remove
the snippet which was used to show the implentation of
`storage_configuration`.
2021-05-11 17:19:16 +01:00
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
Robert Walton ccb49b506d CMake: Only force Ninja response files on Windows
We force Ninja to create response files to work around file path length
limitations on Windows. Previously we were forcing the response file
generation for all platforms, unless we were building on Windows using
ARMClang, this was to work around a CMake issue
https://gitlab.kitware.com/cmake/cmake/-/issues/21093

Unfortunately `ar` on macOS doesn't support Ninja response files. So the
check was incorrect, as forcing a response file to be generated on macOS
causes a build failure when trying to build Mbed's unit tests.

This PR changes the logic so we only generate a response file on Windows
systems if we're not building with ARMClang.
2021-05-11 13:26:12 +01:00
Robert Walton 31926c81e0 mbedtls_stub: Add missing include
mbedtls_stub uses memset but doesn't add the <string.h> include. This
causes build failures with clang.

Add the include so we can build unit tests using clang.
2021-05-11 12:47:51 +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
s-bruce13 659f0bbe07 adding flash support
adding flash support

Updated SDK 2.9.1 and added Flash Support
2021-05-10 11:31:33 -05: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
Debdeep Saha d963a9af4a Added API to get Wi-SUN Neighbor Table 2021-05-10 20:00:32 +05:30
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
George Beckstein d39a4168ec Replace NonCopyable in CAN inheritance.
This commit moves the deletion of copy constructor and copy assignment operators to the `mbed::interface::can` class, where both `mbed::CAN` and `mbed::interface::CAN` inherit enum types from. This allows `NonCopyable` to be removed from the inheritance list.
2021-05-07 21:02:34 -04:00
s-bruce13 0f4bc86a21 Updated drivers to SDK to 2.9.1 2021-05-07 08:29:53 -05: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
reme 5328eacefd STM32L0 update drivers version to CUBE V1.12.0 2021-05-06 13:15:47 +01: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
reme 915268190f README update STM32L0 to CUBE V1.12.0 2021-05-06 10:45:40 +02:00
George Beckstein d79446c0da Fix astyle CI failures 2021-05-06 02:09:54 -04:00
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
Marcus Chang 6e4c02ac6f Trace: Change tr_debug color from gray to bright blue
The gray-on-black color code used for debug level print-out in
mbed_trace is hard to read. Bright-blue-on-black increases the
brightness of the text without over shadowing the info level
default (white-on-black), thus making it easier to read while
maintaining the original intention.

For original color set MBED_TRACE_COLOR_THEME to 1.
2021-05-05 12:34:48 -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