Commit Graph

5128 Commits (73e1fcb54cf7a3289358601eac80da05f74f5ad1)

Author SHA1 Message Date
jeromecoutant 73e1fcb54c STM32WB warning compilation
[-Wparentheses-equality]
2019-07-03 16:21:06 +03:00
jeromecoutant d042729339 STM32H7 warning compilation
[-Wparentheses-equality]
2019-07-03 16:21:06 +03:00
jeromecoutant 774058834d STM32L4 warning compilation
[-Wparentheses-equality]
2019-07-03 16:21:06 +03:00
jeromecoutant c817b1242e STM32L1 warning compilation
[-Wparentheses-equality]
2019-07-03 16:21:06 +03:00
jeromecoutant becaffc9d2 STM32L0 warning compilation
[-Wparentheses-equality]
2019-07-03 16:21:06 +03:00
jeromecoutant 8f2f6f31e2 STM32F7 warning compilation
[-Wparentheses-equality]
[-Wsign-compare]
2019-07-03 16:21:06 +03:00
jeromecoutant e5d760af10 STM32F4 warning compilation
[-Wparentheses-equality]
2019-07-03 16:21:06 +03:00
jeromecoutant e3bf9540b8 STM32F3 warning compilation
[-Wparentheses-equality]
2019-07-03 16:21:06 +03:00
jeromecoutant bfdb79c82c STM32F2 warning compilation
[-Wparentheses-equality]
2019-07-03 16:21:06 +03:00
jeromecoutant 1fa4dff010 STM32F1 warning compilation
[-Wparentheses-equality]
2019-07-03 16:21:06 +03:00
jeromecoutant b11d7d34f0 STM32F0 warning compilation
[-Wparentheses-equality]
2019-07-03 16:21:06 +03:00
jeromecoutant bc82a0fc48 STM32: remove compilation warning 2019-07-03 16:21:06 +03:00
Przemyslaw Stekiel 7d7224bd05 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-07-03 16:21:05 +03:00
jeromecoutant 7d753c4ca0 STM32H7 directory cleanup and refactoring 2019-07-03 16:21:05 +03:00
jeromecoutant f34f38393a STM32H7: use default files from ST drivers delivery 2019-07-03 16:21:05 +03:00
jeromecoutant 17fb311b84 STM32: define USE_FULL_LL_DRIVER at top level 2019-07-03 16:21:05 +03:00
toyowata 9750cdb989 Correct SPDX identifiers 2019-07-03 16:21:05 +03:00
toyowata 15d16d559f Fix device_name and add SPDX identifiers 2019-07-03 16:21:05 +03:00
toyowata b4413e7334 Remove ARCH_MAX files from STM32F407xG 2019-07-03 16:21:04 +03:00
toyowata 11062216e7 Move Seeed ARCH_MAX to TARGET_STM32F407xE MCU 2019-07-03 16:21:04 +03:00
petroborys de38aa93d1 Add support I2C #3 (#ifdef I2C2) for target EFM32G11 2019-07-03 16:21:04 +03:00
Teijo Kinnunen 54b9dad11e STM32L0: Add DEVICE_SPI_COUNT to DISCO_L072CZ_LRWAN1 + MTB_MURATA_ABZ
Enables simultaneous use of both SPIs without interference.
2019-07-03 16:21:04 +03:00
panyz0725@thundersoft.com 181b2aab69 Setting wisely pin mode for TT_M3HQ 2019-07-03 16:21:04 +03:00
Chun-Chieh Li 0dfb288c99 Fix wait_ns test failed 2019-07-03 16:21:03 +03:00
Vincent Veron 88128d4879 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-07-03 16:21:03 +03:00
Ronny Liu 517732162f bootloader support for GD32_F450ZI 2019-07-03 16:21:03 +03:00
Chris Trowbridge aec8ddec5c Remove component 'QSPIF' for target 'EP_AGORA' 2019-07-03 16:19:35 +03:00
Chris Trowbridge ca8492426b Remove unneeded custom_board.h file 2019-07-03 16:19:35 +03:00
Chris Trowbridge c6e6acb3f3 Update licenses for EP_AGORA target 2019-07-03 16:19:35 +03:00
Chris Trowbridge d57f5d369e Add support files for target EP_AGORA 2019-07-03 16:19:34 +03:00
Chris Trowbridge 7b8babcc55 Add 'EP_AGORA' as a target 2019-07-03 16:19:34 +03:00
jeromecoutant 404ce839e9 STM32H7: flash issue while erasing sector in Bank 1 2019-07-03 16:19:33 +03:00
Volodymyr Medvid 6c96592813 PSOC6: move cmsis.h and device.h out from psoc6pdl directory
This simplifies updating of psoc6pdl directory to the latest Cypress
PSoC 6 PDL releases. cmsis.h and device.h are not part of psoc6pdl.
2019-07-03 16:19:33 +03:00
panyz0725@thundersoft.com 9cc74f2dff Modifiying file PinNames.h 2019-07-03 16:19:33 +03:00
jeromecoutant b8dca89d9f STM32: common cmsis.h and device.h 2019-07-03 16:19:32 +03:00
ale87jan 2ccc03dfbf Update MAX3263x.sct 2019-07-03 16:19:31 +03:00
Jaeden Amero bf676c1264 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 16:21:13 +01:00
desmond.chen 0ebc05385f Fix nrf52 enabled uart count and enable uart0/1 2019-06-12 16:15:57 +01:00
Lingkai Dong 29446548f5 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-12 16:15:57 +01:00
Hennadiy Kytsun 6084069ec2 Cypress: Fix issue #10613 2019-06-05 13:08:10 +01:00
adbridge b597221a2c "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2019-05-29 20:56:07 +01:00
adbridge 9098ea170e "Update secure binaries for LPC55S69_S (ARMC6)" 2019-05-29 20:48:28 +01:00
adbridge 39f09971d0 "Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA (GCC_ARM)" 2019-05-29 20:40:05 +01:00
Martin Kojtal 9cc1caa031
Merge pull request #10596 from kjbracey-arm/sem_acquire
Introduce Semaphore::acquire methods
2019-05-29 06:22:30 +01:00
Kevin Bracey 2fbbd9d2ca Introduce Semaphore::acquire methods
Deprecate wait() in favour of acquire(), try_acquire(),
try_acquire_for() and try_acquire_until().

Brings Semaphore more into line with CMSIS-RTOS 2 (which uses "acquire"),
itself (as it has "release"), and other classes having "try", "try for"
and "try until".

Also steps away from vague "wait" term - the primary operation here is
to acquire the semaphore, and this will of course sleep.
2019-05-28 17:02:06 +03:00
Martin Kojtal 19e762298f
Merge pull request #10666 from ARMmbed/feature-nrf52-sdk15
Nordic SDK v15 Update
2019-05-28 09:48:44 +01:00
Martin Kojtal ab82f1fca6
Merge pull request #10627 from devran01/remove_future_sequana_target
Remove targets FUTURE_SEQUANA_M0_PSA and FUTURE_SEQUANA_PSA
2019-05-24 12:16:10 +01:00
Martin Kojtal cfb107912b
Merge pull request #10616 from ThunderSoft123/master
Fix bug Operator new[] out of memory
2019-05-23 21:40:10 +01:00
Martin Kojtal 4567626ade
Merge pull request #10636 from u-blox/activation_status
+UPSND sent to poll activation status
2019-05-23 21:39:48 +01:00
Martin Kojtal 80d7cb2e17
Merge pull request #10631 from VVESTM/update_cube_h7
Update cube h7 to 1.4.0
2019-05-23 21:36:38 +01:00