Commit Graph

33671 Commits (22b2e9f800409f4eb341e7c171e91a3982a44985)

Author SHA1 Message Date
Lingkai Dong 2d36341f41 target_configs.json: Remove unreachable nsapi entries
In `tools/test_configs/`, target-specific test configurations are
defined in `target_configs.json` and parsed by `__init__.py`. The
latter only makes use of `default_test_configuration` (default test
configuration to use) and `test_configurations` (more configurations
selectable via `mbed test --test-config <config>`. Anything else
is ignored, including nsapi, so this commit cleans up dead entries.
2021-06-28 10:31:55 +01:00
Arto Kinnunen b3cced7d7f Update sal-stack-nanostack CMakeLists
Add new files to CMakeLists.txt
2021-06-28 09:38:49 +03:00
Arto Kinnunen 3b9a9c7fe3 Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 0903b819c5..4a3c5c525b
4a3c5c525b Merge remote-tracking branch 'origin/release_internal' into release_external
2b8d2e1356 Do not reset radio when MAC data request timeouts (#2647)
95c506a276 Frame counters for nw keys are now stored to NVM only after send key is set (#2641)
3b3010a79b Adjusted stagger random to [min,min+max] and for small nw set the stagger value to 10 seconds
02bc33a242 Adjusted security protocol (EAP-TLS,4WH,2WH) retry timers
eb26726020 High Priority timestamp compare overflow support fix.
928723a33e FHSS WS: Initialize broadcast channel count when enabling FHSS (#2642)
6040d703c8 Updated change log
667b191223 Changed initial EAPOL-key retries from trickle to exponential backup
d925145d33 Add RTT calculation for DHCP Time calculation
0b82953567 Traceroute bug fix.
04de6e26d8 Merge pull request #2638 from PelionIoT/mbed_os_fix_ufsi_calculation
20123477c6 Fixed FHSS UFSI calculation unit tests
436f16e84f Handle timer rollover in calculate_ufsi
411cf5c7a4 coding style
d6f44218d6 Correct ufsi timing calculation
560619d85d Add network time vendor data element to DHCPv6 reply message
6d290dc3c1 System time read/write callbacks (#2637)
7905df666d Restart or remove transmission when MAC data request timeouts (#2636)
c97695cfc6 Bug fix: EAPOL parent compare fix
e283e6285c Fixed channel mask usage with OFDM configurations (#2633)
24168f891b Do not send too old packets (#2632)
dbd83be16d Fix copyrights (#2631)
7f0cffdbf7 Merge pull request #2630 from PelionIoT/use_pelion_copyright
511bd5a3ad Corrected coding style
57ec0281a8 Corrected comparison
7d853de862 When EAPOL waiting queue is full oldest entry is removed
acf580fbd0 Update copyright in changed MDNS files
933c0bbf0a Update copyright
3aeb2af77c Statistics for data request latencies (#2629)
3f7eae64ef EAPOL FHSS temp entry discover
5200b666e7 DHCP time elapsed time write fix.
0536874f64 Removed empty EAPOL-key message send after 4WH completion to nodes on relay
8a2a683aef Fixed DHCP wrong time elapsed value write.
283f2ee685 DHCPv6 update:
99be7783ec EAPOL temp neighbour update
4f9e3d12ab Adaptation layer to remove oldest packet first
20f1f6492f Added ignoring of retry messages from RADIUS server when waiting EAP-TLS
8a8b407c47 Add RSL check for ETX Calculation for RPL parent selection
c05e1da757 Fix DHCP server Uninitialized memory read
77229eefa6 Fix CPP error from domain prefix check
7e47889111 support filtering of EAPOL parents based device-min-sens configuration
618a19192c Wi-SUN Expedite forward state update
4371462d66 Fix NULL read from RPL header addition
7802c7ee97 Update CHANGELOG.md
b2c810402c CHANGELOG for Nanostack v13.0.0 (#2615)

git-subtree-dir: connectivity/nanostack/sal-stack-nanostack
git-subtree-split: 4a3c5c525b2a62c19ecfb0ac64d09bd2a7f56ceb
2021-06-28 09:38:44 +03:00
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
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