Commit Graph

24976 Commits (b6ee3f37a3dee41e1ad8d655feddb4f3fce68a06)

Author SHA1 Message Date
jeromecoutant b6ee3f37a3 STM32H7 UART: enable LPUART 2019-07-03 16:21:07 +03:00
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
Przemyslaw Stekiel 43424c0c35 Fix GREENTEA_SETUP() call in not time drifting tests.
In these tests GREENTEA_SETUP() is incorrectly called with "timing_drift_auto" instead of "default_auto".
2019-07-03 16:21:05 +03:00
Kevin Bracey 9cfcf06b98 Add C++14 sized delete operators
Correct C++14 operation of the alloc wrappers requires us to define
custom sized delete operators.

Their presence won't cause any problem for people compiling as C++03 or
C++11.
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
Lingkai Dong 0372d6e29e Workaround for legacy GAP advertising issue on Cordio LL
Due to some issue in Cordio link layer, advertising data does not
take effect unless we set it (or set it again) after advertising
parameters are set.
2019-07-03 16:21:05 +03:00
Lingkai Dong ebede3d401 Set extended advertising parameters upon first use of API v2
Previously, extended advertising parameters failed to be set
during BLE initialisation when the stack was not ready.

To work around this, we delay it to the first use of
useVersionTwoAPI.
2019-07-03 16:21:05 +03:00
Teppo Järvelin 27e0944cec Fix networkinterface non-blocking status test
Fix was to add some time between iterations connect-disconnect.
In cellular disconnect, cellular network may send disconnect events
and if those events come when connect is already ongoing test will fail.
So wait a bit after disconnect so that disconnect events should be over.
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
Qinghao Shi fcd11cb293 Examples: enable more tests for examples 2019-07-03 16:21:04 +03:00
David Saada 200636f59c PSA protected storage: Add encrypt & RB protect flags by default to set. 2019-07-03 16:21:03 +03:00
Teijo Kinnunen 965fd15b34 CThunk: Fix assertion when CThunk object is destroyed
In case the CThunk object is deleted without having called the
entry() function (and thus _entry is NULL), cthunk_free_real()
will fail with an assertion.
2019-07-03 16:21:03 +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
Kevin Bracey ad8d492104 Atomics: GCC fix for M23 (ARMv8-M baseline)
Add unified syntax directives to make the atomic assembler work when GCC
is building for M23.

GCC actually uses unified syntax when compiling C code, but puts
`.syntax divided` before each piece of inline assembly when targetting
Thumb-1 type devices like M0 and M23 for backwards compatibility. We can
overcome this with our own `.syntax unified`.  The command-line option
`-masm-syntax-unified` intended to override this globally has been
broken from GCC 6 to 8.0.
2019-07-03 16:21:03 +03:00
Ronny Liu 517732162f bootloader support for GD32_F450ZI 2019-07-03 16:21:03 +03:00
Russ Butler 80228fd5d0 Fix typos in the FPGA CI Test Shield component
Fix some typos.
2019-07-03 16:19:35 +03:00
Tymoteusz Bloch 78e0596bc8 Added hardcoded Echo server defaults for Greentea socket tests. 2019-07-03 16:19:35 +03:00
Martin Kojtal bb8be83885 unsupported USBHAL: fix coding style 2019-07-03 16:19:35 +03:00
Tomasz Moń b9490b8541 STM USBHALHost: Fix NULL pointer dereference
On STM32F746G Discovery boards, the USB OTG HS port does not have a
dedicated GPIO for controlling the USB VBUS.

This change fixes HardFault (NULL pointer dereference) that triggered
when such USB host port was used.
2019-07-03 16:19:35 +03:00
ccli8 d40c529320 Exclude mbed-hal-spm test for TrustZone chips
This is because for TrustZone chips like M23/M33, SecureFault is implemented in
secure-side and cannot pass on to non-secure side.
2019-07-03 16:19:35 +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
Maciej Bocianski b3ace3d07f hal_qspi_test: undo buggy code
Remove some buggy code introduced to hal_qspi_test by PR #10435
Added support for QSPI to Cypress Boards
a8570ffe6c
2019-07-03 16:19:34 +03:00
Tomasz Moń 1e9b7f6a65 USBHostMSD: Implement BlockDevice get_type()
This makes it possible to create instances of USBHostMSD class.
2019-07-03 16:19:34 +03:00
Laurent Meunier a885b6b0fc timeout_tests: do not call sleep from test thread
This is up to scheduler to call sleep when threads are inactive.
So the thread should simply wait for the semaphore for ever (or test timeout).
2019-07-03 16:19:34 +03:00
Ari Parkkila 075e6f8871 Cellular: Fix socket connect on UBLOX_AT driver 2019-07-03 16:19:34 +03:00