Commit Graph

26890 Commits (835504d30a4d001985e180ae02c6dd2acaa041f9)

Author SHA1 Message Date
Matthew Macovsky 835504d30a Update QSPI format after enabling 4-byte addressing 2019-11-18 15:48:17 +00:00
Matthew Macovsky a9a9a6ca14 Correct typos and formatting 2019-11-18 15:48:17 +00:00
Matthew Macovsky a8ac9ffeae Add missing debug prints to command functions 2019-11-18 15:48:17 +00:00
Matthew Macovsky a48d88c1da Streamline setting of instruction member variables 2019-11-18 15:48:17 +00:00
Matthew Macovsky 4886cc2cbe Replace power function with bit shift 2019-11-18 15:48:17 +00:00
Matthew Macovsky c0ea38c079 Update SDFP erase detection to properly handle legacy erase instruction 2019-11-18 15:48:17 +00:00
Matthew Macovsky 21a1e81a68 Move configuration of QSPI format to within commands where it is necessary 2019-11-18 15:48:17 +00:00
Matthew Macovsky f4c8b18282 Clear block protection on non-SST flash devices 2019-11-18 15:48:17 +00:00
Matthew Macovsky 3136b1cc20 Enable 4-byte addressing when supported in accordance with the SFDP standard 2019-11-18 15:48:17 +00:00
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