Commit Graph

25448 Commits (mbed-os-5.13.2)

Author SHA1 Message Date
Evelyne Donnaes b81aeff1a3
Merge pull request #11110 from ARMmbed/release-candidate
Release candidate for mbed-os-5.13.2
2019-07-26 19:24:03 +01:00
Evelyne Donnaes 337c5b424f "Update secure binaries for LPC55S69_S (ARMC6)" 2019-07-26 15:58:04 +01:00
Ari Parkkila 23986f1eb6 Cellular: Fix to delete context just once 2019-07-26 10:18:24 +01:00
Evelyne Donnaes dbe9bfc685 Update Mbed version block 2019-07-25 15:18:28 +01:00
Vladislav Talanov 01bd07c9a2 add defines sectors for STM32F446ZE 2019-07-25 15:18:28 +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
Tomasz Moń 3c6348d04d GCC ARM: Increase develop and release debug level
Do not specify the debug level for develop and release profiles. Instead
rely on the compiler to choose sensible default (-g2). Note that -g1 is
minimal debugging information and does not include structure definitions
which quite heavily reduces debugging experience.

For develop and release profiles this results in elf file containing
structure definitions. This does not impact debug profile as it already
did use -g3 which is the highest debug level.

Compatible debuggers (eg. gdb, SEGGER Ozone) can use the extra information
to provide better debugging experience. For example, when compiled .elf is
loaded in gdb, this change makes it trivial to access internal RTX data.

Without this change on develop profile:
  (gdb) print osRtxInfo.thread.run
  'osRtxInfo' has unknown type; cast it to its declared type

With this change on develop profile:
  (gdb) print osRtxInfo.thread.run
  $1 = {curr = 0x20014F04, next = 0x20014F04}
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 2d1f7fa78c NRF52840: fix include path issues for cordio ll and gcc 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
Jaeden Amero ccb8f25872 mbedtls: Update to Mbed TLS 2.18.1
Update to Mbed TLS 2.18.1 and Mbed Crypto 1.1.1.
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
Russ Butler 07e8585358 Fix FPGA CI Test Shield warnings
Fix warnings due to unused variables, comparison between signed and
unsigned. This patch also re-enables I2C asserts that were disabled
during early development.
2019-07-25 15:18:27 +01:00
Russ Butler 87cb6c7038 Add a restricted peripheral list
Allow peripherals to be excluded from testing.
2019-07-25 15:18:27 +01:00
Steven Cooreman 54de9fa1df Increase ADC test tolerance to 5%
During the SiP workshop, we discovered that 3% is too narrow due to a combination of:
Voltage rail differences between target and FPGA
Extension of lesser-resolution ADC's to 16-bit results
2019-07-25 15:18:27 +01:00
Seppo Takalo 622dbe722c Normalize line endings for IM880B startup files. 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
Filip Jagodzinski a8cdabceee Test: HAL: serial: Add DEVICE_SERIAL_FC guards
Fix undefined references to serial_set_flow_control.
2019-07-25 15:18:27 +01:00
Filip Jagodzinski 0648cf471c HAL: Serial: Add DEVICE_SERIAL_FC guards
Functions related to serial flow control should not be exposed
if DEVICE_SERIAL_FC is not defined
* serial_set_flow_control,
* serial_cts_pinmap,
* serial_rts_pinmap.
2019-07-25 15:18:27 +01:00
jeromecoutant e42de1f055 FPFA I2C: correct init bloc number 2019-07-25 15:18:27 +01:00
jeromecoutant eb4b323e2e FPGA PWM: wait 1 period before measurement 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
Chun-Chieh Li 67edba468c Fix mbed_hal-watchdog failing with OOM
This is to fix OOM error on targets with just 16KiB RAM.
2019-07-25 15:18:27 +01:00
Chun-Chieh Li c19397da8d Fix mbed_drivers-watchdog failing with OOM
This is to fix OOM error on targets with just 16KiB RAM.
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
jeromecoutant 333ed3e85a FPGA SPI: ASYNC issue 2019-07-25 15:18:27 +01:00
Devaraj Ranganna efb94025d8 Include psa/crypto.h instead of mbedtls/config.h.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-07-25 15:18:27 +01:00
Devaraj Ranganna 7e4c435c45 Include mbedtls/config.h before evaluating MBEDTLS_PSA_CRYPTO_C
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-07-25 15:18:27 +01:00
Evelyne Donnaes 5941d17183
Merge pull request #11023 from ARMmbed/release-candidate
Release candidate for mbed-os-5.13.1
2019-07-15 09:47:53 +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 be40a9cfca PSOC6: add LwIP configuration for Cypress boards 2019-07-12 12:55:59 +03: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 6bdb10d180 PSOC6: apply astyle to WHD EMAC driver implementation 2019-07-12 12:55:08 +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