Commit Graph

5832 Commits (mbed-os-5.14)

Author SHA1 Message Date
Graham Hammond ea448f5144 IOTBTOOL-407 Fix microbit to use Arm C5
Earlier changes introduced a change to default Arm C6, which does not compile the micro library which is based on Mbed 2. This change fixes the compiler version for NRF51_MICROBIT devices.
2019-11-18 15:42:08 +00:00
adbridge a4715aab32 "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2019-10-16 13:00:44 +01:00
adbridge 455bb9ec68 "Update secure binaries for LPC55S69_S (ARMC6)" 2019-10-16 12:31:35 +01:00
adbridge 070269295f Add OKDO platform
Manually ported from PR11407
2019-10-16 12:10:38 +01:00
jeromecoutant 19b641bb66 STM32L151: update calibration memory address 2019-10-16 11:58:32 +01:00
jeromecoutant 82f2b72777 DISCO_L4R9I: update default STMOD+ pin 2019-10-16 11:58:32 +01:00
Kyle Kearney 1dc74090a7 Add target for CY8CPROTO-063-BLE 2019-10-16 11:58:32 +01:00
Kyle Kearney 65e726eb9e Fix possible negative QSPI alt count on STM
Remove an extraneous decrement operation in cases where the alt
bits size is a multiple of 8.
2019-10-16 11:58:32 +01:00
Matthew Macovsky 08a2709993 Allow for arbitrary QSPI alt sizes
The QSPI spec allows alt to be any size that is a multiple of the
number of data lines. For example, Micron's N25Q128A uses only a
single alt cycle for all read modes (1, 2, or 4 bits depending on
how many data lines are in use).
2019-10-16 11:58:32 +01:00
Chun-Chieh Li 03affe94d8 Remove TRNG support
Reasons to remove TRNG support:
1.  M252 just has 32KiB SRAM and cannot afford mbedtls application.
2.  Implementing TRNG HAL with PRNG H/W has security concern.
2019-10-16 11:58:32 +01:00
Chun-Chieh Li 14e9683d4d Add BSD-3-Clause license for BSP files 2019-10-16 11:58:32 +01:00
Chun-Chieh Li 2136567b7a Free up peripheral pins in peripheral free-up HAL API
Without free-up of peripheral pins, peripheral pins of the same peripheral may
share by multiple ports after port iteration, and this peripheral may fail with
pin interference.
2019-10-16 11:58:32 +01:00
Chun-Chieh Li f761fe7eb1 Support GPIO input pull-high/pull-low
In Nuvoton, only new-design chips support GPIO input pull-high/pull-low modes.
Targets not supporting this feature are listed below:

- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
2019-10-16 11:58:32 +01:00
Chun-Chieh Li 07eb503cf1 Fix redundant call to UART IRQ handler
Honor RxIrq/TxIrq to avoid redundant call to UART IRQ handler.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-uart.
2019-10-16 11:58:32 +01:00
Chun-Chieh Li a3197f3ec9 Fix redundant SPI clock generation
Fix SPI clocks are generated redundantly at the end of transfer.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - async mode.
2019-10-16 11:58:32 +01:00
Chun-Chieh Li 7f29545a57 Fix I2C NACK error
Fix logic error on replying NACK at the end of transfer.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-i2c/
i2c - test single byte read i2c API.
2019-10-16 11:58:32 +01:00
Chun-Chieh Li a5b7048668 Fix IP initialization sequence
Better IP initialization sequence:
1. Configure IP pins
2. Select IP clock source and then enable it
3. Reset the IP (SYS_ResetModule)

NOTE1: IP reset takes effect regardless of IP clock. So it doesn't matter if
       IP clock enable is before IP reset.
NOTE2: Non-configured pins may disturb IP's state, so IP pinout first and then
       IP reset.
NOTE3: IP reset at the end of IP initialization sequence can cover unexpected
       situation.
2019-10-16 11:58:32 +01:00
Chun-Chieh Li 3cdf84d943 Exclude USB UART from testing
USB UART is dedicated to USB COM and so must exclude from FPGA CI testing.
2019-10-16 11:58:32 +01:00
Chun-Chieh Li a56db3697d Force enum PinName to 32-bit
NU_PINNAME_BIND(...) requires enum PinName to be 32-bit to encode module
binding information in it.
2019-10-16 11:58:32 +01:00
Chun-Chieh Li 7245474e40 Add 'sectors' target configuration parameter 2019-10-16 11:58:32 +01:00
Chun-Chieh Li b6a29934e8 Enlarge LPTICKER_DELAY_TICKS for safe
On Nuvoton targets, lp_ticker_set_interrupt(...) needs around 3 lp-ticker
ticks to take effect. It may miss when current tick and match tick are very
close (see hal/LowPowerTickerWrapper.cpp). Enlarge LPTICKER_DELAY_TICKS to
4 from 3 to address this boundary case.
2019-10-16 11:58:32 +01:00
Chun-Chieh Li 7c48b44488 Enlarge required deep sleep latency
This configuration is to pass wake-up from deep-sleep test such as mbedmicro-rtos-mbed-systimer.
2019-10-16 11:58:32 +01:00
Chun-Chieh Li 9b6edba26c Override mpu-rom-end to 0x1fffffff
Without this override, mpu hal will require 5 mpu regions which exceed 4 mpu
regions supported by M252 (see hal/mpu/mbed_mpu_v8m.c). In this scenario,
we will hit assert error but we actually meet stack overrun first due to just
0x400 bytes for emitting error message. The issue doesn’t occur on other
targets such as M487 because it has 8 mpu regions.
2019-10-16 11:58:32 +01:00
Chun-Chieh Li d111aff98b Support Nuvoton's NUMAKER_M252KG target 2019-10-16 11:58:32 +01:00
Ben Cooke 9145b72433 Add MTS_DRAGONFLY_F413RH platform to mbed-os 2019-10-16 11:58:32 +01:00
Kyle Kearney 7dd86e8f48 Clean up BSP hardware configuration
- Improve block naming
- Remove unneeded items
2019-10-16 11:58:32 +01:00
Kyle Kearney 45b674623f Update CY8CPROTO-064-SB linker scripts
Update linker scripts for the latest PDL to be consistent with other Cypress targets
2019-10-16 11:58:32 +01:00
Kyle Kearney 222443ea63 Refactor serial flash support 2019-10-16 11:58:32 +01:00
Kyle Kearney 85ba6ea4f3 Simplify BSP contents
Remove some (Cypress-proprietary) BSP interfaces and hardware initialization
from the BSPs which is better implemented by a library or application firmware.
Move some remaining functionality from common to the individual targets.
2019-10-16 11:53:52 +01:00
Kyle Kearney 91131a03f7 Consolidate/clean up wifi initialization 2019-10-16 11:53:52 +01:00
Kyle Kearney 8e6c6d1d8e Avoid doubly allocating whd thread stack
Don't malloc during wifi initialization, as that could cause double allocation in some cases.
The thread stack will be allocated by cy_rtos_thread_start if necessary.
2019-10-16 11:53:52 +01:00
Qinghao Shi ce73f8ecdd FASTMODEL: add a comment for TRNG simulation 2019-10-16 11:53:52 +01:00
Qinghao Shi 4e3d31540a FASTMODEL: update trng based on comments 2019-10-16 11:53:52 +01:00
Qinghao Shi 828b2f132e FASTMODEL: enable PSA tests for fastmodel 2019-10-16 11:53:52 +01:00
Qinghao Shi c81995cf56 FASTMODEL: add simulated TRNG implementation to fastmodel 2019-10-16 11:53:52 +01:00
Chris Trowbridge 89ce27b3fc EP_AGORA: Add config logic to enable BLE, cell, and LoRa by default 2019-10-16 11:53:52 +01:00
Marc Emmers b82becb323 Add newline at end of file 2019-10-16 11:53:52 +01:00
Marc Emmers 0876991561 Fixed missing #if in port_api.c 2019-10-16 11:53:52 +01:00
jeromecoutant b2e0a13730 STM32H7 ST CUBE V1.5.0 update 2019-10-16 11:53:52 +01:00
Ryan Morse c62c7135f9 Moved TriggerMux initialization out of the HAL and into the BSP since that is what dictates what trigger muxes actually need to be used 2019-10-16 11:53:52 +01:00
Vincent Veron 85757ce198 STM32H7 : use RAM instead of DTCMRAM (GCC_ARM toolchain) 2019-10-16 11:53:52 +01:00
Vincent Veron 7561e770a3 STM32H7 : use RAM instead of DTCMRAM (ARM toolchain) 2019-10-16 11:53:52 +01:00
Vincent Veron dd9f9e1cb5 STM32H7 : use RAM instead of DTCMRAM (IAR toolchain)
Keep vector table and crash data ram in 0x20000000 for
tests-mbed_platform-crash_reporting test.
Move the rest in RAM (0x24000000). This is needed for ethernet and allows
user to use more RAM (512k).

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-10-16 11:53:52 +01:00
Volodymyr Medvid 0cb250ca04 PSOC6: update to PDL 1.3.1.1499 2019-10-16 11:53:52 +01:00
Volodymyr Medvid 8bed19a9d2 PSOC6: update to PDL 1.3.1.1474 2019-10-16 11:53:52 +01:00
Leszek Rusinowicz f5f6caa3b0 FUTURE_SEQUANA: InterruptIn implementation bug fix
Fixed HAL API implementation for InterruptIn:
 - Interrupt was not enabled by default after configuration as it should be.
 - Interrupt-to-object linking was not handled properly.
2019-10-16 11:53:52 +01:00
jeromecoutant b3a14b5ead STM32WB : LSI clock selection when LSE is not available 2019-10-16 11:53:52 +01:00
jeromecoutant 7272fe0613 STM32H7: LSI clock selection when LSE is not available 2019-10-16 11:53:52 +01:00
Kyle Kearney 2b277e8827 Improve psoc6csp doxygen comments 2019-10-16 11:53:52 +01:00
Kyle Kearney 3acb1e49f8 Reorganize resource and rtos abstraction files
- Move resource and rtos abstractions into their own folders
- Remove files for abstractions that are not implemented
2019-10-16 11:53:52 +01:00
Kyle Kearney 0a54b6900e Update to latest HAL
- Add const and static qualifiers in places where they are
  applicable but missing
- Remove headers for drivers that aren't implemented yet
- Misc minor bugfixes
2019-10-16 11:53:52 +01:00
Kyle Kearney 02da070162 Fix incorrect integer division in analogout_read
Replace with multiplication by the floating point reciprocal, to
 produce a floating point result while being more efficient than
 floating point division.
Addresses the issue raised by kjbracey-arm in
https://github.com/ARMmbed/mbed-os/pull/11324#pullrequestreview-282433989
2019-10-16 11:53:52 +01:00
James Wang 318f686ffc remove NRF52840, NRF52832 static_memory_defines set
static_memory_defines controls the macro MBED_RAM_START AND MBED_RAM_SIZE
when nrf52840 to use softdevice, it need MBED_RAM_START to set the true application ram start

default static_memory_defines is true, so just remove NRF52840 and NRF52832's set
2019-10-16 11:53:52 +01:00
James Wang 1bed555921 set NRF52832 static_memory_defines true
static_memory_defines controls the macro MBED_RAM_START AND MBED_RAM_SIZE
when nrf52832 to use softdevice, it need MBED_RAM_START to set the true application ram start
2019-10-16 11:53:52 +01:00
int_szyk 7411db1deb Change the LSI_VALUE according to documentation 2019-10-16 11:53:52 +01:00
jeromecoutant c9f7798df5 STM32WB ADC : Consecutive VBAT values reading was not possible
Add Stop after read
2019-10-16 11:53:52 +01:00
Kostiantyn Tkachov 7dc92567f9 Updated mbedTLS CRYPTO target to be more flexibly configured for supported boards 2019-10-16 11:53:52 +01:00
jeromecoutant 74a24ea88d STM32H747 license update 2019-10-16 11:53:52 +01:00
jeromecoutant 39e890d330 Remove "STM32H747ZI" device_name, as not supported yet by MBED 2019-10-16 11:53:52 +01:00
jeromecoutant 2008be1c0d DISCO_H747I single core M7 introduction 2019-10-16 11:53:52 +01:00
jeromecoutant 46b310304a STM32H747xI introduction 2019-10-16 11:53:52 +01:00
jeromecoutant 08fe757f14 STM32H743 files move 2019-10-16 11:53:52 +01:00
Michal Paszta b65e5e84df Enable async serial for K66F
Added DMA definitions and usage for UART, based on K64F's code.
2019-10-16 11:53:52 +01:00
jeromecoutant 0f12e65b9c STM license file update
Some code have been copied from ST Cube deliveries.
ST copyright is then needed.
2019-10-16 11:53:52 +01:00
Kostiantyn Tkachov 5c3da11e83 Removed mbedTLS hardware support from FUTURE_SEQUANA targets 2019-10-16 11:53:52 +01:00
Kostiantyn Tkachov b191e6a84a Initial commit to add mbedTLS hardware acceleration for Cypress chips to mbed-os sources 2019-10-16 11:53:52 +01:00
Chun-Chieh Li ef8474de46 M263: Remove redundant SPI I2S pins from pinmap
The pins suffixed with 'I2SMCLK' are for SPI I2S and cannot be used in normal SPI.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 0722380f9a M263: Free up peripheral pins in peripheral free-up HAL API
Without free-up of peripheral pins, peripheral pins of the same peripheral may
share by multiple ports after port iteration, and this peripheral may fail with
pin interference.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 863c2a7700 M263: Support GPIO input pull-high/pull-low
In Nuvoton, only new-design chips support GPIO input pull-high/pull-low modes.
Targets not supporting this feature are listed below:

- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 826ad091a3 M263: Fix redundant call to UART IRQ handler
Honor RxIrq/TxIrq to avoid redundant call to UART IRQ handler.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-uart.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 950a586ad1 M263: Fix redundant SPI clock generation
Fix SPI clocks are generated redundantly at the end of transfer.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - async mode.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 8cd1f10b25 M263: Fix I2C NACK error
Fix logic error on replying NACK at the end of transfer.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-i2c/
i2c - test single byte read i2c API.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li d6172f0227 M263: Fix IP initialization sequence
Better IP initialization sequence:
1. Configure IP pins
2. Select IP clock source and then enable it
3. Reset the IP (SYS_ResetModule)

NOTE1: IP reset takes effect regardless of IP clock. So it doesn't matter if
       IP clock enable is before IP reset.
NOTE2: Non-configured pins may disturb IP's state, so IP pinout first and then
       IP reset.
NOTE3: IP reset at the end of IP initialization sequence can cover unexpected
       situation.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 668d3b077e M263: Exclude USB UART from testing
USB UART is dedicated to USB COM and so must exclude from FPGA CI testing.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 99cbd6fe3c M263: Force enum PinName to 32-bit
NU_PINNAME_BIND(...) requires enum PinName to be 32-bit to encode module
binding information in it.
2019-10-16 11:53:52 +01:00
dolphin\\gena 6176f066f4 formatting 2019-10-16 11:53:52 +01:00
dolphin\\gena 8d734ee055 bad formatting correction 2019-10-16 11:53:52 +01:00
dolphin\\gena 495ba7b92c indents correction 2019-10-16 11:53:52 +01:00
dolphin\\gena 13c202b828 rename macro 2019-10-16 11:53:52 +01:00
Martin Kojtal a35663b171 ST pinmap: remove endif mistype 2019-10-16 11:53:52 +01:00
Martin Kojtal 908e7a3e9f ST pinmap: Fix the style 2019-10-16 11:53:52 +01:00
dolphin\\gena 8e9511e435 formatting 2019-10-16 11:53:52 +01:00
dolphin\\gena 954552a7d1 fix mistypes 2019-10-16 11:53:52 +01:00
dolphin\\gena 7bc2aae435 formatting issue 2019-10-16 11:53:52 +01:00
dolphin\\gena e8be6505c4 mistype fix 2019-10-16 11:53:52 +01:00
dolphin\\gena f84a2df116 Add pin speed controlling interface 2019-10-16 11:53:52 +01:00
Chun-Chieh Li 1366602ca7 M263: Enlarge LPTICKER_DELAY_TICKS for safe
On Nuvoton targets, lp_ticker_set_interrupt(...) needs around 3 lp-ticker
ticks to take effect. It may miss when current tick and match tick are very
close (see hal/LowPowerTickerWrapper.cpp). Enlarge LPTICKER_DELAY_TICKS to
4 from 3 to address this boundary case.
2019-10-16 11:53:52 +01:00
int_szyk c138ef8baa Change LSI_VALUE in STM implementation.
Wrong LSI value might be causing problems witch watchdogs.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li c21f34823b M263: Fix mbedmicro-rtos-mbed-systimer/Wake up from deep sleep failing
This test requires total latency (tot = h/w + s/w) (wakeup from deepsleep) be
under 1ms. To check the issue, measure total latency on Nuvoton targets:

TARGET      EXP(us)     EXP+TOL(us) ACT(us)
NANO130     42000       43000       42939
NUC472      42000       43000       42236
M453        42000       43000       43274
M487        42000       43000       42877
M2351       42000       43000       43213

Checking h/w spec, h/w latency (wakeup time from normal power-down mode) on
M487/M2351 is just 1us (n/a on other targets). S/W latency plays the major
part here.

S/W latency relies on system performance. On Nuvoton targets, 'LPTICKER_DELAY_TICKS'
possibly complicates the test. Anyway, to pass the test, add extra 1ms latency
(deep-sleep-latency) in targets.json for Nuvoton targets.
2019-10-16 11:53:52 +01:00
Tony Wu 6b75945eaa rtl8195am - remove redundant code
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-10-16 11:53:52 +01:00
Tony Wu 5ae55c26d1 rtl8195am - fix array assumed to have one element warning
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-10-16 11:53:52 +01:00
Tony Wu 3345548adc rtl8195am - fix argument format warning
[Warning] tcm_heap.c@70,18: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'MemChunk * {aka struct _MemChunk *}' [-Wformat=]
[Warning] tcm_heap.c@70,28: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'MemChunk * {aka struct _MemChunk *}' [-Wformat=]

Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-10-16 11:53:52 +01:00
Tony Wu a168aabdd0 rtl8195am - fix missing braces around empty body warning
osdep_service.c@214,61: suggest braces around empty body in an 'else' statement [-Wempty-body]

Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-10-16 11:53:52 +01:00
Tony Wu 82c5e24d8f rtl8195am - cleanup gcc linker script
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-10-16 11:53:52 +01:00
Tony Wu 6b0275f9bb rtl8195am - disable IAR support
Disable IAR support until HAL library is upgraded to IAR8

Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-10-16 11:53:52 +01:00
Tony Wu 1c015bc54a rtl8195am - enable USTICKER support
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-10-16 11:53:52 +01:00
adbridge 59209d2883 "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2019-09-19 11:54:41 +01:00
adbridge af682ccb1b "Update secure binaries for LPC55S69_S (ARMC6)" 2019-09-19 11:44:35 +01:00
Chun-Chieh Li 36fa1d0123 M2351: Add pre-built secure image for non-PSA 2019-09-19 11:23:52 +01:00
Chun-Chieh Li 656ee0d7a5 M2351: Enable USB UART for non-PSA secure target for Greentea
NOTE1:  USB UART is partitioned for non-secure world. Secure world still can share
        it with limit that its interrupt cannot use in secure world.
NOTE2:  In secure world, USB UART is only for Greentea and STDIO. Developers shouldn't
        use it for other purposes.
2019-09-19 11:23:52 +01:00
Chun-Chieh Li 2e2a340cec M2351: Support non-PSA secure/non-secure combined build
Support secure/non-secure combined build for non-PSA target:
1.  In secure post-build, deliver built secure image to TARGET_NU_PREBUILD_SECURE
    directory which is to combine later.
2.  In non-secure post-build, merge non-secure image with secure image saved in
    TARGET_NU_PREBUILD_SECURE directory.
3.  In non-secure post-build, user can also drop pre-built secure image saved in
    TARGET_NU_PREBUILD_SECURE directory and provide its own by adding the line below
    in mbed_app.json:
    "target.extra_labels_remove": ["NU_PREBUILD_SECURE"]
2019-09-19 11:23:52 +01:00
Chun-Chieh Li f7c7c73bc2 M2351: Rename non-PSA target name to NU_PFM_M2351_NPSA_S/NS
1.  Create a private target name NU_PFM_M2351_CM which stands for the
    NuMaker-PFM-M2351 board and is to be extended.
2.  NU_PFM_M2351_NPSA_S/NS target names for non-PSA secure/non-secure targets
    respectively.
3.  The original target name NUMAKER_PFM_M2351 is recycled and cannot be used.
    Use NU_PFM_M2351_S/NS for non-PSA secure/non-secure targets instead.

NOTE:   Target name doesn't follow the rule below because online database has
        limit of max 20 chars:

        NUMAKER_PFM_M2351_PSA/NOPSA_S/NS

        Instead, it has the rule:

        NU_PFM_M2351_[NPSA_]S/NS

        NU_PFM_M2351_S/NS for PSA targets. This is to be consistent with current
        PSA target naming. So the resolved target names are:

        NU_PFM_M2351_S          : PSA secure target
        NU_PFM_M2351_NS         : PSA non-secure target
        NU_PFM_M2351_NPSA_S     : Non-PSA secure target
        NU_PFM_M2351_NPSA_NS    : Non-PSA non-secure target
2019-09-19 11:23:52 +01:00
Chun-Chieh Li ab742b05c9 M2351: Remove pre-built non-PSA secure image temporarily
This will add back immediately after target renaming is done.
2019-09-19 11:23:52 +01:00
Mahesh Mahadevan fc13550647 MCUXpresso: Update the MXRT Serial driver for MBED_TICKLESS
We should not block in case the UART is busy transmitting. The
API has been updated to check the status of all UART's and return
1 in case any of them is busy transmitting.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-09-12 17:18:37 +01:00
Mahesh Mahadevan 71710318f7 MCUXpresso: Change the MXRT deep sleep implementation
The code checks if any of the UART's is still transmitting.
If so then prevent from entering deepsleep

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-09-12 17:18:37 +01:00
Mahesh Mahadevan 0206f48e04 MCUXpresso: Update the Kinetis Serial driver for MBED_TICKLESS
We should not block in case the UART is busy transmitting. The
API has been updated to check the status of all UART's and return
1 in case any of them is busy transmitting.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-09-12 17:18:37 +01:00
Mahesh Mahadevan de6ce271bf MCUXpresso: Change the Kinetis deep sleep implementation
The code checks if any of the UART's is still transmitting.
If so then prevent from entering deepsleep

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-09-12 17:18:37 +01:00
Martin Kojtal 068a634f8f nrf52: fix removing additional config - was not there 2019-09-12 17:18:37 +01:00
Martin Kojtal c51d452de9 NRF52: fix config
remove lib config and use target configuration instead. To avoid duplication of symbols, etc.

Fixes #10655
2019-09-12 17:18:37 +01:00
Ryan Morse e0806c5626 Update PDL to latest 1.3 build
Updates to documentation and personalities. No functional code changes.
2019-09-12 17:18:37 +01:00
int_szyk c423602161 AStyle 2019-09-12 17:18:37 +01:00
int_szyk aeb15e9cce Fix problem with low level lp_ticker STM wrapper 2019-09-12 17:18:37 +01:00
adbridge 4640441900 "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2019-09-06 13:59:08 +01:00
adbridge c488b5ff57 "Update secure binaries for LPC55S69_S (ARMC6)" 2019-09-06 13:18:09 +01:00
jeromecoutant 55d60f3c25 Add USB support for DISCO_L4R9I 2019-09-03 16:43:05 +02:00
jeromecoutant fb8b503b1c STM32 targets: USBDEVICE support 2019-09-03 14:24:34 +02:00
jeromecoutant 425d63856c STM32L4 USB: remove EndpointAbort support 2019-09-03 14:23:05 +02:00
Martin Kojtal e001216b55
Merge pull request #11315 from Patater/psa-crypto-api-1.0b3
Update Mbed OS for PSA Crypto API 1.0b3
2019-09-03 09:20:15 +02:00
Jaeden Amero a848cd6987 psa: Update LPC55S69 and MUSCA_A1 TF-M binaries
Rebuild the TF-M binaries for the LPC55S69 and MUSCA_A1 using the latest
service updates. This allows the boards to use the PSA Crypto API 1.0b3.
2019-09-02 17:11:00 +01:00
Martin Kojtal 940d3fdf60
Merge pull request #11291 from LMESTM/STM32_OSPI_QSPI_fallback_support
Stm32 ospi qspi fallback support
2019-09-02 12:26:55 +02:00
Roman Okhrimenko 9780c9018e Disabled QSPI for now 2019-08-30 16:00:09 +03:00
Roman Okhrimenko c249bf97c2 Updated target files structure to align with the following BSP PR. 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 515555e7ba Removed scripts for provisiongs from repository, made fixes per PR comments, adjusted Readme.md 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 74e873a045 Updated README.md 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 74c5ea6517 Updated BSD license file content. 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 7e8d569261 Added example x.509 certificate for provisioning. 2019-08-30 15:10:19 +03:00
Roman Okhrimenko b8639a00ec Updated CyBootloader hexes. 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 9d4a697207 Updated linker scripts and startup file for ARM - fixes tests-mbedmicro-rtos-mbed-heap_and_stack failure on ARM compiler. 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 4db392c2f6 Updated licenses in files, mentioned in commnets to https://github.com/ARMmbed/mbed-os/pull/11046 2019-08-30 15:10:18 +03:00
Roman Okhrimenko b15d54f5bf Fixed IAR linker script. 2019-08-30 15:10:18 +03:00
Roman Okhrimenko ed9995e06c PSOC6_SB: Initial commit to add CY8CPROTO_064_SB to mbed-os sources. 2019-08-30 15:10:18 +03:00
Martin Kojtal 1c32e3ca5a
Merge pull request #11353 from kyle-cypress/pr/psoc-reserved-resources
Add reserved resources metadata to Cypress BSPs
2019-08-30 12:47:42 +02:00
Martin Kojtal 335f3ad7ea
Merge pull request #11355 from kyle-cypress/pr/psoc-serial-flash
Initial support for Serial Flash on PSoC Devices
2019-08-30 12:42:59 +02:00
Martin Kojtal 68054861e8
Merge pull request #11354 from kyle-cypress/pr/pdl-linker-script
Update linker scripts based on latest PDL 1.3
2019-08-30 07:10:32 +02:00
Ryan Morse d373cab5ab Initialize serial flash on device startup 2019-08-29 14:09:21 -07:00
Ryan Morse ee944cf850 Add serial flash implementation for PSoC 6 2019-08-29 14:08:56 -07:00
Martin Kojtal a65ed8c3d8
Merge pull request #11303 from jeromecoutant/PR_H743ZI2_480
NUCLEO_H743ZI2 : increase system clock from 400 MHz to 480 MHz
2019-08-29 17:10:06 +02:00
Hennadiy Kytsun bf00ebe409 Remove rom start/size macros when bootloader=true
Allow the application to specify this depending on whether/how
it is using the bootloader and whether it requires a CM0+ image.
2019-08-29 07:15:56 -07:00
Ryan Morse aaf641062c Update linker scripts based on latest PDL 1.3 2019-08-29 07:15:56 -07:00
jeromecoutant bb1388be8e NUCLEO_L4R5ZI: add QSPI_x definition 2019-08-29 14:17:33 +02:00
Martin Kojtal 8ef742a49c
Merge pull request #11370 from u-blox/ublox_odin_driver_os_5_v3.7.1_rc1
Driver Updates + ARMC6 driver support + WIFI fixes
2019-08-29 13:35:06 +02:00
jeromecoutant f13072490c NUCLEO_L4R5ZI : add OSPI pins for QSPI 2019-08-29 12:11:28 +02:00
Laurent Meunier 8401c2ea31 STM32: Few fixes and tidy-up in qspi_api 2019-08-29 11:17:46 +02:00
jeromecoutant be78084a8b NUCLEO_H743ZI and NUCLEO_H743ZI2: clock configuration cleanup 2019-08-29 10:52:24 +02:00
Martin Kojtal 453122944c
Merge pull request #11366 from 0xc0170/dev_rollup
Rollup part 2 for 5.14
2019-08-29 09:28:49 +02:00
Martin Kojtal 27571bc2d7
Merge pull request #11309 from NXPmicro/Fix_Kinetis_Spi
MCUXpresso Kinetis SPI drive: Add a delay between CS assertion and first sclk edge
2019-08-29 08:49:49 +02:00
aqib-ublox 7f36fbc86e Driver Updates + ARMC6 driver support + wifi fixes 2019-08-29 11:33:29 +05:00
Kyle Kearney 095e8dfbd9 Remove WATCHDOG from TARGET_SEQUANA
This was added to TARGET_PSOC6 which TARGET_SEQUANA inherits from,
but TARGET_SEQUANA doesn't implement WATCHDOG
2019-08-28 18:06:02 -07:00
Orest Akymyshyn 3898fed709 Update targets for Cypress Kits
Enable QSPI and Watchdog
Define additional macros to enable more generic BSP code
Allow deep sleep latency to be set by configurator-generated code
2019-08-28 10:56:15 -07:00
Ryan Morse 13f216d23d Fix LPA pin configuration for two Cypress Targets
Fixes are for CY8CKIT_062S2_43012 and CY8CPROTO_062_4343W
2019-08-28 10:56:15 -07:00