Commit Graph

33239 Commits (3ee443bfde86d71c068951edb920b3622d9ef71c)

Author SHA1 Message Date
jeromecoutant 4181aad209 STM32WB astyle 2021-05-25 14:46:00 +02:00
jeromecoutant 49f8ddd456 STM32L5 astyle 2021-05-25 14:46:00 +02:00
jeromecoutant 1694acd7ac STM32L4 astyle 2021-05-25 14:46:00 +02:00
jeromecoutant 8b0f3582a8 STM32L1 astyle 2021-05-25 14:46:00 +02:00
jeromecoutant b363359d68 STM32L0 astyle 2021-05-25 14:46:00 +02:00
jeromecoutant cfd86882d3 STM32H7 astyle 2021-05-25 14:45:52 +02:00
jeromecoutant 9cadad3dcf STM32G4 astyle 2021-05-25 14:45:51 +02:00
jeromecoutant 4b75eb8d26 STM32G0 astyle 2021-05-25 14:45:51 +02:00
jeromecoutant 798057d07b STM32F4 astyle 2021-05-25 14:45:51 +02:00
jeromecoutant f4d8c8a746 STM32F3 astyle 2021-05-25 14:45:51 +02:00
jeromecoutant cedb1043f1 STM32F0 astyle 2021-05-25 14:45:51 +02:00
jeromecoutant c02cb71b35 STM32 common filess astyle 2021-05-25 14:45:30 +02:00
Affrin Pinhero 67a38341b4 STM32: Fixed I2C Bug reported in ARMmbed#14696
Modified HAL_I2C_ErrorCallback function to solve bug reported in I2C Driver.
This commit solves compilation error occured when DEVICE_I2CSLAVE is not defined.

fix #14696

Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-05-25 17:54:39 +05:30
Anna Bridge 8b1cd98a8e
Merge pull request #14574 from noonfom/string-buffer-length
Fix string buffer length in UUID trace helper
2021-05-25 12:38:06 +01:00
Anna Bridge e5c79edf34
Merge pull request #14665 from LDong-Arm/frozen_tools_end
Travis: Move frozen tools check to the end
2021-05-25 12:26:58 +01:00
Qinghao Shi 8301854be1 TESTS: rename variable interface to fix broken tests 2021-05-24 19:52:51 +00:00
Affrin Pinhero 72138269d3 Merge branch 'ARMmbed:master' into adcBank 2021-05-24 23:50:22 +05:30
Affrin Pinhero 0c9523a2a6 STM32L152: Added ADC Bank_B functionality.
Modified analogin_init function to take correct value for ChannelsBank depends on ADC pin.
This commit adds ADC Bank_B usablity to STm32L152RE. With this commit PB_2 can also woak as ADC_IN.
2021-05-24 23:44:02 +05:30
Lingkai Dong f9a0501263 Travis: Move frozen tools check to the end
When the scripts for the old tools are modified (e.g. when a new
target is added), the frozen tools check fails but we allow the change
if it's really needed. By moving the frozen tools check to the end,
Travis doesn't terminate early and the other tests get to run.
2021-05-24 14:39:56 +01:00
Werner Lewis c97dcd0bae CMSIS: Modify M0/M0+ GCC asm to support ARMC6 2021-05-24 13:56:19 +01:00
Werner Lewis bef020b0c7 cmake: Remove armasm workaround for Cortex M55 2021-05-24 13:56:19 +01:00
Werner Lewis 204dd5b1a8 cmake: Use GCC CMSIS assembly with ARM toolchain
CMSIS provides both GNU and legacy ARM assembly files. Instead of using
armasm and legacy asm with ARM Compiler 6, CMakeLists is modified to
use the GNU format with both GCC_ARM and ARM C6.
2021-05-24 13:56:19 +01:00
adbridge 1684b9c647 Add GitHub action for issue triaging script
Improve comments
2021-05-24 13:55:19 +01:00
Werner Lewis 046fa78319 Update GCC except.S to support ARMC6
ARM Compiler 6 supports GNU-style assembly with armclang. Instead of
relying on armasm with the legacy syntax, GCC except.S is updated so
that it can be used with ARM as well as GCC_ARM toolchains. CMake is
updated to use this version.
2021-05-24 13:54:57 +01:00
jeromecoutant 81dc8f8605 STM32: correct __cplusplus brackets in ci2c_device.h 2021-05-24 14:47:05 +02:00
jeromecoutant 073c82e568 STM32: correct __cplusplus brackets in can_device.h 2021-05-24 14:39:32 +02:00
Anna Bridge 77927d0c7a
Merge pull request #14684 from AGlass0fMilk/fix-kvstore-security-db
Fix missing `as_entry` method in KVStoreSecurityDb
2021-05-24 13:22:31 +01:00
Anna Bridge 39922228d6
Merge pull request #14683 from jeromecoutant/PR_WBBARE
Baremetal tests: enable BLE tests with NUCLEO_WB55RG
2021-05-24 13:20:55 +01:00
Anna Bridge e0069d8b9a
Merge pull request #14678 from ghseb/uartserial-shadowing-2
Serial: remove shadowing member variables
2021-05-24 13:20:11 +01:00
Anna Bridge ae62f9d02c
Merge pull request #14674 from anttiylitokola/master
Update mbed-coap to version v5.1.10
2021-05-24 13:18:53 +01:00
Anna Bridge 12025a107f
Merge pull request #14671 from saheerb/master
enable aws example test in CI
2021-05-24 13:17:24 +01:00
Anna Bridge 10a2da9b5e
Merge pull request #14668 from ikmdani/fix_i2c_read_13967
Driver: I2C: STM32F2/STM32F4/STM32L1: Fix alternate i2c read.
2021-05-24 13:14:36 +01:00
Anna Bridge 95dadc67b1
Merge pull request #14664 from LDong-Arm/nrf52832_flashiap
Enable FlashIAP for MCU_NRF52832
2021-05-24 13:12:06 +01:00
Anna Bridge 72f08db8f6
Merge pull request #14593 from JeanMarcR/STM32F7_NEW_CUBE
STM32F7 update drivers version to CUBE V1.16.1
2021-05-24 13:10:35 +01:00
Anna Bridge 9e98a2ceb4
Merge pull request #14592 from JeanMarcR/STM32G4_NEW_CUBE
STM32G4 update drivers version to CUBE V1.4.0
2021-05-24 13:10:04 +01:00
Anna Bridge 5ef56cc6f4
Merge pull request #14557 from affrinpinhero-2356/feature_i2cTiming_Calculation
STM32: driver/Added I2C timing calculation algorithm
2021-05-24 13:09:19 +01:00
Anna Bridge dcd6dc3837
Merge pull request #14536 from jeromecoutant/DEV_STM32F0_LPTICKER_OPTIM
STM32: Add LP_TICKER and US_TICKER optimisation macro
2021-05-24 13:06:03 +01:00
Anna Bridge 4e586a93d3
Merge pull request #14426 from ARMmbed/feature_unittest_refactor
CMake: Refactor UNITTESTS CMake
2021-05-24 13:04:22 +01:00
Mohammed Mubeen e989c48668 Added information on limitation of asynchronous SPI at high speeds(MHz
ranges)
2021-05-21 16:27:13 +05:30
reme b2b9c3d49f README update STM32L5 to CUBE V1.4.0 2021-05-20 15:04:48 +01:00
reme f599a5463c STM32L5 RNG : update for deprecated MCU version 2021-05-20 15:02:40 +01:00
reme 7d1f5c4c40 STM32 TRNG : init update 2021-05-20 15:02:40 +01:00
reme 276eefd0cc STM32L5 update drivers version to CUBE V1.4.0 2021-05-20 15:02:40 +01:00
Rajkumar Kanagaraj 6d4caad83d CMake: Move CMAKE_CROSSCOMPILING check inside library CMake 2021-05-20 06:26:10 -07:00
George Beckstein 2578c5356b Fix missing `as_entry` method in KVStoreSecurityDb
This commit introduces changes to fix a missing method, `as_entry`, and traces that were not updated properly to work with this new method.

Prior to this fix, it was not possible to use KVStoreSecurityDb as the build would fail since the `as_entry` method was not declared in the class header file.

This bug was introduced with commit 957486e0eb in PR ARMmbed/mbed-os#14198
2021-05-19 16:38:13 -04:00
jeromecoutant ba6d664ff2 Baremetal tests: enable BLE tests with NUCLEO_WB55RG 2021-05-19 17:52:48 +02:00
Affrin Pinhero d974b47439 driver/i2c: Added I2C timing calculation function.
This commit adds I2C timing value automatic calculation algorithm
for all supported families added. This patch improves I2C timing calculation
according to I2C input clock and I2C bus speed.
This commit also allows user to change the system clock and I2C input clock.

Related issue: #12907

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-19 18:35:47 +05:30
Lingkai Dong c780165686 psa: Remove outdated macro checks in tests
The macros `TARGET_PSA` and `COMPONENT_PSA_SRV_IPC` no longer exist.
The former is replaced by `COMPONENT_PSA` which is also a directory
where the tests are located, so its check can be assumed true.
The latter is not applicable to Mbed OS PSA and can be assumed false.

Note: The entropy_inject test is skipped by default unless a user
manually configures the required `MBEDTLS_ENTROPY_NV_SEED`.
2021-05-19 11:00:26 +01:00
Lingkai Dong 63531ecf45 psa: Fix test detection for Mbed CLI 1
A Greentea test is detectable by Mbed CLI 1 only if it's two-levels
deep inside a `TESTS` directory, e.g. `TESTS/foo/bar/main.cpp`. But
several Mbed OS PSA tests are only one-level deep. This commit fixes
the issue by adding an extra level of directory.
2021-05-19 11:00:20 +01:00
Lingkai Dong d1655ea772 psa: Add missing inclusion of crypto_types.h
val_client_defs.h includes crypto_values.h, but the latter requires
type definitions from crypto_types.h.
2021-05-19 11:00:06 +01:00