Arto Kinnunen
51247bfc10
Squashed 'connectivity/nanostack/coap-service/' changes from 4a126bd278..bbe01736bd
...
bbe01736bd (via Mbed OS) mbedtls_stub: Add missing include (#134 )
c021690e3a Update copyright to Makefiles and scripts (#133 )
5fb7a6c3b8 Update copyright (#132 )
git-subtree-dir: connectivity/nanostack/coap-service
git-subtree-split: bbe01736bdafc808ee61c500223d0cf67953238d
2021-06-28 09:38:14 +03:00
Arto Kinnunen
6249aad249
Update copyright ( #15 )
...
-Change company name from Arm Limited to Pelion
-Update years
2021-06-28 09:38:11 +03:00
Arto Kinnunen
3a3c728784
Update license text in test files. ( #14 )
2021-06-28 09:38:11 +03:00
Antti Kauppila
2874fa67c4
Move ns_trace.h to mbed-trace folder
2021-06-28 09:38:11 +03:00
Antti Kauppila
a6d5d2c454
Moved ns_trace.h from nanostack-libservice
2021-06-28 09:38:10 +03:00
Antti Kauppila
6014c830c3
Moved ns_trace.h from nanostack-libservice
2021-06-28 09:38:10 +03:00
Tero Jääskö
6effd3d3ad
tr_array: fix use after free error after mbed_trace_free() is called
...
If one called mbed_trace_free() but continued using the trace (which
is a supported use case), the already freed tmp_data buffer was used
by tr_array().
This was spotted by Valgrind on some unit tests which do enable the
trace only temporarily for some of the tests.
Error being fixed in this PR:
--8<--8<--8<---
==5865== Invalid write of size 1
==5865== at 0x2639BB: mbed_trace_array (mbed_trace.c:569)
<...>
==5865== Address 0x5dc79d0 is 0 bytes inside a block of size 128 free'd
==5865== at 0x4C32D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5865== by 0x262723: mbed_trace_free (mbed_trace.c:192)
<...>
==5865== Block was alloc'd at
==5865== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5865== by 0x262548: mbed_trace_init (mbed_trace.c:162)
<...>
2021-06-28 09:38:10 +03:00
Tymoteusz Bloch
f1663e794a
Disable override errno erro value
...
Disable setting own values of flags for fcntl() function if they are defined
2021-06-25 17:12:55 +02:00
Martin Kojtal
de7e326bc1
Merge pull request #14677 from MubeenHCLite/corrections_in_STM_canapi
...
Changes required in STM CAN read API
2021-06-25 10:49:20 +02:00
Martin Kojtal
7523945df2
Merge pull request #14826 from ARMmbed/events_unittest_header_lib
...
CMake: unit-tests: Make events UNITTESTS only depend on headers it uses
2021-06-25 10:10:09 +02:00
Martin Kojtal
a2281a7e49
Merge pull request #14822 from jeromecoutant/PR_H7_M4
...
STM32H7: correction for FLASH API for CM4
2021-06-25 10:02:31 +02:00
Mohammed Mubeen
6f436dbac3
Adjusted spcae alignment
2021-06-25 12:06:44 +05:30
Martin Kojtal
43f1ee7a56
Merge pull request #14814 from boraozgen/bg96-get-ip-address
...
BG96: Add correct get_ip_address implementation
2021-06-24 16:18:41 +02:00
Martin Kojtal
829164acdb
Merge pull request #14778 from MubeenHCLite/Can_TxIrq_callback_resolution
...
CAN TxIRq callback never called -STM32G474
2021-06-24 15:44:52 +02:00
Martin Kojtal
9244625508
Merge pull request #14786 from ARMmbed/move_drivers_stub
...
Move mbed-stubs-drivers to the drivers directory
2021-06-24 15:43:37 +02:00
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
Dustin Crossman
444a2bdce0
Astyle run.
2021-06-23 15:40:09 -07:00
Paul Szczepanek
c9d0ff8674
ble security db complete sync implementation
2021-06-23 22:25:00 +01:00
Paul Szczepanek
7b4d1d59f1
add new BLE API call to sync security db with persisten storage
2021-06-23 22:25:00 +01: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
Bora Özgen
8b4b48e74c
RTOS: Add configuration to enable RTX events
2021-06-23 14:38:35 +02:00
Paul Szczepanek
55657c588b
clarify ble event docs with corssreferences
2021-06-23 13:27:15 +01:00
Arto Kinnunen
1de3aab0a9
Enable nanostack system time read/write
...
Allow Nanostack to read and write system time to synchronise time in
the mesh network. By default feature is enabled in the mesh json-
configuration.
2021-06-23 14:17:03 +03:00
Arto Kinnunen
5bb5ca7f8a
System time read/write callbacks
...
- Add new API for setting system time read and write callbacks.
- Update ws_pae to use the new time service.
2021-06-23 14:14:54 +03: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
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
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
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