Commit Graph

25565 Commits (mbed-os-5.13)

Author SHA1 Message Date
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
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