Commit Graph

522 Commits (master)

Author SHA1 Message Date
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
Roman Okhrimenko a8a2a0ee03 Update cypress psoc6cm0p library to 1.2.1.676, compatible with psoc6pdl 1.6.1.4886 2020-08-20 13:02:28 +03:00
Charley Chu ace81a8be7 psoc64: Update TF-M release image
Upgrade PDL to v1.6.1 to resolve #13440

Signed-off-by: Charley Chu <haoc@cypress.com>
2020-08-17 18:05:48 -07:00
Martin Kojtal 3ff5a3b560
Merge pull request #13418 from CharleyChu/topic/master_cytfm
Update PSoC64 TFM release package.
2020-08-14 11:24:58 +01:00
Martin Kojtal 9df8d33f49
Merge pull request #13386 from avptin/psoc6pdl-1.6.1
PSoC6: update to psoc6pdl-1.6.1
2020-08-13 17:32:39 +01:00
Charley Chu 4749e176d7 psoc64: Update TF-M release image
- Fix key derivation issue
- Update PSoC64 BSP
- Replace IPC semaphore spin-lock with IPC lock

Signed-off-by: Charley Chu <haoc@cypress.com>
2020-08-12 16:46:52 -07:00
Volodymyr Medvid 563e216cc8 PSOC6: update BSP startup code to match psoc6pdl-1.6.1 2020-08-12 04:33:29 +01:00
Dustin Crossman 6ba8885ad3 Update COMPONENT_SCL. 2020-08-10 17:02:35 -07:00
Dustin Crossman 0944d0e9b0 Update CYSBSYSKIT_01 bsp. 2020-08-10 16:59:04 -07:00
Raymond Ngun 1be0b1f297 CYTFM_064B0S2_4343W: Inital creation of PSA target
Target is similar to CY8CKIT_064B0S2_4343W but with PSA
and TFM enabled.

Signed-off-by: Raymond Ngun <raymond.ngun@cypress.com>
2020-08-07 08:02:01 -07:00
Oleksiy Peutin e95c64f798 PSoC6: update to psoc6pdl-1.6.1 2020-07-31 16:12:15 +01:00
Lingkai Dong 2b24a7a31e Update paths to cellular framework 2020-07-22 11:06:23 +01:00
Martin Kojtal ab84dcde03
Merge pull request #13198 from kyle-cypress/pr/whd-1.91.2
Cypress: Update WHD to version 1.91.2
2020-07-01 12:01:51 +02:00
Martin Kojtal 22e9925ca9
Merge pull request #13172 from yarbcy/pr/dev-mbed-init-fix
Cypress: Fix internal JIRA. Add check if cybsp_init() is successful
2020-07-01 10:25:11 +02:00
Kyle Kearney 4c95356f58 PSoC: Update WHD to v1.91.2 2020-06-26 10:03:08 -07:00
YARB(Cypress) 383b8f98de Fix internal JIRA. Add check if cybsp_init() is successful 2020-06-22 12:45:09 +03:00
Roman Okhrimenko 00cbc2d54e Update GeneratedSource of 064B0S2 with repo-starging 15347 revision 2020-06-19 16:16:55 +03:00
Roman Okhrimenko dcc3559a82 Update GeneratedSources for 064B0S2 - disable ALT systick due to changes in psoc6pdl-1.6.0.4266 2020-06-19 16:16:55 +03:00
Roman Okhrimenko 1bd215ba1a Update GeneratedSource files for 064B0S2 using psoc6pdl-1.6.0.4266-rc3 2020-06-19 16:16:55 +03:00
Roman Okhrimenko 611c95614d Update psoc6cm0p to 1.2.0.237-rc2 2020-06-19 16:16:55 +03:00
Roman Okhrimenko 7a862d2059 Update psoc6pdl to 1.6.0.4266-rc3 2020-06-19 16:16:55 +03:00
Roman Okhrimenko bcc8c2cdae Rename 064B0S2 linker scripts names per common pattern 2020-06-19 16:16:54 +03:00
Roman Okhrimenko 2a313c3ed7 Update prebuild Secure CM0p hex file from multi image case with 064B0S2 to 1.2.0.210 2020-06-19 16:16:54 +03:00
Roman Okhrimenko 4043deee7e Update linker scripts with templates from psoc6pdl 1.6.0.4172 for IAR and ARM for 064B0S2, add cm4_dual versions 2020-06-19 16:16:54 +03:00
Roman Okhrimenko 66f6e2a199 Update asset psoc6cm0p build 1.2.0.210 RC1 2020-06-19 16:16:54 +03:00
Roman Okhrimenko f99a1c49b9 Update GeneratedSource and system files for B0S2 using psoc6pdl 1.6.0.4172 RC2 2020-06-19 16:16:54 +03:00
Roman Okhrimenko aa3c81e749 Update psoc6pdl to .1.6.0.4172 RC2 2020-06-19 16:16:54 +03:00
Roman Okhrimenko 797bf090b9 Delete policies and linker files for multi image for B0S2 2020-06-19 16:16:53 +03:00
Roman Okhrimenko edcda5192a Delete ES10 related sb-tools folder from TARGET_PSOC6, post build now use cysecuretools 2020-06-19 16:16:47 +03:00
Roman Okhrimenko c97f140590 Delete ES10 target source CY8CKIT_064S2_4343W 2020-06-19 16:16:00 +03:00
Roman Okhrimenko 07bf595dce Delete ES10 target source CYESKIT_064B0S2_4343W 2020-06-19 16:15:45 +03:00
Roman Okhrimenko 64a3d26493 Delete ES10 target source CY8CPROTO_064_SB 2020-06-19 16:15:34 +03:00
Roman Okhrimenko 571e097d9f Add secure cm0 psoc6cm0p hex prebuild 1.2.0.174 file to 064B0S2 BSP 2020-06-19 16:13:59 +03:00
Roman Okhrimenko bdac29e93e Add 064B0S2 target BSP files using psoc6pdl 1.6.0.3875 2020-06-19 16:13:59 +03:00
Roman Okhrimenko 683e3631da Update psoc6cm0p to 1.2.0.174 2020-06-19 16:13:59 +03:00
Roman Okhrimenko 4700a726f8 Update psoc6pdl to 1.6.0.3875 2020-06-19 16:13:59 +03:00
Devaraj Ranganna 76e911c5ef psa: Replace Mbed PSA with TF-M
Add TF-M to Mbed OS, replacing the previous PSA implementation for
TF-M-capable targets. This commit adds files imported from TF-M, without
modification. The version of TF-M imported can be found in
`features/FEATURE_PSA/TARGET_TFM/VERSION.txt`.

These changes switch to TF-M as the sole PSA implementation for v8-M and
dual core targets, with TF-M running on the secure side and Mbed OS
running on the non-secure side. Single core v7-M targets will continue
to have PSA implemented via PSA emulation, implemented by Mbed OS.

Move or remove many PSA-implementing files, as PSA will be provided by
TF-M on non-single-v7-M targets. Delete any files that are not relevant
for PSA emulation mode.
 - Remove imported TF-M SPM
 - Remove Mbed SPM and tests
 - Remove Mbed-implemented PSA services and tests
 - Remove PSA_SRV_IMPL, PSA_SRV_IPC, PSA_SRV_EMUL and NSPE.
 - Replace PSA_SRV_EMUL and PSA_SRV_IMPL with MBED_PSA_SRV
 - Remove any files autogenerated by
   "tools/psa/generate_partition_code.py", which no longer exists.

Add new feature `PSA` to support PSA in Mbed OS.

Move the Mbed OS implementation of PSA services for v7-M targets (which
employ PSA emulation, and don't yet use TF-M) to
features/FEATURE_PSA/TARGET_MBED_PSA_SRV. Update the `requires`
attribute in TESTS/configs/baremetal.json to avoid breaking baremetal
testing builds.

Update .astyleignore to match new directory structure

Update Mbed TLS importer to place files into FEATURE_PSA

Create the following generic PSA targets:

* `PSA_Target` (Root level PSA generic target)
* `PSA_V7_M` (Single v7-M PSA generic target)
* `PSA_DUAL_CORE` (Dual-core PSA generic target)
* `PSA_V8_M` (v8-M PSA generic target)

Flatten MUSCA_NS and private MUSCA targets into public MUSCA targets.

Move mcuboot.bin to flat location (removing prebuilt folder)

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-06-18 12:16:20 +01:00
Jaeden Amero d314a6cc57 cypress: psoc64: Add TF-M compatibility (again)
Partially revert f38e21fa6c ("Update PSoC 6 BSPs to verion 1.2") to
restore TF-M compatibility.

Make the CY8CKIT_064S2_4343W target TF-M compatible by addding flash and
region definitions from TF-M (at c4f37c18c4a0) and by updating the
CY8CKIT_064S2_4343W linker script to create a flash image compatible
with TF-M.

Fixes: f38e21fa6c ("Update PSoC 6 BSPs to verion 1.2")

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-06-18 12:16:10 +01:00
Kyle Kearney 6a2d93ee94 Add optional post-bsp-init hook
This allows the application to inject its own resource reservations
immmediately after the BSP (and therefore HAL) is initialized,
ensuring that they can claim require resources before mbed tries
to use them for more flexible purposes. For example, the application
might want to claim a particular timer to make sure that it doesn't
get picked for us_ticker (which can use any arbitrary timer instance).
2020-06-16 11:07:34 -07:00
Kyle Kearney ab5eb07e3c Stop the us_ticker timer before deepsleep
A running timer will block DeepSleep, which would normally be
good because we don't want the timer to accidentally lose counts.
We don't care about that for us_ticker (If we're requesting deepsleep
the upper layers already determined that they are okay with that),
so explicitly stop the us_ticker timer before we go to sleep and
start it back up afterwards.
2020-06-16 11:07:34 -07:00
Volodymyr Medvid dc937ab53b Fix BOOT_HEADER_SIZE allocation in ARM scatter files (#13058)
PSoC 64 secure BSP post-build hook (cysecuretools image signing)
expects the HEX file with start address 0x10000400 (first KB of
internal FLASH is reserved for MCUboot headers area).
In order to get the correct HEX file produced by ARM fromELF tool,
the ELF file should allocate LR_IROM1 starting from address
0x10000400, not 0x10000000. Otherwise the generated HEX file
allocates rows at addresses 0x10000000 ~ 010000400 and the
final application image is not signed correctly.

Fixes https://github.com/ARMmbed/mbed-os/issues/13058.
2020-06-10 10:25:41 +03:00
Martin Kojtal 95a704ed92
Merge pull request #13045 from kyle-cypress/pr/pin-header-cyeskit
CYESKIT_064B0S2_4343W: Remove parentheses from arduino pins
2020-06-05 13:10:41 +02:00
Martin Kojtal e0c7f25c5d
Merge pull request #12985 from dustin-crossman/pr/update_cysbsyskit_01
Update CYSBSYSKIT_01
2020-06-04 14:35:31 +02:00
Kyle Kearney 7ad94db586 CYESKIT_064B0S2_4343W: Remove parentheses from arduino pins
Avoid build failures when arduino pin names collide with C++ template
argument names.
Addresses issue #13027
2020-05-29 17:17:05 -07:00
Dustin Crossman 96052c3347 Update CYSBSYSKIT_01 board init 2020-05-15 15:52:44 -07:00
Dustin Crossman a4c64481ea Update COMPONENT_SCL to version 1.0.0 2020-05-15 15:52:09 -07:00
Kyle Kearney 0fa5e32c95 Update psoc6pdl to v1.5.2 2020-05-15 11:50:18 +01:00
Martin Kojtal 35c674758a
Merge pull request #12943 from kyle-cypress/pr/asset-update-ww2019
Cypress: Update assets to latest
2020-05-12 14:30:51 +02:00
Kyle Kearney d22e32b100 Update WHD to v1.90.2 2020-05-07 10:08:50 -07:00
Kyle Kearney 9d0eb2f350 Update psoc6pdl to v1.5.1 2020-05-07 10:08:50 -07:00
Kyle Kearney ac8e8229a8 Update whd-bsp-integration to v1.0.1 2020-05-07 10:08:50 -07:00
Kyle Kearney c87682167b Update psoc6cm0p to v1.1.2 2020-05-07 10:08:50 -07:00
Kyle Kearney 3fd4441d8f Update abstraction-rtos to v1.2.1 2020-05-07 10:08:50 -07:00
Kyle Kearney bff67a931f Update PSoC 6 HAL to v1.2.1 2020-05-07 10:08:50 -07:00
Kyle Kearney f38e21fa6c Update PSoC 6 BSPs to verion 1.2 2020-05-07 10:08:50 -07:00
Kyle Kearney 6afa8fd35d Add udb-sdio-whd version 1.0.0 2020-05-07 10:08:50 -07:00
Kyle Kearney 250ca363a3 Update core-lib to v1.1.2 2020-05-07 10:08:50 -07:00
Kyle Kearney d058586c48 Remove CYW943012P6EVB_01 target 2020-04-30 11:12:00 -07:00
Kyle Kearney 96f9915fa0 Remove CY8CPROTO_063_BLE target 2020-04-30 11:12:00 -07:00
Kyle Kearney af39f0512a Cypress: Fix non-compliant ADC range
The ADC range was previously 0-VBGR*2 (0 - 2.4 V). Change the reference
so that the ADC range is 0 - VDDA, to bring it in line with the documented
behavior of the mbed hal.
2020-04-30 11:12:00 -07:00
Martin Kojtal 6111b8dfcc
Merge pull request #12828 from dustin-crossman/pr/update-cysbsyskit_01
Update CYSBSYSKIT_01
2020-04-21 10:13:38 +02:00
Martin Kojtal aec6303437
Merge pull request #12787 from kyle-cypress/pr/cyeskit-064b0s2-4343w
Cypress: Add CYESKIT-064B0S2-4343W
2020-04-21 10:08:40 +02:00
Dustin Crossman d9655da2e8 Update COMPONENT_SCL 2020-04-17 13:13:18 -07:00
Dustin Crossman 2148fa5ab9 Update CYSBSYSKIT_01 BSP 2020-04-17 13:13:18 -07:00
Martin Kojtal a79d3ce18d
Merge pull request #12271 from jainvikas8/jae-feature-twincpu-6-mbed-os-integration
Make cypress psoc64 TFM ready and also add TF-M initialization
2020-04-17 15:48:58 +02:00
Kyle Kearney 76a14f2ff4 Cypress: Fix unitialized memory in spi_master_write
'received' was declared as an int but populated by cyhal_spi_transfer
after being cast to to (uint8_t *), which left the upper 3 bytes
uninitialized. Instead, declare as uint8_t and let the compiler upcast
the value when it is returned.
2020-04-16 16:54:12 -07:00
Jaeden Amero 07a84ec10a psa: Remove MBED_SPM code
All MBED_SPM targets have been removed previously, via commits
5cc66282dd ("PSOC6: remove PSA targets") and 115b09aba43b ("psoc6:
Remove FUTURE_SEQUANA and FUTURE_SEQUANA_M0"). Remove all the dead
MBED_SPM code, as no targets use it.

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-16 14:10:54 +01:00
Jaeden Amero 47b359974f psoc6: Remove FUTURE_SEQUANA and FUTURE_SEQUANA_M0
FUTURE_SEQUANA targets are no longer supported. Remove the target from
Mbed.

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-16 14:10:51 +01:00
Sree Harsha Angara b77a5b331c Removed NVRAM references to CY8CKTI_064B0S2_4343W Kit 2020-04-08 11:32:27 -07:00
Sree Harsha Angara 63b93ff696 Removing ES100 references and CY8CKIT_064B0S2_4343W 2020-04-08 11:28:58 -07:00
Sree Harsha Angara 118b4b3df1 Fixing clock for greentea cordio test 2020-04-07 14:43:29 -07:00
Sree Harsha Angara 3b6020c1be Updating BSP files for CYESKIT_064B0S2_4343W 2020-04-06 17:12:23 -07:00
Roman Okhrimenko 70c9142647 Add wifi_nvram_image for TARGET_CYESKIT_064B0S2_4343W 2020-04-05 13:52:27 +03:00
Roman Okhrimenko 69d0721e30 Add BSP for CYESKIT_064B0S2_4343W 2020-04-05 13:52:27 +03:00
Roman Okhrimenko d3813a318a Add latest prebuild hex file 2020-04-05 13:52:27 +03:00
Roman Okhrimenko c4e8f8d816 Comment out init_cycfg_system() to avoid HardFault before Secure Driver arrive 2020-04-05 13:52:27 +03:00
Roman Okhrimenko 89531b9163 Add essential file for peripheral pins definition 2020-04-05 13:52:27 +03:00
Roman Okhrimenko f2a3954d6e Update slot start address in linker scripts according to default multi image policy 2020-04-05 13:52:27 +03:00
Roman Okhrimenko 57d141d005 Update pre build hex with Release version, generated by CI 2020-04-05 13:52:27 +03:00
Roman Okhrimenko 5267ec3375 Add prebuilded hex file for secure cm0p application 2020-04-05 13:52:26 +03:00
Roman Okhrimenko a17bed366a Change policy to multi image, as one supported for es100 2020-04-05 13:52:26 +03:00
Dustin Crossman e873669b04 Added policy file and removed old secure tools config file. 2020-04-05 13:52:26 +03:00
Dustin Crossman f8c1c446f1 Add nvram image for CY8CKIT_064B0S2_4343W 2020-04-05 13:52:26 +03:00
Dustin Crossman b6c4fc6d23 Add CY8CKIT_064B0S2_4343W board. 2020-04-05 13:52:26 +03:00
Jaeden Amero c447278727 cypress: psoc64: Add TF-M compatibility
Make the CY8CKIT_064S2_4343W target TF-M compatible by addding flash and
region definitions from TF-M (at c4f37c18c4a0) and by updating the
CY8CKIT_064S2_4343W linker script to create a flash image compatible
with TF-M.

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-03 15:48:58 +01:00
Devaraj Ranganna cc8cc5903a cypress: psoc64: Reserve timer channels used by TF-M
There are two timers, Timer0 and Timer1, available on the PSoC64. Timer0
has 8 channels and Timer1 has 24 channels. TF-M regression tests make
use of Timer0 Channel 0 and Timer0 Channel 1. Therefore, reserve the
timer channels used by TF-M. This approach can be replaced once we have
a way to allocate dedicated timers for TF-M and Mbed OS.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
2020-04-03 15:48:58 +01:00
Dustin Crossman 56099951b5 Ran astyle on COMPONENT_SCL. 2020-03-26 11:50:58 -07:00
Dustin Crossman 89c70fbd9a Fix licenses in COMPONENT_SCL. 2020-03-16 09:40:34 -07:00
Dustin Crossman 539b78fae0 CYSBSYSKIT_01 targets.json and bsp update. 2020-03-10 09:52:52 -07:00
Dustin Crossman 05776d6f88 Update COMPONENT_SCL. 2020-03-09 10:07:12 -07:00
Dustin Crossman 6b6db89434 Improve documentation. 2020-03-09 10:07:12 -07:00
Dustin Crossman 0fe5efc4a4 Added checks for configuration parameters 2020-03-09 10:07:12 -07:00
Dustin Crossman e754510cce Add COMPONENT_SCL. 2020-03-09 10:07:11 -07:00
Dustin Crossman 684d6dab4c Add CYSBSYSKIT_01 bsp. 2020-03-09 10:07:11 -07:00
Martin Kojtal 98db25537a
Merge pull request #12440 from dustin-crossman/pr/reset_reason
Implement reset_reason api for cypress targets
2020-02-25 15:24:54 +00:00
Martin Kojtal 1629103fb1
Merge pull request #12421 from dustin-crossman/pr/cy_targets_reorganization
Cypress Targets Reorganization
2020-02-24 16:25:08 +00:00
midd 6baafdaf81 Update psoc6cm0p asset to version 1.1.1. This version is built with PSoC 6 Peripheral Driver Library (PDL) 1.4.1 2020-02-21 10:52:33 -08:00
Dustin Crossman 404dacc9ea Implemented reset reason api. 2020-02-21 09:48:26 -08:00
Martin Kojtal 3662759a0e
Merge pull request #12438 from hugueskamba/hk-fix-baremetal-cy9cproto
Fix CY8CPROTO_062_4343W baremetal build
2020-02-20 12:50:29 +00:00
Hugues Kamba 18193abdb5 Fix CY8CPROTO_062_4343W baremetal build
Make a Mbed library with Cypress WHD files so it is automatically excluded
when building with the bare metal profile. Create another Mbed library to
group network files that use WHD so they can also be excluded fro the bare
metal profile.
2020-02-16 13:02:36 +00:00
Dustin Crossman 563edb294d Store RTC century and RTC state information in persistent BREG register. 2020-02-12 15:05:26 -08:00
Dustin Crossman 3fdb820b26 Update psoc6hal to 1.1.1.11145. 2020-02-12 15:05:16 -08:00
Dustin Crossman a8331c28ce Update psoc6 core_lib to version 1.1.1.11109. 2020-02-12 15:05:05 -08:00
Dustin Crossman 5bd02f866e Update psoc6pdl to version 1.4.1.2240 2020-02-12 15:04:46 -08:00
Dustin Crossman 84c9303ea0 Remove CY8CMOD_062S3_4343W and merge into CY8CPROTO_062S3_4343W. 2020-02-10 12:04:59 -08:00
Dustin Crossman 0f0c79d2ed Remove CY8CMOD_062S2_43012 and merge into CY8CKIT_062S2_43012. 2020-02-10 12:03:13 -08:00
Dustin Crossman f4731715df Remove CY8CMOD_062_4343W and merge into CY8CPROTO_062_4343W. 2020-02-10 12:01:51 -08:00
midd df5ac6483b Added a multiplied by 2 in the SDIO clock divider calculation to account for internal UDB divider.
Note: Fixes issues with intermittent WiFi firmware load failures on CY8CKIT_062_WIFI_BT, CYW943012P6EVB_01, CYW9P62S1_43012EVB_01, CYW9P62S1_43438EVB_01.
2020-02-07 10:25:24 -08:00
midd 3dbfed058e Update psoc6cm0p asset to 1.1.0 2020-02-05 12:40:17 -08:00
Dustin Crossman b204dfd943 Fix inconsistency between mbed crc and psoc6 crc implementations. 2020-01-24 18:23:25 +00:00
YARB(Cypress) c53d2f1198 Addressed comments 2020-01-13 14:46:32 +02:00
YARB(Cypress) 3425b8e1fc Cypress: Initial commit of SoftAP host tests 2020-01-10 19:58:40 +02:00
Martin Kojtal 83101170a3
Merge pull request #12167 from dustin-crossman/pr/cypress_target_update
Update Cypress Targets and Assets
2020-01-03 13:15:28 +00:00
Dustin Crossman f53e10e330 Update psoc6pdl to version 1.4.0 2020-01-02 10:04:45 -08:00
Dustin Crossman 6ef5fb19bd Update abstraction rtos with improved documentation and utilities. 2020-01-02 10:02:18 -08:00
Dustin Crossman 7649d92131 Update psoc6 core_lib with additional documentation and bit manipulation
utilities.
2020-01-02 09:58:26 -08:00
Dustin Crossman af5abae283 Updated cypress target code with latest configurator and PDL
library (1.4.0).
2020-01-02 09:49:29 -08:00
Martin Kojtal b8045fb29b
Merge pull request #12164 from shuopeng-deng/pr-dev/remove-hardcoded-timeout-in-cypress-bt-code
Pr dev/remove hardcoded timeout in cypress bt code
2020-01-02 12:52:51 +00:00
Shuopeng Deng 7e79623b39 Removed a hardcoded timeout in CyH4TransportDriver.cpp
Replaced a hardcoded timeout in CyH4TransportDriver.cpp with a cypress
hal function. The cypress PUTC hal API only blocks until data has been
send into the HW buffer, not until all data has been out of the HW
buffer. Modified an API to block untill all tx transmit is complete.
This allows the removal of a hardcoded timeout in
CyH4TransportDriver.cpp that waits for data int the HW buffer to be
sent.
2019-12-19 15:35:38 -08:00
Anna Bridge 4c68eaecd3
Merge pull request #12097 from shuopeng-deng/pr/fix-iar-warnings
cypress target: fix iar warnings
2019-12-17 16:26:05 +00:00
Anna Bridge 3ad3110888
Merge pull request #12019 from shuopeng-deng/pr/cypress-lptimer-hal-rework
Cypress: rework lptimer hal
2019-12-17 16:19:43 +00:00
Shuopeng Deng 6f3852dd59 fix 'enumerated type mixed with another type' IAR warnings 2019-12-12 17:05:11 -08:00
Shuopeng Deng 7817a228e9 fix 'statement is unreachable' IAR warning 2019-12-12 17:05:11 -08:00
YARB(Cypress) a79b1b3369 Fix for ARM issue 11859.
1. Clear UART events before enabling
2. Reset device before return from test case
2019-12-09 12:58:47 +02:00
Martin Kojtal 0e66678bf8
Merge pull request #12030 from miteshdedhia7/pr/whd_update_1.70
Updates the Cypress WiFi Host Driver to 1.7.0
2019-12-06 13:44:42 +01:00
midd 493d4af228 Remove extra resource file left over from the renaming from TARGET_WHD to COMPONENT_WHD 2019-12-05 10:38:16 -08:00
midd 26cc865fed Update WiFi Host Driver to 1.7.0
- Fixes issues with stopping AP in APSTA mode
2019-12-05 10:37:50 -08:00
YARB(Cypress) 91e97a17d7 Cypress: Remove qspi_frequency() call.
cy_qspi_frequency is not implemented.
This change is made because for compatibility
reason with upcoming cy_hal changes.
2019-12-05 16:12:14 +02:00
Kevin Bracey fe22bc023e Update HAL CRC API
* Change "is supported" check to be a macro, so it can be done at
  compile-time.
* Eliminate weird shift on 7-bit CRCs.
* Add support for 32-bit CRCs and reversals to TMPM3HQ.
2019-12-02 14:45:37 +02:00
Shuopeng Deng 823d50d6fd rework cypress lptimer hal
Changed set_match api to use an absolute ticks rather than delayed tick to match api name.
Added api set_delay to delay by a specific amount of ticks. Removed unused set_time api.
Simplified the logic for computing interrupts match value for cascading counters.
Fixed an issue when incorrect base time would be read when trying to set match values.
2019-11-27 12:20:37 -08:00
Martin Kojtal b0751bf507
Merge pull request #11946 from ARMmbed/revert-11559-crc
Revert "MbedCRC and CRC HAL revisions"
2019-11-27 11:07:13 +01:00
Martin Kojtal 5f7ecea00b
Revert "MbedCRC and CRC HAL revisions" 2019-11-26 13:45:37 +00:00
yarb 088da17146 Cypress: Minor fix for mbed astyle 2019-11-26 13:20:35 +02:00
Kyle Kearney c736afa3b0 Fix missing #include in wiced_resource.h
The `CY_PRAGMA` macro is used in certain build scenarios with IAR,
but it is not defined without including "cy_syslib.h"
2019-11-25 12:09:36 -08:00
Kyle Kearney ac8a8a6079 Add target for CY8CPROTO-062S3-4343W 2019-11-25 11:41:39 -08:00
Martin Kojtal a169edfdec
Merge pull request #11887 from kyle-cypress/pr/target-p62s1-43438
Add target for CYW9P62S1_43438EVB_01
2019-11-25 18:32:48 +01:00
Martin Kojtal 6b7720d971
Merge pull request #11884 from morser499/pr/target-update
Update Cypress targets
2019-11-23 18:46:07 +01:00
yarb b204acbe3a Cypress: FPGA: Improve SPI async calls
1. Fix for FPGA async test case.
2. Enabled events in proper place
3. Added check in async operation is in progress
2019-11-21 17:22:02 +02:00