Commit Graph

27336 Commits (09c24507c330a5b1ec74cde776ba558fac16a61c)

Author SHA1 Message Date
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
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
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
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
Martin Kojtal 4eb63976b7
Merge pull request #11818 from mirelachirica/gt_tls_udp_baud_rate
Adding baud rate setting to TLS and UDP echo burst tests
2019-11-07 10:55:07 +01:00
yarb e5d31c85d1 Cypress: Add implementation of free() for gpio i2c analogin: #11830 2019-11-07 11:01:16 +02:00
Martin Kojtal f70fbc308c
Merge pull request #11829 from facchinm/remove_assert_from_stm32_usb
USB STM32: Don't wrap direct function calls in MBED_ASSERT
2019-11-07 09:21:24 +01:00
Martin Kojtal f079dce02a
Merge pull request #11810 from kyle-cypress/pr/securestore-struct-init
SecureStore: Add member initializers for inc_handle_t
2019-11-07 09:20:43 +01:00
d-kato 4fbb87d2bb Moved transmission completion wait to hal_deepsleep 2019-11-07 12:19:10 +09:00
George Beckstein 9c75207299 Added call to delete the security database object upon SM reset. This allows the file to be closed by the OS and flushed to disk. 2019-11-06 14:31:04 -05:00
Tymoteusz Bloch eb3befdac9 TLSSOCKET_HANDSHAKE_INVALID test skip if DNS AAA record not available.
TLS test sevrver "badssl.com" doesn't support DNS AAA records for IPV6.
To avoid test fail if no IPV4 is chosen this test is skipped.
2019-11-06 17:57:19 +01:00
Martino Facchin 8daa2d72ba [USB][STM32] Don't wrap direct function calls in MBED_ASSERT
dab09f3138 added checks on some functions in the form of MBED_ASSERT on the result.
Compiling with -NDEBUG elides the call, thus breaking the functionality

This patch restores it, while leaving the return check if compiled with standard profile.
2019-11-06 15:01:48 +01:00
RAJKUMAR KANAGARAJ 8ecce14dad Skip Bare metal green tea test for storage related components or the components test cases which is based on RTOS 2019-11-06 04:49:19 -08:00
RAJKUMAR KANAGARAJ c9eb48a0c5 Netsocket,lora,cellular,nework test case requires RTOS so MBED_CONF_RTOS_PRESENT guard to all test cases 2019-11-06 04:06:11 -08:00
Mark Edgeworth a8fbd59b05 IOTBTOOL-333: Fix SimpleQueue build failure on py3
Build system was using an internal feature of the Pool class that is unavailable
in a py3 system. This would cause an exception if tool execution failed.
Offending code has now been removed
2019-11-06 12:02:16 +00:00
d-kato 86f648d0b7 serial_putc waits for the transmission to complete 2019-11-06 20:48:30 +09:00
Martin Kojtal 3254ec3cae
Merge pull request #11811 from jeromecoutant/PR_H7_CM4_FLASH
STM32H7 FLASH API issue with M4 core
2019-11-06 12:45:56 +01:00
Martin Kojtal 42d3573e50
Merge pull request #11815 from morser499/pr/cm0_targets
Updated targets.json file to go along with pr-11770
2019-11-06 12:44:59 +01:00