Commit Graph

5832 Commits (mbed-os-5.14)

Author SHA1 Message Date
Martin Kojtal 918a0f5509 Revert "DISCO STM32H747I ETHERNET support, but disabled."
This reverts commit 7fcedd20e1.
2019-11-20 09:41:03 +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 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
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 34395fe38c Remove target dependency in ublox cellular APIs 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
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
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 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
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
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 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
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
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
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
Jayasankar Nara c5fbea79cc Add API to get ipv6 link local address.
Protocols like mdns requires IPv6 link local address to be advertised in its
records (AAAA record). LWIP::Interface::bringup() API is creating IPv6 link
local address;But as of now there is no API exposed by mbed-os to get the
IPv6 link local address.

This new API is required to deliver mDNS library support on mbed-os for Cypress
platforms. Unit tested it by invoking get_ipv6_link_local_address with a simple
application.
2019-11-18 15:42:08 +00:00
Chun-Chieh Li 57eb745642 NANO130: Remove unnecessary synchronization in analog-in HAL
Driver AnalogIn has done with it, so remove synchronization in analog-in HAL.
2019-11-18 15:42:08 +00:00
Chun-Chieh Li d15ba694e1 Nuvoton: Add i2c_free
1.  Disable interrupt
2.  Disable IP clock
3.  Free up pins

Support targets:

-   NUMAKER_PFM_NANO130
-   NUMAKER_PFM_NUC472
-   NUMAKER_PFM_M453
-   NUMAKER_PFM_M487/NUMAKER_IOT_M487
-   NU_PFM_M2351*
-   NUMAKER_IOT_M263A
-   NUMAKER_M252KG
2019-11-18 15:42:08 +00:00
Chun-Chieh Li 5bceee859b Nuvoton: Add analogin_free
1.  Deal with channel-wise and module-wise
2.  Disable IP clock
3.  Free up pin

Support targets:

-   NUMAKER_PFM_NANO130
-   NUMAKER_PFM_NUC472
-   NUMAKER_PFM_M453
-   NUMAKER_PFM_M487/NUMAKER_IOT_M487
-   NU_PFM_M2351*
-   NUMAKER_IOT_M263A
-   NUMAKER_M252KG
2019-11-18 15:42:08 +00:00
Przemyslaw Stekiel de8e2b525a Fix for issue #11769 (Cypress: PWM FPGA test wrong assert)
Implementation of pwmout_read() is not consistent with the requirements.
This function should return the current float-point output duty-cycle in range <0.0f, 1.0f>.
Currently it returns decimal percentage value.
2019-11-18 15:42:08 +00:00
Ryan Morse ff06d19852 Update CM0P pre-built images to release 1.0.0.35 2019-11-18 15:42:08 +00:00
Hugues Kamba 0dd7e85605 USB-Cypress: Lock sleep when USB is initialized
None of the USB drivers currently support entering deep sleep mode
while USB is active. To protect USB from malfunctioning lock deep
sleep in USBPhyHw::init.This is done for similar

This was done for all other implementations as part of
https://github.com/ARMmbed/mbed-os/commit/8ffbe5c6033
2019-11-18 15:42:08 +00:00
Laurent Meunier bf3dda363e STM32 QSPI: Use defines for setting address size 2019-11-18 15:42:08 +00:00
yarb bf60bc5e5c Cypress: fix gpio mode none 2019-11-18 15:42:08 +00:00
Janne Kiiskila 132e76913b Fix for the H747 flash driver / cache cleaning
This copies the approach of the STM32F7 flash driver submitted via
PR https://github.com/ARMmbed/mbed-os/pull/10248

With this change the board finally passes all of the device key
tests 10/10 times correctly.
2019-11-18 15:42:08 +00:00
Janne Kiiskila 3cb734df16 Add FLASHIAP component to DISCO_H747
FLASHIAP component/capability is needed for DeviceKey functionality
and also for Pelion enablement - firmware update uses this feature, too.
2019-11-18 15:42:08 +00:00
Laurent Meunier 7461a7a0f8 Increase STM32 default deep sleep latency to 4ms
Recent measurements have shown that the total wake-up latency can be more
than the 3ms initially set. It was measured as 3,7ms on DISCO_L475VG_IOT01A
target and 3,1ms on NUCLEO_L073RZ target. So set it to 4ms to be on the
safe side.
2019-11-18 15:42:08 +00:00