Commit Graph

26881 Commits (814fe6d5b6bb75ca6f50055da2af4e239d53a58c)

Author SHA1 Message Date
Matthew Macovsky 814fe6d5b6 Update flash device reset to conform to SFDP standard 2019-11-18 15:48:17 +00:00
Matthew Macovsky 9bd8c17cdf Reorder some functions 2019-11-18 15:48:17 +00:00
Matthew Macovsky 7176af9b48 Update reading/writing of status registers to conform to SFDP standard 2019-11-18 15:48:17 +00:00
Giampaolo Mancini fb3b9c1b16 Remove ITM Trace support from Arduino Nano 33 BLE 2019-11-18 15:48:17 +00:00
Adam Mitchell e15560fa83 Correct PB_6/PB_7 Serial AF mapping 2019-11-18 15:48:17 +00:00
Antti Kauppila 49eb67bedb ATHandler build warning fixed 2019-11-18 15:48:17 +00:00
Martin Kojtal c02f8229d4 MCU_LPC11U35_501: fix MCU inheritance
This should fix #11652 issue
2019-11-18 15:48:17 +00:00
Ryan Morse fd4b53cdd4 Update WHD to v1.50 2019-11-18 15:48:17 +00:00
Ryan Morse 6bb6ebc8c4 Move WHD from being a Target to being a Component 2019-11-18 15:48:17 +00:00
Bence Kaposzta 2d0cff885c Fix ethernet memory handling issues on CM3DS
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-11-18 15:48:17 +00:00
Bence Kaposzta c753a81e45 Fix ethernet memory handling issues on CM3DS
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-11-18 15:48:17 +00:00
Bence Kaposzta 04d8544661 Fix ethernet memory handling issues on CM3DS
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2019-11-18 15:48:17 +00:00
Vikas Katariya 8d015318de Documentation update for tools/psa
Signed-off-by: Vikas Katariya <Vikas.Katariya@arm.com>
2019-11-18 15:48:17 +00:00
Vikas Katariya d9eb75bed7 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-18 15:48:17 +00:00
Vikas Katariya 41ce06cf8c 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-18 15:48:17 +00:00
Vikas Katariya 6685025ef0 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-18 15:48:17 +00:00
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