Commit Graph

459 Commits (56c508b97475f6cf7933cc5e3bf3a1e3752ec468)

Author SHA1 Message Date
Hugues Kamba 21840a4e92 Cypress: Fix CYTFM_064B0S2_4343W CMake build
List missing CAT1A files.
2021-01-20 14:13:50 +00:00
Martin Kojtal 8effecdf29
Merge pull request #14063 from dustin-crossman/pr/wifi_reserved_region
Support arbitrary storage alongside WiFi firmware in external storage on Cypress targets
2021-01-20 08:34:23 +00:00
Dustin Crossman ef6284cad5 Added process to reinitialize qspi if qspi_init is called twice without free. 2021-01-14 12:59:01 -08:00
Dustin Crossman 95a5d60b65 Implement qspi_frequency for Cypress Mbed HAL. 2021-01-14 12:58:50 -08:00
Martin Kojtal 4e34abbbf1
Merge pull request #14062 from dustin-crossman/pr/dec_asset_update
Cypress Asset Update
2021-01-11 13:40:26 +00:00
Dustin Crossman 82c98618cd Ran astyle for mbed code format. 2021-01-05 13:51:52 -08:00
Dustin Crossman 782b23d626 Addressing review feedback. 2021-01-05 13:50:30 -08:00
Dustin Crossman b0b07477fd Add missing includes. 2021-01-05 12:54:56 -08:00
Dustin Crossman f3caf6a805 Add back nvram image for CYTFM board.
Add label so nvram image is found for 064B0S2 board.
2021-01-05 10:43:57 -08:00
Dustin Crossman 7a0e0d05d6 Fix mode of changed files. 2020-12-17 09:07:43 -08:00
Martin Kojtal 89bd565582
Merge pull request #13976 from LDong-Arm/cypress_sleep_debug_rework
PSoC 6: rework sleep overrides by Cypress's debug macro
2020-12-17 14:22:44 +00:00
Matthew Macovsky fc702737ce Create canonical CyReservedRegionBlockDevice for working with/around Cypress WiFi firmware in external memory
This change allows external memory to be used for other purposes while
the WiFi firmware is stored in it by interacting with it via the
reserved region block device.
2020-12-16 15:31:00 -08:00
Matthew Macovsky 95a85a52e8 Create block device for working around a reserved region
Given an underlying block device and the size of the reserved region, a
CyReservedRegionBlockDevice will act as the underlying block device but
operating only outside of the reserved region. It also allows reading
from the reserved region. The reserved region is assumed to start at
address 0 in the underlying block device.
2020-12-16 15:30:55 -08:00
Matthew Macovsky 71d6f8446c Change Cypress linker script region name from .cy_xip to cy_xip
In some toolchains, in order to use linker symbols referring to the
start and end of a region, the region name must not contain a '.'
character. These changes allow those symbols to be used for the cy_xip
region by renaming it. They also create explicit start and end symbols
for GCC.
2020-12-16 15:30:50 -08:00
Dustin Crossman 202a979a61 Update Cypress udb-sdio-whd to 1.1.1 2020-12-16 15:14:10 -08:00
Dustin Crossman d3e940d64f Fixup ticker api due to cyhal_timer_t changes. 2020-12-16 15:14:10 -08:00
Dustin Crossman 482a7f1234 Update Cypress abstraction-resource asset to 1.0.0.17634 2020-12-16 15:14:10 -08:00
Dustin Crossman 19e1b7e199 Update Cypress abstraction-rtos asset to 1.3.0.17634 2020-12-16 15:14:10 -08:00
Dustin Crossman 1f36bacb49 Update Cypress core-lib asset to 1.1.4.17634 2020-12-16 15:14:10 -08:00
Dustin Crossman 1b19534662 Update Cypress psoc6hal asset to 1.4.0.17634 2020-12-16 15:14:10 -08:00
Dustin Crossman 4ef34ccdb7 Update Cypress psoc6pdl asset to 2.0.0.6211 2020-12-16 15:14:10 -08:00
Dustin Crossman 5a3af0039f Update Cypress serial flash asset to 1.0.2.17634 2020-12-16 15:14:06 -08:00
Dustin Crossman ee7c7bda37 Update Cypress WHD asset to 1.1.0.19214 2020-12-16 15:14:06 -08:00
Dustin Crossman 9cd6dcabdc Update Cypress udb-sdio-whd to 1.1.0.19214 2020-12-16 15:14:05 -08:00
Martin Kojtal 65281b9db7
Merge pull request #13934 from hugueskamba/hk_cmake_add_cypress_targets
CMake: Add support for Cypress targets
2020-12-07 09:08:06 +00:00
Hugues Kamba efafbd5dc4 Add support for CYTFM_064B0S2_4343W 2020-12-01 15:16:36 +00:00
Hugues Kamba fafc5c33e7 Add support for CYW9P62S1_43438EVB_01 2020-12-01 15:16:35 +00:00
Hugues Kamba db6df682b5 Add support for CYW9P62S1_43012EVB_01 2020-12-01 15:16:35 +00:00
Hugues Kamba aa415e621d Add support for CYSBSYSKIT_01 2020-12-01 15:16:35 +00:00
Hugues Kamba 43b86ff083 Add support for CY8CPROTO_062_4343W 2020-12-01 15:16:35 +00:00
Hugues Kamba 06f2f34a0d Add support for CY8CPROTO_062S3_4343W 2020-12-01 15:16:35 +00:00
Hugues Kamba fb9b920f03 CMake: Add support for CY8CKIT_062_WIFI_BT 2020-12-01 15:16:35 +00:00
Hugues Kamba 36bcb0c04b CMake: Add support for CY8CKIT_062_BLE 2020-12-01 15:16:35 +00:00
Hugues Kamba d7b5307608 CMake: Add support for CY8CKIT_062S2_43012 2020-12-01 15:16:35 +00:00
Hugues Kamba be88fe2a21 CMake: Enable baremetal support for MCU_PSOC6 targets 2020-12-01 15:16:35 +00:00
Hugues Kamba b66439f39b CMake: Add support for CY8CKIT064B0S2_4343W 2020-12-01 15:16:35 +00:00
Lingkai Dong b1da3429df PSoC 6: enable/disable sleep modes based on CY_CFG_PWR_SYS_IDLE_MODE 2020-11-27 17:10:24 +00:00
Lingkai Dong 7f0c98d977 PSoC 6: remove debug sleep lock and hook from mbed_sdk_init 2020-11-27 17:10:24 +00:00
Hugues Kamba 9d32a473b6 Cypress: Remove CY8CKIT_064S2_4343W files
Mbed OS 6 does not support this target.
2020-11-19 11:00:43 +00:00
Lingkai Dong 810884b448 Add mbed_lib.json for PSOC6 SCL to exclude it from build metal build
SCL is for the Cypress Ethernet driver which is not currently
compatible with bare metal.
2020-11-06 10:08:24 +00:00
Lingkai Dong 7641f1cb3c CYTFM_064B0S2_4343W: use cytfm_flash only if TFM and PSA are present
This fixes bare metal builds
2020-11-06 10:08:12 +00:00
Martin Kojtal 61aa6817f0
Merge pull request #13724 from harmut01/license_refactor
Add license notice to Arm copyrighted source files
2020-10-16 09:09:53 +01:00
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Charley Chu 57f36264c5 psoc64: Update flash layout of CYTFM_064B0S2_4343W
Only report the flash region that can be accessed by none-secure CPU

Signed-off-by: Charley Chu <haoc@cypress.com>
2020-09-28 17:10:42 -07:00
Martin Kojtal 468372e759
Merge pull request #13492 from talorion/fix-PwmOut-resets-after-suspend
Fix pwm out resets after suspend
2020-09-10 12:40:18 +01:00
Jaeden Amero 612b148fd4 stack: armc: Workaround config passing bug
Workaround a bug where the boot stack size configuration option is not
passed on to armlink, the Arm Compiler's linker. Prefer
MBED_CONF_TARGET_BOOT_STACK_SIZE if present, as this is what the
configuration system should provide. Fall back to MBED_BOOT_STACK_SIZE
if MBED_CONF_TARGET_BOOT_STACK_SIZE is not defined, as in the case of
buggy tools. If both MBED_CONF_TARGET_BOOT_STACK_SIZE and
MBED_BOOT_STACK_SIZE are not defined, then we fall back to a hard-coded
value provided by the linkerscript. See
https://github.com/ARMmbed/mbed-os/issues/13474 for more information.
2020-09-10 10:08:38 +01:00
Jaeden Amero 39e69d328d Use boot stack size from config system
To allow overriding of the boot stack size from the Mbed configuration
system, consistently use MBED_CONF_TARGET_BOOT_STACK_SIZE rather than
MBED_BOOT_STACK_SIZE.

Fixes #10319
2020-09-10 10:08:38 +01:00
Roman Okhrimenko 877078003c Rename CY8CKIT_064B0S2_4343W to CY8CKIT064B0S2_4343W, which fits in 20 characters limit 2020-09-07 08:25:31 +03:00
talorion dc7aa873f0 pwmout - PSOC6 - add read methods for period and pulsewidth 2020-09-02 13:39:09 +02:00
Martin Kojtal 555c7dbe1a
Merge pull request #13416 from dustin-crossman/pr/cysbsyskit_update_6.2.0
Update CYSBSYSKIT_01
2020-08-26 07:14:46 +01:00