Commit Graph

25402 Commits (fe0f21abd9560c2b4a247f9030e0d710a10985bf)

Author SHA1 Message Date
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
Volodymyr Medvid 9c202ae03c PSOC6: remove PSA targets 2019-07-12 12:54:22 +03:00
Volodymyr Medvid 640ba86ee8 TARGET_CYW43XXX: Added Bluetooth firmware 2019-07-12 12:51:54 +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 84bac28d3c PSOC6: add WHD EMAC driver 2019-07-12 12:51:08 +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
Filip Jagodzinski de7896ba23 Watchdog: Fix astyle in doxy 2019-07-11 12:13:15 +01:00
Amanda Butler 27dff4aada Edit Watchdog.h
Edit file to address comments and for consistent tense and voice.
2019-07-11 12:13:02 +01:00
Filip Jagodzinski 223d6c4a9d Watchdog: Clean up the doxygen comments 2019-07-11 12:12:51 +01:00
Filip Jagodzinski 938dfff97e Fix doxygen_options.json for ResetReason
Add a missing DEVICE_RESET_REASON macro.
2019-07-11 12:11:22 +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 c1c132930d Watchdog: start without arg uses max timeout from a target 2019-07-11 11:55:30 +01:00
Martin Kojtal 8de11211d7 Watchdog: remove VirtualWatchdog
We will provide documentation how to create your own VirtualWatchdog. It's simple,
create timeout and watchdog objects.

This class brought lot of discussion and questions. After our refactor we made this class
just a linked list of objects - something tickers can do as well (they already have linked list) and handling hw should be
done via Watchdog due to the limitations (timeout can be set only once per app!).
2019-07-11 11:55:29 +01:00
Filip Jagodzinski 95f38c3383 Watchdog: Fix unittests
Compare get_timeout against the last timeout successfully set.
Merge most of the test cases into one. Do not rely on the tests
execution order.
Fix the watchdog_api_stub to keep timeout value set by init function.
2019-07-11 11:55:29 +01:00
Martin Kojtal 6850afc9b0 VirtualWatchdog: use timeout in ctor to set hw timeout
No config, neither additional parameter - the first instance of the class initalizes the peripheral.
2019-07-11 11:55:29 +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 66a195c19f VirtualWatchdog: provide hw timeout via ctor 2019-07-11 11:55:29 +01:00
Martin Kojtal b2da4a5722 VirtualWatchdog: add comment about exclusive access to Watchdog 2019-07-11 11:55:29 +01:00
Martin Kojtal 4310bd6b9e VirtualWatchdog: fix doxygen ingroup and ctor 2019-07-11 11:55:29 +01:00
Filip Jagodzinski a7178b3519 Test: Watchdog: Fix test_restart case
Watchdog::stop() is called in this test. If the target does not support
stopping the watchdog this case needs to be skipped.
Also improve handling ignored test cases.
2019-07-11 11:55:28 +01:00
Martin Kojtal a415e44875 Watchdog: add docs update about intention one vs multiple Watchdogs
VirtualWatchdog - multiple timers in the system - most used watchdog
Watchdog - simple driver for one system timer in the app - bootloader or similar
2019-07-11 11:55:28 +01:00
Martin Kojtal 1acd3d3db3 VirtualWatchdog: process fail test expects 0 as reset - no ticker running 2019-07-11 11:55:28 +01:00
Filip Jagodzinski fd92a22993 Test: Watchdog: Fix astyle errors 2019-07-11 11:55:28 +01:00
Filip Jagodzinski be6a26e0ef Test: WatchdogManager: Remove tests
This component no longer exists in Mbed OS.
2019-07-11 11:55:28 +01:00
Filip Jagodzinski bcffbb5c54 Watchdog: Fix timeout constraints
Update the start method to check 0 < timeout <= max_timeout.
2019-07-11 11:55:28 +01:00
Filip Jagodzinski 9c6cd2b669 Test: Watchdog: Add new driver tests 2019-07-11 11:55:28 +01:00
Filip Jagodzinski db52d0068e Fix more unittest errors 2019-07-11 11:55:27 +01:00
Martin Kojtal c9e26ec44b Watchdog: fix space in code example 2019-07-11 11:55:27 +01:00
Filip Jagodzinski 664c6ab82d Fix unittest errors 2019-07-11 11:55:27 +01:00