Commit Graph

27763 Commits (aac3437a22ff2831080f1e7e50546335c6a6a400)

Author SHA1 Message Date
Giampaolo Mancini 1804b40fac Fix indentation 2019-11-12 14:48:54 +01:00
Tymoteusz Bloch 678b57c253 Add code to verify if external Wifi module is still responsible
after DNS Query flooding during DNS timeout test.
DNS timeout test requires flooding device with DNS queries.
This causes problem to ESP8266 module causing it to stuck for 11 sec.
In result all following tests fails. To avoid this "smart delay" is added.
If device preforms gethostbyname correctly then tests can proceed.
Otherwise after 1 sec sleep gethostbyname is repeated until success or re-check limit (set to 15).
Thanks to this all ethernet and non ESP8266 wireless devices don't need to wait but ESP must wait.
2019-11-12 14:41:15 +01:00
Giampaolo Mancini 6470afc1fc Remove ITM Trace support from Arduino Nano 33 BLE 2019-11-12 14:26:27 +01:00
Martin Kojtal 609612c1f2
Merge pull request #11840 from morser499/pr/whd1.50
Update Cypress WifiHostDriver to version 1.50
2019-11-12 13:56:35 +01:00
Martin Kojtal f61979ab31
Merge pull request #11843 from kapi90/master
Fix ethernet memory handling issues on CM3DS
2019-11-12 13:56:13 +01:00
Martin Kojtal 09c24507c3
Merge pull request #11824 from rajkan01/feature-baremetal-greentea-net
Skip Bare Metal green tea test for Network component
2019-11-12 11:09:46 +01:00
Martin Kojtal d556bf698f
Merge pull request #11821 from rajkan01/feature-baremetal-greentea-psa
Skip Bare Metal green tea test for PSA component
2019-11-12 11:07:16 +01:00
Martin Kojtal dd753abcb8
Merge pull request #11825 from rajkan01/feature-baremetal-greentea-storage
Bare metal green tea test for storage component
2019-11-12 11:01:29 +01:00
Martin Kojtal 09d9287e3b
Merge pull request #11721 from rajkan01/feature-baremetal-greentea
Bare metal greentea support
2019-11-12 10:59:39 +01:00
Bence Kaposzta 4dd7712ac7 Fix ethernet memory handling issues on CM3DS
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-11-12 10:57:20 +01:00
Giampaolo Mancini fd3088867e Add support for Makerdiary nRF52840-MDK 2019-11-12 09:56:04 +01:00
Ari Parkkila ad1107ef54 WiFi: Re-order Greentea tests with minor fixes
Run WIFI-GET-RSSI and WIFI-CONNECT-DISCONNECT-REPEAT tests in secure mode
Remove WIFI-CONNECT-PARAMS-VALID-UNSECURE, it's duplicate to WIFI_CONNECT with remains moved to WIFI-CONNECT-SECURE
2019-11-11 22:49:01 -08:00
Ryan Morse 977cf05473 Update WHD to v1.50 2019-11-11 15:12:03 -08:00
Ryan Morse 799146ba2f Move WHD from being a Target to being a Component 2019-11-11 15:12:02 -08:00
amq 450318347f
EFM32: Enable RESET_REASON and WATCHDOG for EFM32GG11_STK3701 2019-11-11 21:52:09 +01:00
Martin Kojtal 78d26a7d05
Merge pull request #11685 from jainvikas8/IOTSEC-1246
Check-in PSA related auto-generated files to support online compiler.
2019-11-11 18:22:19 +01:00
Martin Kojtal 4f6ca1512a
Merge pull request #11827 from ABOSTM/DISCO_H747I_ETHERNET_READY
DISCO STM32H747I ETHERNET support, but disabled.
2019-11-11 16:56:36 +01:00
Hugues Kamba 051991fafb mbed_retarget: Add a minimal console implementation to provide basic functionalities
The retarget code allocates an array of FileHandle* for console and file
handling (filehandles). A tiny target only needs a console (putc/getc).
There is no need for file handling.

The POSIX layer and the array of FileHandle* is not required for small
targets that only need a console ; this code is optionally compiled
out if the configuration parameter platform.stdio-minimal-console-only is
set to `"true"`.
2019-11-11 15:14:00 +00:00
Martin Kojtal a73c2b1429
Merge pull request #11814 from sandeepmistry/usb-msd-mode-sense-10
USBMSD: implement MODE SENSE (10) command
2019-11-11 15:51:51 +01:00
Bence Kaposzta 647216299f Fix ethernet memory handling issues on CM3DS
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-11-11 15:32:50 +01:00
Bence Kaposzta d5e89a25c6 Fix ethernet memory handling issues on CM3DS
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-11-11 14:39:08 +01:00
RAJKUMAR KANAGARAJ a682fde31c Incorporated review comments 2019-11-11 05:01:23 -08:00
RAJKUMAR KANAGARAJ 6437f99a11 Error message correction and rx_lib header filer removed on systimer test case 2019-11-08 16:11:11 -08:00
RAJKUMAR KANAGARAJ d8e2dd5b47 Incorporated the review comments 2019-11-08 09:50:09 -08:00
RAJKUMAR KANAGARAJ 829e90afc8 Incorporated review comments 2019-11-08 07:07:12 -08:00
jeromecoutant 7fcedd20e1 DISCO STM32H747I ETHERNET support, but disabled.
Ethernet is disabled by default,
because some hardware modifications are required on the board DISCO_H747I.
see https://os.mbed.com/teams/ST/wiki/DISCO_H747I-modifications-for-Ethernet
2019-11-08 16:05:00 +01:00
Vikas Katariya cdb5ebdd6b Documentation update for tools/psa
Signed-off-by: Vikas Katariya <Vikas.Katariya@arm.com>
2019-11-08 14:57:06 +00:00
Vikas Katariya dae119e7ea PSA release script changes.
Since the offline build is made to auto-generate PSA related components
and services for Secure targets, we can change the output directory to
update the files in the respective locations.
TARGET_PSA
  --TARGET_MBED_SPM
    --COMPONENT_SPE
      psa_setup.c
  --TARGET_TFM
    --COMPONENT_SPE
      --inc
	tfm_partition_defs.inc
        tfm_partition_list.inc
        tfm_service_list.inc
        tfm_spm_signal_defs.h
  --services
    --inc
      autogen_sid.h
      mbed_spm_partitions.h

The release script is been modified to commit these files if there are
any changes detected when `--commit` argument is passed.
Cleaning of auto-generated is been removed as it uses the main directory
for its operations, but PSA auto-generation will work if any of the
service and application-based manifests are updated.

Signed-off-by: Vikas Katariya <Vikas.Katariya@arm.com>
2019-11-08 14:57:06 +00:00
Vikas Katariya bd02761136 Remove auto-generation for non-secure PSA targets.
Only generate PSA headers/source related to components and services
when Secure build is initiated during compile time of PSA targets.
Let the Non-secure build rely on the checked-in files already present.

Signed-off-by: Vikas Katariya <Vikas.Katariya@arm.com>
2019-11-08 14:57:06 +00:00
Vikas Katariya f4a1945911 Add PSA auto-generated files to components
To support online compiler build for PSA targets, some files are
auto-generated (LPC55S69_NS and ARM_MUSCA_A1_NS) by the script
from offline build system. Since these files are identical for these
V8-M targets it would be good to check them in to support online
compiler as they are COMPONENT_SPE and services related.

In folder: components/TARGET_PSA/
  --TARGET_MBED_SPM
    --COMPONENT_SPE
      psa_setup.c
  --TARGET_TFM
    --COMPONENT_SPE
      --inc
	tfm_partition_defs.inc
        tfm_partition_list.inc
        tfm_service_list.inc
        tfm_spm_signal_defs.h
  --services
    --inc
      autogen_sid.h
      mbed_spm_partitions.h

Signed-off-by: Vikas Katariya <Vikas.Katariya@arm.com>
2019-11-08 14:57:06 +00:00
RAJKUMAR KANAGARAJ 9e994cfe38 Incorporated review comments 2019-11-08 06:49:28 -08:00
Martin Kojtal 816689d1bb
Merge pull request #11822 from tymoteuszblochmobica/tls
TLSSOCKET_HANDSHAKE_INVALID  test skip if  DNS AAA record not available.
2019-11-08 13:31:45 +01:00
Martin Kojtal 7b6a6d70df
Merge pull request #11833 from jamesbeyond/exp_github
TESTS: turn off blinky log compare test due to example changed
2019-11-08 13:31:26 +01:00
Martin Kojtal 1e43a181ec
Merge pull request #11834 from kivaisan/fix_wifi_unsecure_test_check
Fix flag checks to allow disabling unsecure tests
2019-11-08 13:31:06 +01:00
Martin Kojtal fe0ac4f6c8
Merge pull request #11836 from kivaisan/add_sender_address_and_port_check
Add sender address and port verification to UDPSOCKET_ECHOTEST
2019-11-08 13:29:36 +01:00
Martin Kojtal dd70938d25
Merge pull request #11839 from JanneKiiskila/SerialBase-compwarning
SerialBase.h|cpp [-Wreorder] compiler warning fix
2019-11-08 13:27:56 +01:00
Martin Kojtal 6e6c7d055e
Merge pull request #11634 from evedon/serial_design
Serial design draft
2019-11-08 11:41:08 +01:00
Janne Kiiskila 916b91f13e SerialBase.h|cpp [-Wreorder] compiler warning fix
This fixes:

```
[Warning] SerialBase.h@351,22: 'mbed::SerialBase::_flow2' will be initialized after [-Wreorder]
[Warning] SerialBase.h@343,22:   'bool mbed::SerialBase::_rx_enabled' [-Wreorder]
[Warning] SerialBase.cpp@26,1:   when initialized here [-Wreorder]

```

by using C++11 style initializer for SerialBase

Kudos to Kevin Bracey, as her his suggestion - we can drop the initializer
list if we just set the values directly in the SerialBase.h. No need to
worry about the "right order" after that.
2019-11-08 11:20:47 +02:00
RAJKUMAR KANAGARAJ 74d19395f6 Enabled the sleep,sleep_manager,watchdog_reset test case for bare metal greentea test 2019-11-07 10:34:03 -08:00
RAJKUMAR KANAGARAJ 120ca1b245 Incorporated the review comments 2019-11-07 07:48:43 -08:00
RAJKUMAR KANAGARAJ f1139ebd8e Incorporated the review comments
-Added "rtos-api" in TESTS/configs/baremetal.json
-some test case used thread_sleep_for instead Thisthread::sleep_for
-Added the EOF character
-Disable completely the non supported test cases
2019-11-07 07:19:13 -08:00
Martin Kojtal 0d26be4af2
Merge pull request #11823 from mark-edgeworth/fix-simplequeue
IOTBTOOL-333: Fix SimpleQueue build failure on py3
2019-11-07 13:58:45 +01:00
Kimmo Vaisanen 582b16ffbc Add sender address and port verification to UDPSOCKET_ECHOTEST
recvfrom method returns sender address and port and this commit
adds a test for it in UDPSOCKET_ECHOTEST.
2019-11-07 14:51:20 +02:00
Martin Kojtal 9d4bd44fd7
Merge pull request #11831 from AGlass0fMilk/fix-ble-sm-sec-db
BLE: Added call to delete the security database object upon SM reset.
2019-11-07 11:54:45 +01:00
Martin Kojtal f3f919e904
Merge pull request #11830 from yarbcy/pr/dev-arm-issue-11746
Cypress: Add implementation of free() for gpio
2019-11-07 11:51:18 +01:00
Martin Kojtal 33e392e9d9
Merge pull request #11682 from mprse/fpga_tests_CI_targets
Make FPGA tests to pass on CI targets (SPI, analogIn, PWM)
2019-11-07 11:46:40 +01:00
Martin Kojtal 383cf1984d
Merge pull request #11711 from jeromecoutant/PULL_REQUEST_CUBE_UPDATE_F7_V1.15.0
STM32F7 update drivers version to CUBE V1.15.0
2019-11-07 11:33:38 +01:00
Kimmo Vaisanen dfa96924da Fix flag checks to allow disabling unsecure tests
Now unsecure tests can be disabled by just removing MBED_CONF_APP_WIFI_UNSECURE_SSID
configuration from json.
2019-11-07 12:17:01 +02:00
Martin Kojtal e89ce4fa06
Merge pull request #11816 from d-kato/rza1_fix_non_os
Fix failure of building non-RTOS for GR-PEACH, GR-LYCHEE and VK-RZ/A1H
2019-11-07 11:15:52 +01:00
Martin Kojtal 9b3731a76a
Merge pull request #11755 from michalpasztamobica/unittests_dns
Unittests for nsapi_dns
2019-11-07 10:55:37 +01:00