Martin Kojtal
28cdb37058
Merge pull request #14813 from ARMmbed/drivers_unittest_header_lib
...
CMake: unit-tests: Make drivers unittests only depend on headers it uses
2021-06-24 15:43:18 +02:00
Rajkumar Kanagaraj
ef5c86f1dd
CMake: unit-tests: Make events UNITTESTS only depend on headers it uses
...
Previously the events unit tests depended on `mbed-headers`, which
is a collection of all available headers in mbed-os. To make it easier
to separate the library, only depend on the headers we're using.
2021-06-24 03:03:40 -07:00
jeromecoutant
a4b2695d15
STM32H7 CM4: enable ART
2021-06-23 16:58:16 +02:00
jeromecoutant
ec945ba990
STM32H7 CM4: correct FLASH_SIZE
...
FLASH_SIZE_DATA_REGISTER is not accessible by M4,
acces makes a hard fault
2021-06-23 16:53:38 +02:00
Paul Szczepanek
55657c588b
clarify ble event docs with corssreferences
2021-06-23 13:27:15 +01:00
Arto Kinnunen
6c50a1880b
Merge commit '16ad9f6f25a4bac7613e5a9acd1465d3650caab5' into nanostack_rel_14_0_0_master
...
* commit '16ad9f6f25a4bac7613e5a9acd1465d3650caab5':
Squashed 'connectivity/libraries/nanostack-libservice/' changes from 260d80f42d..c343e4e2cc
2021-06-23 11:21:42 +03:00
Arto Kinnunen
16ad9f6f25
Squashed 'connectivity/libraries/nanostack-libservice/' changes from 260d80f42d..c343e4e2cc
...
c343e4e2cc Merge pull request #99 from PelionIoT/remove_ns_trace
70c411b0f8 Remove ns_trace.h
60e99d2c02 Update copyright (#100 )
git-subtree-dir: connectivity/libraries/nanostack-libservice
git-subtree-split: c343e4e2ccb1517881ac85140974f3eb8cd85d46
2021-06-23 11:21:41 +03:00
Arto Kinnunen
aacdad8203
Merge commit 'e8bf06aa4c8cd0b9133361c82669a83e53bc61a5' into nanostack_rel_14_0_0_master
...
* commit 'e8bf06aa4c8cd0b9133361c82669a83e53bc61a5':
Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from b1a8186d75..834c5357c6
2021-06-23 11:10:41 +03:00
Arto Kinnunen
e8bf06aa4c
Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from b1a8186d75..834c5357c6
...
834c5357c6 Update copyright (#107 )
49bc608cea Merge pull request #106 from PelionIoT/IOTTHD-4607
19fed95972 Use CCA fail RX event when RX ongoing
git-subtree-dir: connectivity/drivers/802.15.4_RF/atmel-rf-driver
git-subtree-split: 834c5357c6c4c19da8da521707a4958957871341
2021-06-23 11:10:40 +03:00
Arto Kinnunen
fa0fe8a87f
Restore CMakeLists.txt to stm-s2lp-rf-driver
...
Restore CMakeLists.txt to stm-s2lp-rf-driver as it is not available
in the source repository.
2021-06-23 10:27:30 +03:00
Arto Kinnunen
67fc864059
Merge commit '92e35b3a27554765a24703378be012d5b9023d6f' as 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver'
2021-06-23 10:24:25 +03:00
Arto Kinnunen
92e35b3a27
Squashed 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/' content from commit f491d77de8
...
git-subtree-dir: connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver
git-subtree-split: f491d77de847cd5358d53b5b4d975cb0d68d11f3
2021-06-23 10:24:25 +03:00
Arto Kinnunen
d7b347653d
Remove existing stm-s2lp-rf-driver
2021-06-23 10:23:56 +03:00
Arto Kinnunen
051f31a2d6
Restore CMakeLists.txt
...
Original master repository does not have CMakeLists.txt, put it back
as 'git subtree add' does not have it.
2021-06-23 10:11:33 +03:00
Arto Kinnunen
098b06878b
Merge commit 'eec3332ef684b2a5a5e5cbbf772cb7d389b6b152' as 'connectivity/drivers/802.15.4_RF/mcr20a-rf-driver'
2021-06-23 10:06:51 +03:00
Arto Kinnunen
eec3332ef6
Squashed 'connectivity/drivers/802.15.4_RF/mcr20a-rf-driver/' content from commit 61de9be6dc
...
git-subtree-dir: connectivity/drivers/802.15.4_RF/mcr20a-rf-driver
git-subtree-split: 61de9be6dcdb22c39f8bf68d5b768b8132a9dea4
2021-06-23 10:06:51 +03:00
Arto Kinnunen
6e584ed311
Remove existing mcr20a-rf-driver
2021-06-23 10:04:05 +03:00
Meano
2d2d1cf956
Modify the python tools to support Cortex-A5
2021-06-23 13:39:21 +08:00
Meano
ff2188150a
Make changes for Cortex-A5 support
2021-06-23 13:36:55 +08:00
Meano
a57b892cb8
Unify the cores/Cortex-A.cmake
2021-06-23 13:36:54 +08:00
Meano
6feca90589
Unify the __CORTEX_A macro in the files containing cmsis.h
2021-06-23 13:36:52 +08:00
Meano
d8917a47e5
Remove unused old symbols: __MBED_CMSIS_RTOS_CM/A9
2021-06-23 13:34:16 +08:00
Rajkumar Kanagaraj
e64d1c7605
CMake: unit-tests: Make drivers stub only depend on headers it uses
...
Previously the drivers stub library depended on `mbed-headers`, which
is a collection of all available headers in mbed-os. To make it easier
to separate the library, only depend on the headers we're using.
2021-06-22 04:32:17 -07:00
Rajkumar Kanagaraj
05cd885931
CMake: unit-tests: Move mbed-headers-drivers to the drivers directory
...
Move the header-only mbed-headers-drivers library the unit test stubs
depend on into the drivers component directory. This makes the drivers
stubs more self-contained and improves the composition of the library.
2021-06-22 04:28:06 -07:00
Rajkumar Kanagaraj
ae5bc5a39e
CMake: Move drivers stubs to the mbed-os/drivers directory
...
Move the drivers stub library into the drivers component directory.
so we can avoid duplicating the mbed-os source tree in a central
UNITTESTS folder.
2021-06-22 04:28:06 -07:00
Rajkumar Kanagaraj
9a4bdb8ef4
CMake: unit-tests: Make drivers UNITTESTS only depend on headers it uses
...
Previously the drivers unit tests depended on `mbed-headers`, which
is a collection of all available headers in mbed-os. To make it easier
to separate the library, only depend on the headers we're using.
2021-06-22 04:17:56 -07:00
Rajkumar Kanagaraj
10beeab6c2
CMake: unit-tests: Pwmout & Watchdog: Remove trailing whitespace
2021-06-22 04:05:07 -07:00
Mohammed Mubeen
9732cdcce6
Updated comments appropriately
2021-06-22 14:22:16 +05:30
Abbas Bracken Ziad
bfdf6f09ec
M2354: inherit PSA_V8_M devices
...
For `MCU_M2354`, the use of `device_has` in `targets.json` overrides the devices
present in the base target: `PSA_V8_M`. In particular, `DEVICE_TRNG` is missing
in `NU_M2354` builds as `TRNG` is a member of the `PSA_V8_M` `device_has` list.
As suggested by @ccli8, to ensure that `PSA_V8_M` devices are inherited by
derived targets, such as `MCU_M2354`, the correct syntax to use is
`device_has_add`.
2021-06-21 12:40:30 +01:00
Mohammed Mubeen
2cc08cf5a6
Rebaseing to current master
2021-06-21 14:34:48 +05:30
Mohammed Mubeen
5049b518fb
Added working functionality to the can_filter api to accept IDs for filtering in both bxCAN and FDCAN
2021-06-21 14:17:41 +05:30
Mohammed Mubeen
064f94d0a6
Added to return failure if filter if unsupported format
2021-06-21 14:17:31 +05:30
Mohammed Mubeen
274d8aa40c
The default FIFO for can by hardware is FIFO0 as set by the CAN STM API in configuration. Hence the read api is modified to access FIFO0 only
2021-06-21 14:17:14 +05:30
mbedmain
cecc47b4a5
Update Mbed version block
2021-06-18 11:54:51 +01:00
Martin Kojtal
3319bebfc4
Merge pull request #14801 from paul-szczepanek-arm/fix-ble
...
BKE: fix statements outside correct feature guard blocks
2021-06-17 22:03:17 +02:00
Paul Szczepanek
ede39c4608
put statements inside the correct feature guard blocks
2021-06-17 16:51:28 +01:00
Martin Kojtal
1a2e96bb04
Merge pull request #14797 from saheerb/mbedtls_fix
...
run example-tls on faster K64F board (than K66F)
2021-06-17 15:58:12 +02:00
Martin Kojtal
c358ab2946
Merge pull request #14749 from tymoteuszblochmobica/fcntl
...
Fcntl setting improvement,
2021-06-17 15:37:55 +02:00
Martin Kojtal
8cb8e49a67
Merge pull request #14747 from paul-szczepanek-arm/fix-adv-con
...
BLE: fix advertising set termination event
2021-06-17 15:37:29 +02:00
saheerb
5d11a1e350
run example-tls on faster K64F board (than K66F)
2021-06-17 09:43:53 +01:00
Mohammed Mubeen
1fc141905e
Added code to set TBTIE, to enable the tx complete/abort interrupts, for
...
all supported FDCAN platforms
2021-06-15 20:17:50 +05:30
Martin Kojtal
3cf5f8e14f
Merge pull request #14752 from tymoteuszblochmobica/sockets
...
LWIP Broadcast socket option added
2021-06-15 15:08:53 +02:00
Bora Özgen
8705a6a510
Cellular: Add AT handler buffer size to configuration
2021-06-15 15:03:57 +02:00
Bora Özgen
97362f23ff
BG96: Add correct get_ip_address implementation
...
The default get_ip_address implementation was not working for
BG9x. Furthermore the cellular connect routine tries to get the
address multiple times, which added around 2 seconds of
unnecessary delay to the connection. This commit adds the correct
implementation using the AT+QIACT? command.
2021-06-15 14:20:46 +02:00
Martin Kojtal
fd7e33b361
Merge pull request #14772 from LDong-Arm/mbedtls_timing
...
Improve implementation of Mbed TLS timing
2021-06-15 13:09:49 +02:00
Lingkai Dong
49163f0f33
Move Mbed TLS self tests to a separate configuration
...
We potentially save flash space by not enabling Mbed TLS self-tests
by default. A new test config file, TESTS/configs/mbedtls.json, is
provided to enable self tests. This newly created JSON file also
enables timing in Mbed TLS so timing gets tested.
2021-06-15 10:50:14 +01:00
Affrin Pinhero
ef5ac45192
driver/i2c: STM32: I2C Read Write Take long time
...
Modified i2c_device.h file. This will solve I2C read
write long time issue. Updated default I2C peripheral clock
value to 160MHz.
fix:
ARMmbed/mbed-os#14732
Signed-off-by: Affrin Pinhero <affrin.pinhero@hcl.com>
2021-06-15 15:08:24 +05:30
Lingkai Dong
d6f825ebf0
mbedtls: Run mbedtls_timing_self_test if MBEDTLS_TIMING_C
...
This allows us to verify the support for Mbed TLS timing on Mbed OS.
Note: The macros MBEDTLS_TIMING_C and MBEDTLS_TIMING_ALT are not
enabled by default and need to be additionally enabled to run this
test.
2021-06-14 17:49:17 +01:00
Lingkai Dong
ca719a96a8
mbedtls: Use LowPowerTimeout for mbedtls_set_alarm() if available
...
The function `mbedtls_set_alarm()` is only precise to seconds, so
`LowPowerTimeout` is enough and saves power.
2021-06-14 17:49:17 +01:00
Lingkai Dong
e16f59a2ee
timing_mbed.cpp: Check MBEDTLS_TIMING_ALT
...
Do not compile the Mbed implementation of Mbed TLS unless
MBEDTLS_TIMING_ALT is defined. This prevents a macro check error on
devices that do not have LPTICKER or USTICKER when Mbed TLS timing
is not enabled.
2021-06-14 17:48:42 +01:00