Commit Graph

5313 Commits (mbed-os-5.13.2)

Author SHA1 Message Date
Evelyne Donnaes 337c5b424f "Update secure binaries for LPC55S69_S (ARMC6)" 2019-07-26 15:58:04 +01:00
Ben Cooke 6e1dc84263 nrf52840: remove align instructions from gcc linker for ARM.extab exidx sections 2019-07-25 15:18:28 +01:00
George Beckstein fa620d55ce Fix SAADC resolution for nRF52-based targets... again 2019-07-25 15:18:28 +01:00
Ben Cooke 30e747760a NRF52840: enable TRNG in Nordic SDK config 2019-07-25 15:18:28 +01:00
Mahesh Mahadevan ecb444b989 MCUXpresso: Fix the LPC GPIO IRQ driver
The IRQ disable was always disabling both rising
and falling edges of the interrupt thereby causing
failures in cases when one of the two should stay enabled.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-07-25 15:18:28 +01:00
Mahesh Mahadevan f23bb080d6 LPC54114: Fix compile warnings
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-07-25 15:18:27 +01:00
Mahesh Mahadevan e019d7a64f MCUXpresso: Update LPC SPI HAL driver
Add support for different slave selects

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-07-25 15:18:27 +01:00
Mahesh Mahadevan df8cf28084 MCUXpresso: Update the Analogin driver for LPC devices
1. Update the clock divider setting
2. ADC resolution is 12-bits, update the API return value
   to return 16-bit result
3. Update IOMUX setup

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-07-25 15:18:27 +01:00
Mahesh Mahadevan dc5ff9ecd6 LPC54114: Update the ADC SDK driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-07-25 15:18:27 +01:00
Mahesh Mahadevan 1ad10d72c7 LPC546XX: Update the ADC SDK driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-07-25 15:18:27 +01:00
Yuan Cao 06193b6601 Fixed serial_device IRQ infinite loop bug due to uint8_t overflowing 2019-07-25 15:18:27 +01:00
Filip Jagodzinski e5abb9f770 RDA5981X: Add SERIAL_FC
According to comment in the implementation this target supports the
hardware flow control on UART1 peripheral.
This patch fixes build errors after adding DEVICE_SERIAL_FC guards to
hal/serial_api.h.
2019-07-25 15:18:27 +01:00
Filip Jagodzinski 81fd20a07f MPS2: Fix serial_init when FC is not used
After adding DEVICE_SERIAL_FC guards to serial_api.h
serial_set_flow_control is not available. In case of this
implementation, this function is a no-op and may be safely removed.
2019-07-25 15:18:27 +01:00
Filip Jagodzinski 26343e960e FVP_MPS2: Fix serial_init when FC is not used
After adding DEVICE_SERIAL_FC guards to serial_api.h
serial_set_flow_control is not available. In case of this
implementation, this function is a no-op and may be safely removed.
2019-07-25 15:18:27 +01:00
Steven Cooreman da1a749ab6 Fix for PWM output found by testing against FPGA shield
Two issues:
* Downcasting too early
* Potential for a uint32_t overflow in an intermediate calculation

Passing test requires #11005 to be merged.
2019-07-25 15:18:27 +01:00
Steven Cooreman ace88aa880 Avoid the FPGA tester using hardware CS which is not supported
Also implement rudimentary spi_free...
2019-07-25 15:18:27 +01:00
Steven Cooreman a5cb9d47ac Fix wrongly declared ADC pinout for EFM32GG11 STK3701A 2019-07-25 15:18:27 +01:00
Mahesh Mahadevan 1bbc2d770a LPC MCUXpresso: Remove extra I2C transaction on byte write
An extra start signal was observed on the bus which was
discovered by the FPGA test shield.
This is because the hardware sends out a transaction as soon
as a write to the START bit. Hence the write to the START
bit is delayed by using a flag.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-07-25 15:18:27 +01:00
Evelyne Donnaes 4bf9e23aff "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2019-07-14 21:46:25 +01:00
Evelyne Donnaes 7db70d8452 "Update secure binaries for LPC55S69_S (ARMC6)" 2019-07-14 21:46:06 +01:00
Evelyne Donnaes 18f8433d3c Revert "Override wait_ns to provide more accurate implementation"
This reverts commit f62010d026.
2019-07-14 18:07:03 +01:00
Evelyne Donnaes c781b51644 Corrected patch. Removed QSPIF for CY8CMOD_062_4343W. 2019-07-12 17:37:09 +01:00
Volodymyr Medvid 1080d3e1ff PSOC6: TARGET_PSOC6_FUTURE doesn't implement DEVICE_I2CSLAVE 2019-07-12 12:55:48 +03:00
Volodymyr Medvid 2fa57a51f3 PSOC6: do not remove QSPI from FUTURE_SEQUANA targets
Since QSPi is not yet supported by base TARGET_PSOC6,
there is no need to remove the device label from
FUTURE targets that inherit from TARGET_PSOC6.

This will need to be reverted back once the QSPI support
is implemented for Cypress PSOC6 targets.
2019-07-12 12:55:38 +03:00
Volodymyr Medvid fe0f21abd9 PSOC6: cleanup DEVICE_QSPI mappings
Note: device_has: "QSPI" is still disabled for TARGET_PSOC6
(QSPI HAL implementation is incomplete).
2019-07-12 12:55:29 +03:00
Volodymyr Medvid d542c3d66b PSOC6: fix license headers per review feedback 2019-07-12 12:55:19 +03:00
Volodymyr Medvid 6bde6efa0a PSOC6: remove CY8CKIT-062S2-4343W (not ready for release)
Also removed _M0 targets that are no longer used.
2019-07-12 12:54:49 +03:00
Volodymyr Medvid 9c202ae03c PSOC6: remove PSA targets 2019-07-12 12:54:22 +03:00
Volodymyr Medvid 1a5485ad76 PSOC6: remove libwiced_drivers for targets ported to WHD 2019-07-12 12:51:42 +03:00
Volodymyr Medvid 1bd5a6ec1d PSOC6: update Cypress boards to use TARGET_WHD 2019-07-12 12:51:31 +03:00
Volodymyr Medvid 7a7873c444 PSOC6: add WHD sources 2019-07-12 12:50:59 +03:00
Volodymyr Medvid 5c027db543 PSOC6: update BSP sources 2019-07-12 12:50:51 +03:00
Volodymyr Medvid b09e7cd9eb PSOC6: update BSP GeneratedSource, add design.modus 2019-07-12 12:50:33 +03:00
Volodymyr Medvid a72472f70a PSOC6: update to latest psoc6pdl 2019-07-12 12:50:24 +03:00
Volodymyr Medvid 1c48a6cc94 PSOC6: update Cypress targets to use psoc6csp 2019-07-12 12:50:03 +03:00
Volodymyr Medvid 33ca061e6a PSOC6: add psoc6csp asset with Cypress HAL implementation
PSoC 6 Chip Support Package provides hardware abstraction layer
for Cypress PSoC 6 device peripherals.
2019-07-12 12:30:05 +03:00
Volodymyr Medvid 471f0ab2a8 PSOC6: use prebuilt CM0+ C arrays instead of HEX images
Replace the prebuilt CM0+ HEX images with C files that provide the
variable cy_m0p_image placed to the combined ELF image with linker
script. This simplifies build flow of PSoC 6 application and improves
compatibility with IDE export targets. It is still possible to use
the custom prebuilt HEX images for PSA targets that remove CM0P_SLEEP
label and specify the `hex_filename` in targets.json.
Linker scripts are compatible with both scenarios.
2019-07-12 12:29:58 +03:00
Volodymyr Medvid 4a5e732c88 PSOC6: add psoc6cm0p asset with prebuilt CM0+ C arrays 2019-07-12 12:29:51 +03:00
Volodymyr Medvid 66efef22e3 PSOC6: format extra labels for Cypress kits 2019-07-12 12:29:43 +03:00
Evelyne Donnaes 075921b003
Update targets/targets.json
Removed RESET_REASON for NCS36510

Co-Authored-By: Filip Jagodziński <filip.jagodzinski@arm.com>
2019-07-11 13:21:10 +01:00
Tymoteusz Bloch fb6bfb6098 Reverted "K64F, STM32F429: IAR linker scripts dynamic heap fix"
due to side effect with K64F bootloader application jump after three consecutive HW resets.
2019-07-11 12:20:26 +01:00
jeromecoutant d27574a3c8 NUCLEO_H743ZI: enable WATCHDOG back 2019-07-11 12:14:39 +01:00
jeromecoutant dc6cdab128 STM32H7: Reset Reason update 2019-07-11 12:14:28 +01:00
jeromecoutant 485bc1103e STM32H7 watchdog patch 2019-07-11 12:14:18 +01:00
jeromecoutant 390928685c STM32H7: Increase watchdog timeout value 2019-07-11 12:14:06 +01:00
jeromecoutant 6d2a128698 STM32H7 : add LSI 2019-07-11 12:13:55 +01:00
Martin Kojtal b04f7b46c9 Revert "Fix: Allow target size restriction for LPC55S69"
This reverts commit 4451d64ea8.
We postpone this fix to 5.13.2 due to its breakages for client for this target. It
needs more work.
2019-07-11 11:55:30 +01:00
Martin Kojtal a05b29d050 SDT51822B does not support RESET_REASON.
Incorrect rebase from master

Co-Authored-By: Filip Jagodziński <filip.jagodzinski@arm.com>
2019-07-11 11:55:30 +01:00
Martin Kojtal 07fc47933e Fix: MCU_NRF52832 does not support RESET_REASON.
Incorrect rebase from master

Co-Authored-By: Filip Jagodziński <filip.jagodzinski@arm.com>
2019-07-11 11:55:30 +01:00
Martin Kojtal 8024e405f8 Watchdog: remove config value for timeout, set it dynamically
Use start method to set timeout
2019-07-11 11:55:29 +01:00