Commit Graph

5146 Commits (3e6f5eba6c7da02f65220f6e9bc33804445c613b)

Author SHA1 Message Date
Anna Bridge 4ad71c4d65
Merge pull request #10802 from Patater/update-to-mbedtls-2.18.0rc4
Update to mbedtls 2.18.0rc3
2019-06-12 16:09:02 +01:00
Anna Bridge 378e997e25
Merge pull request #10753 from desmond-blue/feature-fix-nrf52-uart-count
Fix nrf52 enabled uart count and enable uart0/1
2019-06-12 14:50:12 +01:00
Jaeden Amero 39ea40fed3 psa: Avoid re-definition of MBEDTLS_PSA_CRYPTO_C
Mbed TLS now enables PSA APIs by default on all targets. It's not
necessary to explicitly enable MBEDTLS_PSA_CRYPTO_C, as that can be
gotten from the Mbed TLS config.h.

However, many PSA targets depend on `-DMBEDTLS_PSA_CRYPTO_C` being
defined by the Mbed OS json configuration system and are not yet
properly including the Mbed TLS configuration; for these PSA targets,
warnings may remain until this issue is fixed.

Avoiding re-definition will eliminate warnings like the following, when
building mbed-os-example-blinky:

    Compile [ 14.5%]: pal_client_api_empty_intf.c
    [Warning] pal_client_api_intf.h@35,0: "PSA_SUCCESS" redefined
    Compile [ 14.6%]: pal_client_api_intf.c
    Compile [ 14.7%]: DeviceKey.cpp
    Compile [ 14.9%]: pal_internal_trusted_storage_intf.c
    [Warning] pal_internal_trusted_storage_intf.c@45,9: 'psa_its_set' is deprecated: PS specific types should not be used [-Wdeprecated-declarations]
    Compile [ 15.3%]: val_attestation.c
    [Warning] client.h@40,0: "PSA_VERSION_NONE" redefined
    <..>
    Compile [ 33.3%]: asn1parse.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 33.5%]: aes.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 33.6%]: asn1write.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 33.7%]: psa_crypto.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 33.8%]: blowfish.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 33.9%]: camellia.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.0%]: base64.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.2%]: ccm.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.3%]: chacha20.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.4%]: chachapoly.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.5%]: cipher_wrap.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.6%]: cmac.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.7%]: cipher.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.9%]: bignum.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 35.0%]: des.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 35.1%]: dhm.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 35.2%]: ctr_drbg.c
    <..>
    Compile [ 70.9%]: EthernetInterface.cpp
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 71.0%]: InternetSocket.cpp
    Compile [ 71.1%]: L3IPInterface.cpp
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 71.2%]: NetworkInterface.cpp
2019-06-12 12:47:20 +01:00
desmond.chen d5624b6ec6 Fix nrf52 enabled uart count and enable uart0/1 2019-06-12 15:36:09 +08:00
Martin Kojtal 09ea361c7e
Merge pull request #10790 from jeromecoutant/PR_H7_LPUART
STM32H7 enable LPUART
2019-06-11 09:06:22 +01:00
Martin Kojtal 94d2a42fd5
Merge pull request #10793 from jeromecoutant/PR_STM32WARNING
STM32: remove compilation warnings
2019-06-11 07:36:47 +01:00
Martin Kojtal fbcae489a0
Merge pull request #10762 from mprse/reenable_tests
Disable only time drifting test cases and fix GREENTEA_SETUP() call in tests
2019-06-11 07:35:41 +01:00
Martin Kojtal 9dfc8d0ea7
Merge pull request #10775 from jeromecoutant/PR_H7_REFACTOR
STM32H7: refactor TARGET directory
2019-06-09 18:22:04 +01:00
Martin Kojtal 356c4fb7cb
Merge pull request #10758 from toyowata/stm32f407xe
Move Seeed ARCH_MAX to TARGET_STM32F407xE MCU
2019-06-09 18:20:03 +01:00
Martin Kojtal dbe274ccf0
Merge pull request #10757 from petroborys/master
Add support I2C 3 for target EFM32G11
2019-06-09 18:19:42 +01:00
Martin Kojtal 9ab0e09699
Merge pull request #10752 from teijokinnunen/stm32l0_target_spi_count
STM32L0: Add DEVICE_SPI_COUNT to DISCO_L072CZ_LRWAN1 + MTB_MURATA_ABZ
2019-06-09 18:19:34 +01:00
Martin Kojtal 5581da56c9
Merge pull request #10751 from ThunderSoft123/master
TARGET_TT:Setting wisely pin mode for TT_M3HQ.
2019-06-09 18:19:05 +01:00
Martin Kojtal b683f4252e
Merge pull request #10739 from OpenNuvoton/nuvoton_m487_wait-ns
M487: Fix wait_ns test failed
2019-06-09 18:16:34 +01:00
Martin Kojtal ced4c3f4e4
Merge pull request #10708 from VVESTM/vve_fix_10671
TARGET_STM: SPI: add pulse on master transmissions
2019-06-09 18:10:42 +01:00
Martin Kojtal dda79d4d23
Merge pull request #10695 from Ronny-Liu/master
GD32_F450ZI : Add bootloader support
2019-06-09 18:06:25 +01:00
Martin Kojtal dc77c40fe9
Merge pull request #10709 from LDong-Arm/nrf52_cordio
Default to Cordio BLE stack for NRF52* targets
2019-06-09 18:03:34 +01:00
jeromecoutant 5ac7c8c77e STM32WB warning compilation
[-Wparentheses-equality]
2019-06-07 18:11:16 +02:00
jeromecoutant ddcc63276a STM32H7 warning compilation
[-Wparentheses-equality]
2019-06-07 18:11:04 +02:00
jeromecoutant 39ee51a017 STM32L4 warning compilation
[-Wparentheses-equality]
2019-06-07 18:10:17 +02:00
jeromecoutant 43a304351a STM32L1 warning compilation
[-Wparentheses-equality]
2019-06-07 18:10:17 +02:00
jeromecoutant daf8d114c4 STM32L0 warning compilation
[-Wparentheses-equality]
2019-06-07 18:10:17 +02:00
jeromecoutant 7d05f22b31 STM32F7 warning compilation
[-Wparentheses-equality]
[-Wsign-compare]
2019-06-07 18:10:03 +02:00
jeromecoutant 09a58b5203 STM32F4 warning compilation
[-Wparentheses-equality]
2019-06-07 18:08:51 +02:00
jeromecoutant 89f554fb53 STM32F3 warning compilation
[-Wparentheses-equality]
2019-06-07 18:08:51 +02:00
jeromecoutant f3c7cc9d47 STM32F2 warning compilation
[-Wparentheses-equality]
2019-06-07 18:08:51 +02:00
jeromecoutant 8c2ee68be1 STM32F1 warning compilation
[-Wparentheses-equality]
2019-06-07 18:08:50 +02:00
jeromecoutant 7154ac65f2 STM32F0 warning compilation
[-Wparentheses-equality]
2019-06-07 18:08:50 +02:00
jeromecoutant 5d80f9e98f STM32: remove compilation warning 2019-06-07 18:08:39 +02:00
jeromecoutant a90e68e788 STM32H7 UART: enable LPUART 2019-06-07 18:05:06 +02:00
Przemyslaw Stekiel 86dab2f9fa Disable time drifting test cases.
Time drifting test cases use serial communication with the host and are unstable on CI.
Skip time-drifting test cases if SKIP_TIME_DRIFT_TESTS macro is defined.
The idea for the future is to use FPGA test shield for timing tests instead of host scripts.

Also remove `__ARM_FM` macro which in most cases was used to disable time drifting tests. In other cases replace `__ARM_FM` with `TARGET_ARM_FM` which is more suitable.
2019-06-06 21:48:04 +02:00
Martin Kojtal 489bd10626
Merge pull request #10629 from trowbridgec/add-target-ep-agora
Add support for the Embedded Planet Agora target
2019-06-06 14:50:14 +01:00
jeromecoutant 25e4316963 STM32H7 directory cleanup and refactoring 2019-06-06 10:48:11 +02:00
jeromecoutant 119ff51fee STM32H7: use default files from ST drivers delivery 2019-06-06 10:48:09 +02:00
jeromecoutant 5b53b3aae0 STM32: define USE_FULL_LL_DRIVER at top level 2019-06-06 10:48:08 +02:00
panyz0725@thundersoft.com ed81f8e428 Setting wisely pin mode for TT_M3HQ 2019-06-06 10:16:31 +08:00
toyowata f1628f0b8d Correct SPDX identifiers 2019-06-05 19:04:55 +09:00
Lingkai Dong ffcceb0cb7 Default to Cordio BLE stack for NRF52* targets
The BLE stack from SoftDevice is not actively maintained and
has issues when used with Nordic SDK v15.
2019-06-05 09:53:53 +01:00
toyowata 9acf2c325c Fix device_name and add SPDX identifiers 2019-06-05 16:48:08 +09:00
toyowata f0a06b24ba Remove ARCH_MAX files from STM32F407xG 2019-06-05 14:51:06 +09:00
toyowata db2cac45f1 Move Seeed ARCH_MAX to TARGET_STM32F407xE MCU 2019-06-05 14:35:25 +09:00
petroborys 54fe348078 Add support I2C 3 (#ifdef I2C2) for target EFM32G11 2019-06-04 14:31:33 +00:00
Teijo Kinnunen 728c01f9e3 STM32L0: Add DEVICE_SPI_COUNT to DISCO_L072CZ_LRWAN1 + MTB_MURATA_ABZ
Enables simultaneous use of both SPIs without interference.
2019-06-04 09:38:20 +03:00
Hennadiy Kytsun 7447cac66c Cypress: Fix issue #10613 2019-06-03 16:26:52 +03:00
Vincent Veron 16475829f1 TARGET_STM: SPI: add pulse on master transmissions
Add a pulse when using hardware chip select for SPI transmissions.
CS is at low level when a transmission is on-going.

Be careful, this is not compatible with all modes. It will work only
if PHA is 0, ie spi mode is 0 or 2. See stm32xx reference manual,
chapter "NSS pulse mode" for more details.

Fix #10671

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-06-03 10:00:06 +02:00
Martin Kojtal 93e4a8251c
Merge pull request #10697 from jeromecoutant/PR_H7FLASH
STM32H7: flash issue while erasing sector in Bank 1
2019-06-03 08:35:29 +01:00
Chun-Chieh Li 010f4225a0 [M487] Fix wait_ns test failed 2019-06-03 11:28:26 +08:00
Chris Trowbridge cea7bbd815 Remove component 'QSPIF' for target 'EP_AGORA' 2019-05-31 09:58:23 -04:00
Martin Kojtal 8a5f25c2ea
Merge pull request #10663 from vmedcy/psoc6-cmsis
PSOC6: move cmsis.h and device.h out from psoc6pdl directory
2019-05-31 12:35:26 +01:00
Martin Kojtal 8aeba87f25
Merge pull request #10674 from ThunderSoft123/master
TARGET_TT: adding switches to PinNames
2019-05-31 12:35:10 +01:00
Martin Kojtal 7ebadbfac3
Merge pull request #10676 from jeromecoutant/PR_COMMON_CMSIS
STM32: common cmsis.h and device.h files
2019-05-31 12:34:53 +01:00