Commit Graph

29946 Commits (tools-release-test)

Author SHA1 Message Date
Gabor Abonyi a5b15a75be Add ioctl platform service
Define weak functions that the platforms can overwrite

Change-Id: I3d6f3e59a9c5b88456875a495fa6decc1337683e
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-02-21 14:31:42 +01:00
Kevin Bracey 04580b73d8 C++11-ify virtualisation in Nanostack classes
Use `override` and `final` where appropriate, and eliminate unnecessary
`virtual`.

Some other C++11 simplifications.

Eliminate two unused header files (with no corresponding source files).

Reduces code size.
2020-02-21 15:20:57 +02:00
Kevin Bracey f40c5616e1 Inline nsapi_create_stack(NetworkStack)
The rather fiddly `nsapi_create_stack` template + overloads used during
socket formation don't inline their core, which is the identity operation
for `NetworkStack *` itself. Make code generation easier by having that
core be inline.
2020-02-21 15:13:14 +02:00
Martin Kojtal 8f1bf967d3
Merge pull request #11942 from michalpasztamobica/remove_deprecated_apis
IPCore String-based API removal
2020-02-21 12:14:06 +00:00
Martin Kojtal 72b2fcf29a
Merge pull request #12384 from jeromecoutant/PR_WBDEBUG
STM32WB : update BLE part with better support
2020-02-21 12:12:42 +00:00
Martin Kojtal a18259abb9
Merge pull request #12446 from boomer41/i2cee-add-eight-bit-address
Add Eight-Bit-Addressing mode to I2CEEBlockDevice.
2020-02-21 12:12:16 +00:00
Martin Kojtal 37a7ff0443 scancode: skip non code files
For instance pdf, or binaries - catch them as an exception and skip for
additional SPDX check
2020-02-21 09:57:30 +00:00
Marcin Tomczyk b5d0b7b6f1 IOTSTOR-1009 - TDBStore magic number if endian sensitive - remove incorrect comment 2020-02-21 00:57:50 -08:00
Arto Kinnunen da04cc3fcf Update STM32 EMAC driver based on review
-Fix len type
-Use ETH_RX_BUF_SIZE instead of hard-coded value 1500
2020-02-21 10:26:57 +02:00
Arto Kinnunen 6a410f89eb Update STM32 EMAC driver - limit RX frame length
DISCO_F769NI EMAC driver may return ethernet packet with illegal
length when driver is under heavy load. In one case, the received
bytes indicate frame length of 53 bytes but advertised data length
was 65518 bytes. In another case EMAC driver variable
`EthHandle.RxFrameInfos.length` contained value 0xFFFF FFFC.

As a work-around accept only 1-1500 bytes long ethernet packets.
2020-02-21 10:26:40 +02:00
Martin Kojtal c520449e2d
Merge pull request #12206 from SeppoTakalo/kvstore_tests
Kvstore tests
2020-02-21 07:56:19 +00:00
Martin Kojtal 9cb8a12cc2 fix SPDX identifier typos 2020-02-21 07:01:55 +00:00
Martin Kojtal 5f1c77741a tools: fix SPDX identifiers 2020-02-21 07:01:48 +00:00
Martin Kojtal c0ed178830 component storage: fix SPDX identifiers 2020-02-21 07:01:09 +00:00
Martin Kojtal c43f808f3d component psa: fix SPDX identifiers 2020-02-21 07:01:08 +00:00
Martin Kojtal 01e273ee04 component mcr20: fix SPDX identifiers 2020-02-21 07:01:07 +00:00
Martin Kojtal b9e00de2d9 psa: fix licenses + SPDX 2020-02-21 07:01:05 +00:00
Martin Kojtal ab76e0a59e component storage: fix SPDX identifiers 2020-02-21 07:01:04 +00:00
Martin Kojtal 7789ecae16 component wifi: fix SPDX identifier 2020-02-21 07:01:03 +00:00
Martin Kojtal ec836aeb3e hal: fix SPDX identifiers 2020-02-21 07:01:02 +00:00
Martin Kojtal a8bff819f5 test apps: fix licenses + SPDX identifiers 2020-02-21 07:01:02 +00:00
Martin Kojtal e20e7b8066 tests: fix SPDX identifiers 2020-02-21 07:01:01 +00:00
Martin Kojtal 2d7e1ba943 unittest: fix missing licenses + spdx 2020-02-21 07:01:00 +00:00
Martin Kojtal 6e64fe3800 test: fix SPDX identifier 2020-02-21 07:00:59 +00:00
Martin Kojtal 21ad8af815 platform: fix SPDX identifiers 2020-02-21 07:00:58 +00:00
Martin Kojtal 2e7fa8ba6b rtos: fix SPDX identifiers 2020-02-21 07:00:57 +00:00
Martin Kojtal f1887e875f drivers: fix SDPX identifiers 2020-02-21 07:00:56 +00:00
Martin Kojtal aa4e7b17aa rtos: add SPDX identifiers 2020-02-21 07:00:56 +00:00
Martin Kojtal db989ba65a travis: exclude one file from scanning licenses
tools/test/toolchains/api_test.py is problematic as it contains code
for checking tools. This contains license code in strings - scancode things these are the licenses in the file.

We skip it checking in travis
2020-02-20 15:34:40 +00:00
Martin Kojtal 685e0be935
Merge pull request #12473 from amock/fix-MCUXpresso-dac
Fix Freescale MCUXpresso AnalogOut
2020-02-20 15:18:14 +00:00
Arto Kinnunen a5d85bd927 RF802.11.4 S2LP driver sync with dev repository
Sync with version v1.0.1 in development repository.
2020-02-20 17:11:06 +02:00
Seppo Takalo b8361e43bd Fix license headers. 2020-02-20 16:56:30 +02:00
Arto Kinnunen 85e85ee93a Merge commit 'e7914df2fc0d604e27f5c26c935d05181f6be72d'
* commit 'e7914df2fc0d604e27f5c26c935d05181f6be72d':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9b3e144f5b..fb7413b846
2020-02-20 16:29:05 +02:00
Arto Kinnunen e7914df2fc Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9b3e144f5b..fb7413b846
fb7413b846 Merge branch 'release_internal' into release_external
a9f6e88978 Merge branch 'master' into release_internal
c536960fb0 DHCPv6 Server feature update
01e7e820d5 Merge pull request #2314 from ARMmbed/update_from_mbedos
c906c43a8a Fixed typo: 'lenght' in ns_crc.h
2bd05584fe Wi-sun border router DHCPv6 server address alocation update
63e4680ca3 Allow buffer_dyn to handle more data (#2311)
9b82abff03 Copy IE unicast channel function from WS info instead of FHSS configu… (#2310)
18247d546f Wi-sun RPL memory soft and hard limit update
c8560dbe01 Updated RPL default memory sof and hard limit to 2/4 from 1/2.
05aa54c464 Update MPL parameters to follow Specification
f728d55920 Support for handle CRC error which will automatically change a channel.
6b6f535828 Corrected EUI-64 address bit flip on supplicant
015f3fe60e Corrected bitfield definition
7717ef8c60 Improved initial EAPOL-key send stop logic on supplicant
4185734223 Improved EAPOL key update retry logic
8bda176445 Wi-sun boot fix
6283dfd643 DIO advertisment fix
1acec7cdcc Aro Registation and Dao update
6cde17ad9c Iotthd 3963 2 (#2301)
b9187daa62 Randomize fixed channel when making new parent selection
34d0339a4d Wi-sun address registartion update
5b3055904a Allow unicast TX to overlap with MC (#2298)
d40b1c7d01 MAC: Updated calling FHSS TX done (#2295)
aeb93a16ae Add support for bbr configuration that removes default route from DIO
9b941af4b5 Use default UC channel function in discovery, fixed BC schedule (#2284)
d65fcc6bf2 Fix Wi-SUN network name comparison (#2294)
f085132543 Made parent set size configuraple in RPL
fd11ffae1a Added HAVE_WS flag to FHSS api (#2296)
4f275005fb Implemented optimal packet size test api (#2292)
87ee16a22b Call channel change after filtered out packet
d196ffc4c5 Refactor Wi-SUN BBR stop function
35970d7ea9 Revert "Disabled temporarily tx slot check for testing purposes (#2287)" (#2289)
8cc0ff508b Disabled temporarily tx slot check for testing purposes (#2287)
e306dc5adb Removed extra ";"
5642a4fe74 Free TX failed list when FHSS deleted (#2285)
9fcf718d22 Updated FHSS optimal packet length to 300 bytes (#2282)
427743f718 ETX and Source route validation update
7b6bcca842 Added TX/RX bytes in PHY statistics (#2281)
a043f8dc30 Wi-sun FHSS Management update
2ff90e6c0f Configure TXRX slot length using given datarate (#2275)
a126cb750d ETX sampling rule update
d5cf8d52e2 Clean ARMC6/GCC compiler warnings (#2278)
807632dd94 DHCP server freed next free allocated id
fd6ce049a3 Thread Child ml16 update clear old address queue's and registered address.
99e6efac6c Neighbour remove operation update
5cd094cd1d Corrected GTK update initial EAPOL-key trickle timer
7606ee87a9 Wi-sun NS Aro registration blacklisting update
e3e5a00c55 Timed parent selection timer trigger update
71441212ea RPL DIO Multicast message update
588f202a51 Wi-Sun RPL bootstrap update
20289f675d Added periodic RPL version number increase
d8dd18d89b Added ignoring of incoming security messages and improved EAP-TLS startup
73506346ca Corrected initial EAPOL-key trickle retries
ac33518493 Wi-sun ETX and proping update
11c486f391 Implemented unregistering FHSS from MAC. FHSS deleted in ifdown call. (#2266)
eabca172af Wi-Sun Border router DHCPV server SLAAC mode enabled by default.
1d6ce9c0a4 DHCPv6 Server feature update
46aa46042d Fixed unit test's.
c65292e9eb Mac enhanced ACK pending update
11a1e1d2de Store TX start channel and black list if TX failed (#2261)
04946065e4 Adapatation layer unicast list entry free update
4481e8635a Updated trace level to info.
c9e3d8ef74 Interface down update
1f77ad6964 Updated trace levels (#2258)
1d82fd5a5d Wi-sun BBR route update fix
33c48eb647 Removed NUD messages from registered children
ec2ea92b71 Added RX and TX active times in PHY statistics (#2255)
49686ccb3c Wi-sun certification test setup update
1090430622 Trickle API update and Wi-SUN config sol state timeout update
38df5768c5 Wi-sun advertisment consistent update
81740b8b1d Wi-sun bootstarp update nad balck list trace level update
6919ba1301 Wi-sun New key index activate.
0aead9305a Wi-sun Probe functionality revert operation
4ff02f9770 Stop sending normal ACK if neighbour is Unknown.
c387fda238 NS Probe limiter accept only 2 probe at 16 seconds period.
a58c71b96b Trace level updates (#2247)
6867dd7b27 Suplicant EAP-TLS timeout is not incremented from retries
1f1c2a24fa Test purpose change.
1b99fe18df Added ETX to rpl_possible_better_candidate
3441594157 RPL parent candidate list update
96ffe92744 Adaptation layer to support multiple simultaneous unicast transmissions (#2243)
45f851997f On stop (ifdown) stores frame counters regardless of threshold
5c2fc55f0e Corrected frame counter handling on re-discovery
930741617f Added check to prevent installing new GTK to used index using GKH
385ae14284 WS bootstrap: print MAC address
2b1dfb90ed Slaac address can be recreated after root stop
74ff3cc503 Merge branch 'release_internal' into release_external
66bfd985fb Fixed trace printing warnings.
21d9c24acd DHCP server address allocated pointer init fix.
e659a01241 Fixed compile warning for may uninitialized usage.
cee8502783 Fixed trace printing warnings.
bc9f07bd49 DHCP server address allocated pointer init fix.
e3fddadccf Fixed compile warning for may uninitialized usage.
bf909d29d3 Modified bbr restart mechanism when dodagid was lost

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: fb7413b846f0052d72c506ebab2534bcafdfff60
2020-02-20 16:27:48 +02:00
Arto Kinnunen 3badc791ce Merge commit '861558f452b51f8a20db35a30b5dc0492f3ec041'
* commit '861558f452b51f8a20db35a30b5dc0492f3ec041':
  Squashed 'features/nanostack/coap-service/' changes from b919a3366f..e5e0c138e6
2020-02-20 16:27:26 +02:00
Arto Kinnunen 861558f452 Squashed 'features/nanostack/coap-service/' changes from b919a3366f..e5e0c138e6
e5e0c138e6 Merge pull request #126 from ARMmbed/sync_from_mbedos
475b8f13fc Fixed typo: 'lenght' in coap_service_api.h

git-subtree-dir: features/nanostack/coap-service
git-subtree-split: e5e0c138e68bfd9a4687e1b02ec4c7c95b2617f6
2020-02-20 16:27:25 +02:00
Arto Kinnunen 7d315470a8 Merge commit 'a97eb91030e7a8c13f1e011882df716e702b5164'
* commit 'a97eb91030e7a8c13f1e011882df716e702b5164':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 9af756886f..9a61e73787
2020-02-20 16:25:15 +02:00
Arto Kinnunen a97eb91030 Squashed 'features/frameworks/nanostack-libservice/' changes from 9af756886f..9a61e73787
9a61e73787 Merge pull request #89 from ARMmbed/update_from_mbedos
2a07f443ed Fixed typo: 'lenght' in ip6string.h
050aa7f31a Include ns_types.h before mbed_trace.h in Nanomesh

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: 9a61e737872ba60fa73e9375011f63e9e266577a
2020-02-20 16:25:14 +02:00
Martin Kojtal 3662759a0e
Merge pull request #12438 from hugueskamba/hk-fix-baremetal-cy9cproto
Fix CY8CPROTO_062_4343W baremetal build
2020-02-20 12:50:29 +00:00
jeromecoutant 9977ace2c9 STM32 : enable MBED trace for QSPI 2020-02-20 12:20:24 +01:00
Seppo Takalo b013bc9563 Add EmulatedSD stubs that allow using files as a BlockDevice 2020-02-20 12:22:16 +02:00
Seppo Takalo 35410a9b53 Add module tests for TDBStore 2020-02-20 12:22:16 +02:00
Seppo Takalo 94bb831753 Extend storage tests with de-init test case 2020-02-20 12:22:16 +02:00
Martin Kojtal 0995ece3b2 Add scancode evaluate script
The goal: check license offenders in pull request

This is similar to what astyle does in Travis. We get list of files being changed. Because scancode does not support list of files being scanned but rather a file or directory, we copy files to SCANCODE folder. Execute scancode license check in this folder and check for offenders.

The rules there are: code files must have a license and SDPX identifier. If they don't, we print these and ask for review.

It functions nicely there is just one workaround needed. SPDX is not always 100 percent correctly found, therefore we recheck file if no SPDX manually in the script. This proves to remove false positives.
2020-02-20 09:49:50 +00:00
Chun-Chieh Li 8e8b546cbf Fix build failure when target's cmsis doesn't exist
For bootloader enabled target, it needs to have cmsis pack or provide memory override. This change fixes build failure in case of no cmsis pack but providing memory override with start being zero.
2020-02-20 17:39:20 +08:00
jeromecoutant a1570f936f STM32WB : Add ReadMe file
Help on FW update procedure
2020-02-20 09:20:44 +01:00
jeromecoutant 9d016022b6 STM32WB clean SetSysClock 2020-02-20 09:20:44 +01:00
jeromecoutant ebae0e56d4 STM32WB align deepsleep functions with CubeFW 2020-02-20 09:20:43 +01:00
jeromecoutant f0370222d8 STM32WB BLE : add FW version when trace is enabled 2020-02-20 09:20:43 +01:00
jeromecoutant 55b42a683e STM32WB HCIDriver trace update 2020-02-20 09:20:36 +01:00