Commit Graph

26915 Commits (e809e81bca2adc78fc4ec36a35de7292d08ada0a)

Author SHA1 Message Date
jeromecoutant b44d708589 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-18 15:48:17 +00:00
Sandeep Mistry da91fbbc15 USBMSD: implement MODE SENSE (10) command 2019-11-18 15:48:17 +00:00
Tymoteusz Bloch d7f961e347 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-18 15:48:17 +00:00
Qinghao Shi 376bc4b6cd TESTS: turn off blinky log compare test due to example changed 2019-11-18 15:48:17 +00:00
Kimmo Vaisanen 9270361159 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-18 15:48:17 +00:00
Kimmo Vaisanen 0dae909622 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-18 15:48:17 +00:00
Mark Edgeworth f273fce30d 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-18 15:48:17 +00:00
George Beckstein aabf0afe2b 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-18 15:48:17 +00:00
yarb eb1d5c7a70 Cypress: Add implementation of free() for gpio i2c analogin: #11830 2019-11-18 15:48:17 +00:00
jeromecoutant 7eb6ed6602 STM32F7 HAL CRYPT patch to add missing UNLOCK 2019-11-18 15:48:17 +00:00
jeromecoutant c7e6be5c11 STM32F7 targets.json cleaning 2019-11-18 15:48:17 +00:00
jeromecoutant dafc9d9b92 STM32F7 ARM SCT file update to define correct RAM_SIZE 2019-11-18 15:48:17 +00:00
jeromecoutant 6fa685a170 STM32F7 MBEDTLS AES_ALT update for new HAL 2019-11-18 15:48:17 +00:00
jeromecoutant db146ff14b STM32F7 refactor common files 2019-11-18 15:48:17 +00:00
jeromecoutant e400e18cfc STM32F7 updates for new driver version 2019-11-18 15:48:17 +00:00
jeromecoutant ab10fef7a4 F7 ST CUBE V1.10.0 => V1.15.0
https://www.st.com/en/embedded-software/stm32cubef7.html
2019-11-18 15:48:17 +00:00
d-kato eb9b6fd507 Moved transmission completion wait to hal_deepsleep 2019-11-18 15:48:17 +00:00
d-kato b5ccf51734 serial_putc waits for the transmission to complete 2019-11-18 15:48:17 +00:00
d-kato 542db6c34c Fix missing mbed_get_a9_tick_irq in non-RTOS build 2019-11-18 15:48:17 +00:00
Mirela Chirica 0291651957 Cellular: Baud rate setting for UDPSOCKET_ECHOTES_BURST greentea test 2019-11-18 15:48:17 +00:00
Mirela Chirica 814793e84c Cellular: Baud rate setting for tls greentea tests 2019-11-18 15:48:17 +00:00
Kyle Kearney ea6f6aed4d SecureStore: Add member initializers for inc_handle_t
_inc_set_handle is new'd in SecureStore::init(), then its members are
referenced in various functions without being explicitly initialized
first. These pre-existing values can confuse the SecureStore's internal
state and cause various undesired behavior.
2019-11-18 15:48:17 +00:00
Ryan Morse 9f44aba13c Updated targets.json file to go along with pr-11770 2019-11-18 15:48:17 +00:00
yarb 4acfe63d7c Fix ARM issue 11795: - Cypress: SPI FPGA test: tester always respond 0 when MODE other then 0 (CY MR 1202) 2019-11-18 15:48:17 +00:00
Kevin Bracey a82fa7f2e1 Test event IDs going negative 2019-11-18 15:48:17 +00:00
Kevin Bracey b0e9fd7438 Test equeue_cancel returns 2019-11-18 15:48:17 +00:00
Kevin Bracey 73cfcb598f equeue: avoid non-standard bit shifts
Shifting negative numbers right is implementation-defined, and shifting
positive signed numbers left and exceeding positive range is undefined.

Take care to make sure we always shift unsigned values.
2019-11-18 15:48:17 +00:00
Maciej Bocianski 13fa66e37f LPC55S69: fix serial_set_flow_control 2019-11-18 15:48:17 +00:00
Janne Kiiskila a6277fb599 DISCO_H743ZI/ZI2 - mbed_ram_start/size
Adding the RAM definitions per request of Jerome Coutant.
2019-11-18 15:48:17 +00:00
jeromecoutant 2c554715ac Review fixes for STM32H7 target.json
The proposed review fixes by Jerome, cherry-picked in.

(cherry picked from commit fb15f023a9b7b679301b45eaa160ae8cb2e1f23c)
Signed-off-by: Janne Kiiskila <janne.kiiskila@arm.com>
2019-11-18 15:48:17 +00:00
Janne Kiiskila d41e18337a NUCLEO_H743ZI2 - MBED ROM, FlashIAP
Add definitions for H743ZI2, required by bootloader.
2019-11-18 15:47:40 +00:00
Janne Kiiskila 5d15568df3 DISCO_H747I - MBED_ROM & device name definition
Compilation of bootloader requires these parameters.
2019-11-18 15:47:40 +00:00
Janne Kiiskila 2b40bcb89b Update CMSIS pack index json for STM32H7xx family
Manually replaced the existing STM32H7 section and replaced it with the
context of updated `index.json` that pulled in the Keil packs available
today, as of 18th October, 2019.

See related PR; https://github.com/ARMmbed/mbed-os/pull/11707
2019-11-18 15:47:40 +00:00
Ryan Morse ba19dfb190 Update common libraries
Updated Serial Flash interface & Network buffer classes to avoid warnings and improve robustness. Fixed issue with mbed_overrides trying to use an old implementation of cy_serial_flash_init() function.
2019-11-18 15:47:40 +00:00
Seppo Takalo d842762dd5 Remove commented-out code 2019-11-18 15:47:40 +00:00
Seppo Takalo 4f86135dc4 Remove linefeeds from debug prints 2019-11-18 15:47:40 +00:00
Seppo Takalo 1a90105bd7 Remove usage of Mbed TLS internal function from DeviceKey.
DeviceKey was using mbedtls_ssl_safer_memcmp() to compare result against
buffer of equal length, but zero content. This comparison makes no sense
as the entropy function is already returning proper error, if it fails.
2019-11-18 15:47:40 +00:00
Seppo Takalo 90b7cc4ce3 Add moduletest for SlicingBlockDevice
This uses HeapBlockDevice for providing the underlying storage block.
Check boundaries that slicingblockdevice do not overlow over to unassigned
blocks.
2019-11-18 15:47:40 +00:00
Seppo Takalo 957ed97cd7 IOTSTOR-953: Fix address calculations from SlicingBlockDevice
* Change MBED_ASSERTS() to return valid error code, so that
  checks are not bypassed on release builds.
* Fix starting address calculations so that "addr" parameter is always
  relative to SlicingDevice and "_start" is only added when calls to
  underlying storage block is made.
* Bypass BlockDevice:is_valid_*() to underlying block device.
  Slicingblockdevice was just verifying addresses independently, without
  verifying those from underlying block storage.
2019-11-18 15:47:40 +00:00
Seppo Takalo 6532f2515d Add unittest for HeapBlockDevice and change some MBED_ASSERTS to errors. 2019-11-18 15:47:40 +00:00
Seppo Takalo 94d9093c34 Add some functionality to atomic stubs 2019-11-18 15:47:40 +00:00
Seppo Takalo 5fecf6afa2 Add storage related files to baseline unittest.
* Refactor some headers to use relative path from Mbed OS root.
* Refactor some data types to compile on 64bit machines.
* Refactor some debug traces to use mbed_trace.
2019-11-18 15:47:40 +00:00
Seppo Takalo fea3fd49be Add empty unittest to generate zero baseline for untested files. 2019-11-18 15:47:40 +00:00
Seppo Takalo 4a8ee7e930 Add enough stubs to allow drivers/* to compile. 2019-11-18 15:47:40 +00:00
Seppo Takalo 0bb36917e9 Remove extra GCC arquements.
"--coverage" is synonym to "-fprofile-arcs -ftest-coverage"
https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html

This was causing extra compilation warnings on CLANG.
2019-11-18 15:42:08 +00:00
Wajahat Abbas 527ffa1e15 Ensure modem echo is off 2019-11-18 15:42:08 +00:00
Antti Kauppila d31a139e65 Unittests fixed 2019-11-18 15:42:08 +00:00
Antti Kauppila b84057611c Baremetal profile fixes 2019-11-18 15:42:08 +00:00
Tymoteusz Bloch a191a60cd5 NSAPI DNS query IP version check for non LWIP stacks. 2019-11-18 15:42:08 +00:00
Marcin Tomczyk a7054d7b93 UDPSOCKET_ECHOTEST change to tolerate duplicate packets 2019-11-18 15:42:08 +00:00