Commit Graph

26890 Commits (835504d30a4d001985e180ae02c6dd2acaa041f9)

Author SHA1 Message Date
panyz0725@thundersoft.com ad0689d401 iar export for TT_M3HQ and TT_M4G9 2019-11-18 15:42:08 +00:00
Giampaolo Mancini 401c6927c9 Add SPDX identifier 2019-11-18 15:42:08 +00:00
Giampaolo Mancini a42ff3212c Fix overflow calculation for reload_value.
Please,  note that this patch fixes upstream bug. See:

https://devzone.nordicsemi.com/f/nordic-q-a/51674/maximum-reload-time-for-wdt
2019-11-18 15:42:08 +00:00
Giampaolo Mancini 688e436bd9 Remove default conf macro because typo in nRF SDK 2019-11-18 15:42:08 +00:00
Giampaolo Mancini df95fb0f0b Fix timeout limits 2019-11-18 15:42:08 +00:00
Giampaolo Mancini 23784cbd0b Add support for nRF52 Watchdog 2019-11-18 15:42:08 +00:00
Alexandre Bourdiol 2da2322a08 STM32F767ZI - I2C FastModePlus not properly enabled 2/2
Warning: sometimes I2C_FASTMODEPLUS_I2Cx is defined,
even if not supported by some chip within the family
2019-11-18 15:42:08 +00:00
Alexandre Bourdiol 096847bbb1 STM32F767ZI - I2C FastModePlus not properly enabled
Fixes #11659
2019-11-18 15:42:08 +00:00
Kyle Kearney 93700462a4 QSPI: document use of QSPI_NO_INST
Add comments to functions that can take a qspi_inst_t about the value
that will cause the instruction phase to be skipped entirely.
2019-11-18 15:42:08 +00:00
Martin Kojtal d1fe414b42 cy port api: fix styling 2019-11-18 15:42:08 +00:00
Shuopeng Deng db38d48573 Changed mbed gpio-port api to match gpio api
The port configuration api was not correctly setting the port-pins'
direction. Changed the port driver to call the gpio driver for
configuration (read and write still are optimized for port-level
operations) so that the behavior is consistent.
2019-11-18 15:42:08 +00:00
Vikas Katariya b6f5046b67 Fix enum type to align with psa-arch-tests
This is related to https://github.com/ARMmbed/mbed-os/issues/11256
When TARGET_PSA is enabled on Cortex-A boards, the SECURE
is redeclared. So to minimize the impact we can redeclare this in
val.h which is used only by Mbed. And `security_t` itself is used in
mbed-os\components\TARGET_PSA\TESTS, but the SECURE string is not used.

Renamed to `caller_security_t` which aligns with
https://github.com/ARM-software/psa-arch-tests
2019-11-18 15:42:08 +00:00
Hugues Kamba 7bb54f5320 Move script to check for floats and make it Python 2 compatible.
All scripts pertaining to example projects tests should be in the same
directory. The test framework uses Python2 therefore this script also needs
to be Python2 compatible.
2019-11-18 15:42:08 +00:00
Ilia Penev 1400e0f240 Fix Quectel M26 context hang 2019-11-18 15:42:08 +00:00
Alexandre Bourdiol 4d9c888057 TARGET_STM: remove warning and fix typo on SPI 2019-11-18 15:42:08 +00:00
jeromecoutant 4ab3fb2596 STM32 TRNG clock configuration 2019-11-18 15:42:08 +00:00
mudassar-ublox 665eee829b fix apn check 2019-11-18 15:42:08 +00:00
Antti Kauppila 83607653e2 Fix build issue 2019-11-18 15:42:08 +00:00
Antti Kauppila 9bc37458eb Cleaned up Mbed LWIP configurations 2019-11-18 15:42:08 +00:00
Olli-Pekka Puolitaival 24a434e508 Remove --extra-verbose-notifications because not in use anywhere 2019-11-18 15:42:08 +00:00
Olli-Pekka Puolitaival b20b591a84 Add silent option in test.py also 2019-11-18 15:42:08 +00:00
Olli-Pekka Puolitaival bd2c0b2ea6 Remove not used code lines 2019-11-18 15:42:08 +00:00
Rajkumar Kanagaraj fee21011dd fixed astyle issue 2019-11-18 15:42:08 +00:00
Rajkumar Kanagaraj ab16796967 Fix for missing os_cb_section -Added the os_cb_section stub to remove the warnings Incorporated the below review comment -Repharase source code comment 2019-11-18 15:42:08 +00:00
Kyle Kearney b9d824d67c Avoid stale mutex in QSPIFBlockDevice::read
Update to follow the same `goto exit_point` pattern that is used
by the rest of the functions to avoid leaving the mutex locked
when errors are detected and require the function to abort.
2019-11-18 15:42:08 +00:00
Kyle Kearney 6003dbe6b0 Reuse existing error for _qspi_configure_format
Use QSPIF_BD_ERROR_DEVICE_ERROR instead of introducing a new error code.
Add tr_error calls whenever _qspi_configure_format fails to aid in debugging.
2019-11-18 15:42:08 +00:00
Kyle Kearney 2b3ee26f62 Report errors returned by _qspi_configure_format
The function returns a qspi_status_t but most usages in QSPIFBlockDevice
assume that it always succeeds.
2019-11-18 15:42:08 +00:00
Kyle Kearney a114cd30bc Restore old qspi_alt_size_t values as compatibility macros 2019-11-18 15:42:08 +00:00
Kyle Kearney 6b1a21b7f0 Update STM driver changes for clarity
- Use a switch statement rather than shifting and masking to compute
  the AlternateBytes value.
- Rename rounded_size to alt_bytes to clarify its purpose.
2019-11-18 15:42:08 +00:00
Kyle Kearney aab40e07f3 Change qspi_inst_t typdef to int
Existing code may a dependency on the old behavior of "-1" to
mean "no instruction". Therefore, update the typedef, and the value
of QSPI_NO_INST, to avoid breaking those uses.
2019-11-18 15:42:08 +00:00
Kyle Kearney 4917bfabdf QSPIFBlockDevice: Fix incomplete propagation of qspi_inst_t 2019-11-18 15:42:08 +00:00
Martin Kojtal a69a2efae7 QSPIFBlockDevice: fix type on the namespace mbed 2019-11-18 15:42:08 +00:00
Matthew Macovsky 3b86b35616 Introduce qspi_inst_t type for QSPI instructions
Encourage the usage of consistent types (there are currently
 a mix of `int` and `unsigned int` used for qspi instructions)
QSPI commands are limited to 8 bits, to this is a typdef to char
2019-11-18 15:42:08 +00:00
Roman Okhrimenko a9eea6cdef Added specific policy file for 2M device to expand slot sizes 2019-11-18 15:42:08 +00:00
Roman Okhrimenko ba39ce30c0 Initial addition of files to support CY8CKIT_064S2_4343W target 2019-11-18 15:42:08 +00:00
Leszek Rusinowicz 060e8cfb8b FUTURE_SEQUANA: SPI HAL API fixes.
- Fixed miscalculation in SPI frequency setup (divider value).
- Added possibility to set up SCK line as NC (usable when SPI peripheral
   is used to handle non-SPI protocols.
- Fixed handlingh of 16-bit (and other >8 bit) transfers.

(cherry picked from commit 7d391f257b4ff6cdd7b43eeaa4894f8ce6d2cf8e)
2019-11-18 15:42:08 +00:00
toyowata 9ab22274a6 Add bootloader support for Seeed Arch-MAX 2019-11-18 15:42:08 +00:00
Mukund Ghonasgi 67fdf6c6f9 Address ARM Code review feedback. 2019-11-18 15:42:08 +00:00
Mukund Ghonasgi 64be6a7604 Update Target Cypress Specific Cordio BT Driver to keep Host MCU active for the duration BT device asserts HOST WAKE. This change fixes race condition in Cypress Cordio driver. 2019-11-18 15:42:08 +00:00
Laurent Meunier d92adcd28c Clearing UART TC Flag prevents deep sleep, so do not clear it
The TC flag is used in function serial_is_tx_ongoing to check if there is
an ongoing serial transmission. So this Flag must not be cleared at the
end of the transmission, otherwise, serial_is_tx_ongoing will notify that
TX is ongoing.

The impact is that it may prevent deep sleep to be entered.

Also there is no need to clear this flag at the end of the transaction
because it will be cleared automatically by HW when a new transmission
starts.
2019-11-18 15:42:08 +00:00
Veijo Pesonen 2ea642a45f NRF52840_DK: enables FLASHIAP for the device 2019-11-18 15:42:08 +00:00
d-kato 1a27863701 Fix multiple definitions of GR-LYCHEE 2019-11-18 15:42:08 +00:00
d-kato 7425838ab7 Add FLASHIAP to GR-PEACH component 2019-11-18 15:42:08 +00:00
Hugues Kamba b76394d6dd USBDevice: add documentation on USB suspend/resume to enter deep sleep
It is possible to temporarily suspend USB and safely preserve its
configuration. This is needed to allow a device to enter deep
sleep as a USBDevice instance prevents deep sleep. USB operation can be
suspended with `deinit` and restored with `connect`.
2019-11-18 15:42:08 +00:00
Kyle Kearney 87e138fe3c Fix swapped pins for CYW943012P6EVB-01 in cybsp_types
Fix the issue as 09f715c96e in
cybsp_types.h as well.
2019-11-18 15:42:08 +00:00
Kyle Kearney 0bc3d7ca33 Fix swapped BT pins on CYW943012P6EVB-01
The BT_DEVICE_WAKE and BT_HOST_WAKE pins were swapped relative to
how the chips are wired up on the board.
2019-11-18 15:42:08 +00:00
Maciej Bocianski 72760d7c7f EFM32GG11_STK3701: add QSPIF component config 2019-11-18 15:42:08 +00:00
Alexandre Bourdiol 1e351720a7 Mbed patch of STM32cube for bootloader: use NVIC_FLASH_VECTOR_ADDRESS 2019-11-18 15:42:08 +00:00
Alexandre Bourdiol bdb0082bc9 Update HAL/LL EXTI to have default API applied on current core and nott CPU1 2019-11-18 15:42:08 +00:00
Alexandre Bourdiol 7846c9fe91 SystemCoreClock should correspond to current core clock and not D1 clock. 2019-11-18 15:42:08 +00:00