Commit Graph

25565 Commits (mbed-os-5.13)

Author SHA1 Message Date
desmond.chen edfdc946c3 NRF52 need to call TIMER_TASK_SHUTDOWN for current consumption 2019-08-12 08:35:16 +01:00
maclobdell a83dc21e97 fix rom start & size for psoc6 targets for 5.13 2019-08-12 08:35:15 +01:00
Maciej Bocianski 29aa19379b freescale: fix i2c_byte_read function 2019-08-12 08:32:07 +01:00
Chun-Chieh Li d8dff83fcb Nuvoton: Remove dead code nu_delay_cycle_x4(...)
Originally, nu_delay_cycle_x4(...) is borrowed from mbed test code for delay
cycle. Currently, it is not used on Nuvoton targets. If delay cycle is needed,
use wait_ns(...) instead which has strict implementation and has passed tests.
2019-08-12 08:32:07 +01:00
Leszek Rusinowicz 0fabceea00 FUTURE_SEQUANA: Add missing serial_free() implementation 2019-08-12 08:32:07 +01:00
int_szyk ef369dd926 Newline at the end of files 2019-08-12 08:32:07 +01:00
int_szyk 2e7c7f754f Astyle 2019-08-12 08:32:06 +01:00
int_szyk 50edb3d920 Update main.cpp 2019-08-12 08:32:06 +01:00
int_szyk 6d38596a27 Updated testcases 2019-08-12 08:32:06 +01:00
Kimmo Vaisanen 195d8febd3 Fix MBED_ASSERT for UTs
For UTs mbed_assert_internal should not be declared as MBED_NORETURN
as UT stub for mbed_assert_internal only prints out the assert trace
and returns back to original code.
2019-08-12 08:32:06 +01:00
Neil Tuttle 22238f8187 PSOC6: Remove USBDEVICE from FUTURE_SEQUANA targets 2019-08-12 08:32:05 +01:00
Neil Tuttle 227b6ce027 PSOC6: USB device implementation 2019-08-12 08:32:05 +01:00
Ari Parkkila a1ffecca00 Cellular: Fix statemachine stop 2019-08-12 08:32:05 +01:00
Ari Parkkila e80e0cfc68 Cellular: Fix BG96 power up 2019-08-12 08:32:05 +01:00
Kyle Kearney 217a1da362 Bug fixes to I2C and SPI drivers
- Fix assert when spi_master_block_write called with 0 size
- Fix assert when spi_format called before spi_frequency
- Simplify implementation of spi_master_write
- Simplify pointer arithmetic expressions in cyhal_spi_transfer and
  cyhal_spi_transfer_async
- Fix I2C driver not honoring the frequency specified during init.
2019-08-12 08:32:05 +01:00
int_szyk 200e7055de Can compile without serial 2019-08-12 08:32:05 +01:00
Kyle Kearney b9e9ff94a7 Add target for CY8CKIT_062S2_43012 2019-08-12 08:32:05 +01:00
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