Commit Graph

5295 Commits (mbed-os-5.13.1)

Author SHA1 Message Date
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
Martin Kojtal cd8ac1e132 Watchdog: refactor driver
Watchdog is hardware driver. It interacts with HAL - provides wrapper to interact with the peripheral.

Provides basic functionality: start/stop, get timeout/max timeout.
It is automatically kicked by a timer, according to the timeout set in ctor.
2019-07-11 11:55:20 +01:00
Rajkumar Kanagaraj 1ab851bacf Add HwWatchdog
- mbed_watchdog_mgr has interface name mbed_wdog_manager_start(),mbed_wdog_manager_stop(),mbed_wdog_manager_kick()
    - HwWatchdog is going to attach with LowPowerTIcker for periodic callback functionality
    - mbed_wdog_manager_start() will either get start either by BL/RTOS Aps,it reads the timeout value specified via macro and macro gets defined in target.json file.
    - mbed_wdog_manager_start() internally configure below HAL hw watchdog with timeout specified via target.json
    - mbed_wdog_manager_start() internally divide the timeout(specified in target.json) by the 2 and attach LowPowerTicker with periodic callback of hw_kick()
    - mbed_wdog_manager_start() internally create one instance of sw watchdog class,to access the static list data structure of sw watchdog class
    - mbed_wdog_manager_kick() function periodically get called and refresh the hw watchdog to avoid watchdog reset
    - converted C++ code into C based APIs
    - added boolean to control watchdog start and stop
    - Added detach from ticker on stop API
2019-07-11 11:55:13 +01:00
Filip Jagodzinski b850d70d75 Remove RESET_REASON from MCU_NRF52840 2019-07-11 11:55:13 +01:00
Rajkumar Kanagaraj fc5de6f128 Removed RESET_REASON for NRF51_DK board 2019-07-11 11:55:13 +01:00
Rajkumar Kanagaraj b2f03b2155 Added the SPDX identifier 2019-07-11 11:55:12 +01:00
Rajkumar Kanagaraj 361c787abc Trailing space issue fix 2019-07-11 11:55:12 +01:00
Rajkumar Kanagaraj 3f20350b04 fix for Jenkin build issue 2019-07-11 11:55:12 +01:00
Rajkumar Kanagaraj 7d941950d3 Removed RESET_REASON for NRF52832,NRF52840 family and Removed WATCHDOG for H743ZI board 2019-07-11 11:55:12 +01:00
Rajkumar Kanagaraj 6d501401f3 Revert "fix for build failure issues"
This reverts commit 3ce1d4940cb7fd9d74ca2be75ed08b76854ff534.
2019-07-11 11:55:12 +01:00
Rajkumar Kanagaraj ea26d27c84 fix for build failure issues 2019-07-11 11:55:12 +01:00
Rajkumar Kanagaraj 070537f2e9 update:Remove DEVICE_WATCHDOG and added RESET_RESON in stm32 family 2019-07-11 11:55:11 +01:00
Steve Cartmell 5b0259dbd1 fix(hal-watchdog): Guard TMPM 'ResetReason' code behind feature flag 2019-07-11 11:55:11 +01:00
Steve Cartmell da7bf6e8e7 fix(hal-watchdog): Add 'RESET_REASON' flags to supported devices 2019-07-11 11:55:11 +01:00
Steve Cartmell dcf11f01f0 fix(hal-watchdog): Remove 'RESET_REASON' flags from unsupported devices 2019-07-11 11:55:10 +01:00
Steve Cartmell b8f0815959 fix: Remove excess comma from device_has key in targets.json 2019-07-11 11:55:10 +01:00
Ganesh Ramachandran 83f16190b5 Added reset_reason feature for TMPM3HQ 2019-07-11 11:55:10 +01:00
Steve Cartmell e2538d931d fix(hal-watchdog): Add feature guards to K64F watchdog implementation 2019-07-11 11:55:09 +01:00
Ganesh Ramachandran a2db1f1989 Added reset_reason feature for TMPM3H6 & TMPM4G9 2019-07-11 11:55:09 +01:00