Commit Graph

26929 Commits (cf4f12a123c05fcae83fc56d76442015cb8a39e9)

Author SHA1 Message Date
Martin Kojtal cf4f12a123
Merge pull request #11894 from ARMmbed/release-candidate
Release candidate for mbed-os-5.14.2
2019-11-20 14:13:16 +01:00
Martin Kojtal 918a0f5509 Revert "DISCO STM32H747I ETHERNET support, but disabled."
This reverts commit 7fcedd20e1.
2019-11-20 09:41:03 +00:00
Jussi Siponen 8137aaf644 Change wifi example to build only DISCO_L475VG_IOT01A
Currently mbed-os-example-blinky and mbed-os-example-wifi are built for each and every target in Mbed OS. This will change that only DISCO_L475VG_IOT01A is built for mbed-os-example-wifi. DISCO_L475VG_IOT01A was chosen as its one of the wi-fi supported boards and having integrated wi-fi.
2019-11-19 17:06:36 +00:00
adbridge 5700890615 Revert "F7 ST CUBE V1.10.0 => V1.15.0"
This reverts commit 8ac918975f.
2019-11-19 14:39:33 +00:00
adbridge 0960359312 Revert "STM32F7 updates for new driver version"
This reverts commit 52bfd0c99a.
2019-11-19 14:39:18 +00:00
adbridge f94ab8a760 Revert "STM32F7 refactor common files"
This reverts commit 4f788adeb9.
2019-11-19 14:39:02 +00:00
adbridge d44be71491 Revert "STM32F7 MBEDTLS AES_ALT update for new HAL"
This reverts commit 76248b4942.
2019-11-19 14:38:11 +00:00
adbridge 345b6f0151 Revert "STM32F7 ARM SCT file update to define correct RAM_SIZE"
This reverts commit 356de44aed.
2019-11-19 14:37:56 +00:00
adbridge 8831d703f1 Revert "STM32F7 targets.json cleaning"
This reverts commit a24616443d.
2019-11-19 14:37:38 +00:00
adbridge 424ade30a8 Revert "STM32F7 HAL CRYPT patch to add missing UNLOCK"
This reverts commit 7847ad79fb.
2019-11-19 14:37:20 +00:00
adbridge b0fea7894b "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2019-11-19 10:52:11 +00:00
adbridge 2f29db0e5c "Update secure binaries for LPC55S69_S (ARMC6)" 2019-11-19 10:44:34 +00:00
Christopher Haster bdf951214d Merge commit '70cb12e72bef7a1f220b0e5f21457b6930d984b2' into littlefs-v1.7.2 2019-11-19 10:30:33 +00:00
Christopher Haster f4e1e580f3 Merge commit 'd1c11200794856630650bfddc8a48c3087c6ee29' into HEAD 2019-11-19 10:30:11 +00:00
adbridge e809e81bca Update Mbed version block 2019-11-18 16:25:21 +00:00
Ari Parkkila 85154ae76f TESTS: Add socket.set_timeout in udpsocket_echotest
Some packet loss may be expected/allowed with UDP.
Set socket timeout to continue testing if no response is received within a timeout.
2019-11-18 16:25:21 +00:00
Kimmo Vaisanen 31486159e8 Cellular: Fix queue scheduling for bare metal
For non-rtos build (bare metal) cellular event queue is now scheduled by shared event queue.
2019-11-18 16:25:21 +00:00
Chris Trowbridge 4215e7316d Switch to using mbed-trace for greentea test debug output 2019-11-18 16:25:21 +00:00
amq 75682b457b EFM32: Enable RESET_REASON and WATCHDOG for EFM32GG11_STK3701 2019-11-18 15:48:17 +00:00
Chun-Chieh Li 6ce51db76e Nuvoton: Remove TRNG support
These targets below just support PRNG, not real TRNG. They cannot annouce TRNG.

-   NUMAKER_PFM_NUC472
-   NUMAKER_PFM_M487
-   NUMAKER_IOT_M487

On targets without TRNG, to run mbedtls applications which require entropy source,
there are two alternatives to TRNG:

-   Custom entropy source:
    Define MBEDTLS_ENTROPY_HARDWARE_ALT and provide custom mbedtls_hardware_poll(...)
-   NV seed:
    1.  Define MBEDTLS_ENTROPY_NV_SEED
    2.  Define MBEDTLS_PLATFORM_NV_SEED_READ_MACRO/MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO and provide custom mbedtls_nv_seed_read(...)/mbedtls_nv_seed_write(...).
    3.  Don't define MBEDTLS_PSA_INJECT_ENTROPY. Meet mbedtls_psa_inject_entropy(...) undefined and then provide custom one, which must be compatible with mbedtls_nv_seed_read(...)/mbedtls_nv_seed_write(...) above.
    4.  For development, simulating partial provision process, inject entropy seed via mbedtls_psa_inject_entropy(...) pre-main.
2019-11-18 15:48:17 +00:00
Wajahat Abbas fb98acb5c4 Removed error directives 2019-11-18 15:48:17 +00:00
Wajahat Abbas 34395fe38c Remove target dependency in ublox cellular APIs 2019-11-18 15:48:17 +00:00
Tymoteusz Bloch 1097ba7bda LWIP::get_ipv6_addr fixed to avoid returning NULL even if only linklocal adress exits. 2019-11-18 15:48:17 +00:00
Seppo Takalo ce2800b01d IOTSTOR-978: Skip a unstable testcase until fixed 2019-11-18 15:48:17 +00:00
Rob Vlaar a2b7345348 Workaround to reset UARTE peripheral to be able to go into deep sleep 2019-11-18 15:48:17 +00:00
Kyle Kearney a66b602af6 General Block Device Test: Expand Thread Stack
The addition of trace logging during greentea tests pushes the multithreaded
read-write test beyond the limits of the stack it allocates for its threads.
The increase of 128 bytes was chosen by experimentation.
2019-11-18 15:48:17 +00:00
Kyle Kearney 649234e7e7 Disable attempted 4-byte addressing for some boards
4-byte addressing has been seen to cause failures on NORDIC
boards and with Macronix memories. Suppress the attempt to enable it
on that hardware (via vendor quirks and a target check) until either
the failure cause can be fixed or a more robust suppression mechanism
is implemented.
2019-11-18 15:48:17 +00:00
Kyle Kearney 3b80a9ba1e QSPIF: Handle fast mode enable via vendor quirks
Use a vendor id check to only perform this enable on devices which define the
 second configuration register where the fast mode enable bit lives.
Change _enable_fast_mode to use the standard status register reading and writing functions
2019-11-18 15:48:17 +00:00
Kyle Kearney c40de052d5 QSPIF: Handle parts with extra config registers
Default to 2 status registers, but update this value if necessary
 during vendor quirk handling for parts (currently only Macronix)
 which have one status register and two control registers. For the
 purposes of QSPIFBlockDevice, these are all considered status
 (or at least "status-like") registers because they are all written
 via the Write Status Register instruction.
Set the custom RDCR instruction for Macronix during quirk handling.
Update reading and writing of status registers to handle a variable
 number of status registers.
2019-11-18 15:48:17 +00:00
Kyle Kearney d70ad784a3 QSPIF: Centralize handling of vendor quirks
Introduce a separate function for handling alterations to device interaction
which are not covered by the SFDP tables and therefore require checking against
the vendor id.
2019-11-18 15:48:17 +00:00
Kyle Kearney b6b8ffb830 Don't clear quad enable when clearing block protection
QSPIFBlockDevice::_clear_block_protection() has logic to retain the
WIP and WEL bits in status register 1, but it failed to account for
the situation where the QE bit is also in status register 1.
In _sfdp_set_quad_enabled, note the status register and bit therein
for the quad enable, so that _clear_block_protection can retain it.
2019-11-18 15:48:17 +00:00
Kyle Kearney 96bb6541cb QSPIF: Add back enable_fast_mode
This function writes a "config" register to ensure that the flash part
is in high performance mode, not low-power mode. This is required at
by at least MX25R6435F in order to operate at frequencies > 33MHz
(for reference, DISCO_L475VG_IOT01A runs the QSPI interface at 80 MHz).
The config register that this writes does not appear to be covered by
the SFDP spec (JESD216D.01) so this remains the status quo of
unconditional execution, as has been done on master since #8352.
2019-11-18 15:48:17 +00:00
Kyle Kearney 8c82524517 Remove hard-coded instruction ids from QSPI Tests
Replace with macros from the test flash_config header, consistent with
how most commands are built in this test.
2019-11-18 15:48:17 +00:00
Kyle Kearney 1647f21b8d Fix Astyle issues 2019-11-18 15:48:17 +00:00
Matthew Macovsky fa2ef8be96 Update QSPI test to reflect fixes in QSPIFBlockDevice 2019-11-18 15:48:17 +00:00
Matthew Macovsky 237db778a9 Enable TDBStore whitebox test on PSoC 6 2019-11-18 15:48:17 +00:00
Matthew Macovsky fcba02a13f Generalize KVStore phase 1/2 test BlockDevice sizes 2019-11-18 15:48:17 +00:00
Matthew Macovsky 9451167bbb Remove redundant QSPI erase alignment 2019-11-18 15:48:17 +00:00
Matthew Macovsky f154227c03 Enable some of the kvstore tests for PSoC 6 MCUs 2019-11-18 15:48:17 +00:00
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