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
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
Martin Kojtal
ab7f602512
Merge pull request #11908 from yarbcy/pr/i2c-improvement3
...
I2C byte read/write transmition improvement
2019-11-21 12:21:59 +01:00
Martin Kojtal
9f4119e84b
Merge pull request #11885 from morser499/pr/whd1.60
...
Update to WHD 1.60 release
2019-11-21 10:57:14 +01:00
yarb
3d09a5a4f1
I2C byte read/write transmition improvement. Added CY_SCB_I2C_READ_XFER to clear CY_SCB_I2C_WRITE_XFER status in i2c_byte_write() API.
2019-11-21 11:41:40 +02:00
midd
4b4380a9ea
Added support for CYW9P62S1_43438EVB_01 board
2019-11-19 18:02:17 -08:00
Ryan Morse
33695b3e2c
Remove unnecessary peripherals from design files and regenerate source
2019-11-19 07:59:43 -08:00
Ryan Morse
85ee14b0fc
Fixup some documentation issues in SDIO_HOST driver
2019-11-19 07:59:42 -08:00
Ryan Morse
ea1f164814
Update board startup code to allow for not initializing the HAL
2019-11-19 07:59:42 -08:00
Ryan Morse
0b21a6940b
Add CM0+ startup code to each target
2019-11-19 07:59:42 -08:00
Ryan Morse
7fd78bc988
Standardize target pin defines in cybsp_types.h. Make PinNames.h/PeripheralNames.h use standard defines
2019-11-19 07:46:27 -08:00
Ryan Morse
38719908d1
Minor cleanup to target independent code
2019-11-19 07:30:15 -08:00
Ryan Morse
722a6eb27c
Sync to WHD 1.60 release
2019-11-15 11:42:17 -08:00
Przemyslaw Stekiel
48b02af144
Fix for Cypress GPIO driver
2019-11-15 10:10:29 +01:00
Kevin Bracey
1f94428a56
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-11-13 14:31:49 +02:00
Martin Kojtal
609612c1f2
Merge pull request #11840 from morser499/pr/whd1.50
...
Update Cypress WifiHostDriver to version 1.50
2019-11-12 13:56:35 +01:00
Ryan Morse
977cf05473
Update WHD to v1.50
2019-11-11 15:12:03 -08:00
Ryan Morse
799146ba2f
Move WHD from being a Target to being a Component
2019-11-11 15:12:02 -08:00
yarb
e5d31c85d1
Cypress: Add implementation of free() for gpio i2c analogin: #11830
2019-11-07 11:01:16 +02:00
yarb
fe91262535
Fix ARM issue 11795: - Cypress: SPI FPGA test: tester always respond 0 when MODE other then 0 (CY MR 1202)
2019-11-05 11:32:30 +02:00
Martin Kojtal
db0df6b640
Merge pull request #11800 from morser499/pr/mbed-overrides
...
Update common Cypress libraries
2019-11-05 10:06:59 +01:00
Ryan Morse
30980035d9
Update common libraries
...
Updated Serial Flash interface & Network buffer classes to avoid warnings and improve robustness. Fixed issue with mbed_overrides trying to use an old implementation of cy_serial_flash_init() function.
2019-11-04 07:43:22 -08:00
Martin Kojtal
aba8f42600
Merge pull request #11776 from mprse/issue_11769_cypress_pwm_fix
...
Fix for issue #11769 (Cypress: PWM FPGA test wrong assert)
2019-10-31 17:08:06 +01:00
Martin Kojtal
724dfd554a
Merge pull request #11770 from morser499/pr/cm0-images
...
Update CM0P pre-built images to build 1.0.0.35
2019-10-31 14:40:40 +01:00
Martin Kojtal
eea83007be
Merge pull request #11203 from Tharazi97/Watchdog_lower_limit_timeout_test
...
Add watchdog lower limit timeout test
2019-10-31 14:25:52 +01:00
Martin Kojtal
50abaa6eb7
Merge pull request #11697 from hugueskamba/hk-fix-lock-deep-sleep-usb-cypress
...
USB-Cypress: Lock sleep when USB is initialized
2019-10-31 14:15:35 +01:00
Ryan Morse
b5d2eec1b9
Update CM0P pre-built images to release 1.0.0.35
2019-10-30 09:32:37 -07:00
Przemyslaw Stekiel
b35a6797d0
Fix for issue #11769 (Cypress: PWM FPGA test wrong assert)
...
Implementation of pwmout_read() is not consistent with the requirements.
This function should return the current float-point output duty-cycle in range <0.0f, 1.0f>.
Currently it returns decimal percentage value.
2019-10-30 15:26:56 +01:00
yarb
50b0847003
Cypress: fix gpio mode none
2019-10-30 12:03:53 +02:00
Martin Kojtal
87b150a1fe
Merge pull request #11715 from miteshdedhia7/pr/target-cyw9p62s1-43012
...
Add CYW9P62S1_43012EVB_01 board
2019-10-29 10:29:10 +01:00
Martin Kojtal
8637069b36
Merge pull request #11698 from kjbracey-arm/armstack
...
Clean up ARM toolchain heap+stack setup in targets
2019-10-24 11:37:11 +02:00
Kevin Bracey
fb6aa3ef4f
Clean up ARM toolchain heap+stack setup in targets
...
ARM Compiler 6.13 testing revealed linker errors pointing out
conflicting use of `__user_setup_stackheap` and
`__user_initial_stackheap` in some targets. Remove the unwanted
`__user_initial_stackheap` from the targets - the setup is
centralised in the common platform code.
Looking into this, a number of other issues were highlighted
* Almost all targets had `__initial_sp` hardcoded in assembler,
rather than getting it from the scatter file. This was behind
issue #11313 . Fix this generally.
* A few targets' `__initial_sp` values did not match the scatter
file layout, in some cases meaning they were overlapping heap
space. They now all use the area reserved in the scatter file.
If any problems are seen, then there is an error in the
scatter file.
* A number of targets were reserving unneeded space for heap and
stack in their startup assembler, on top of the space reserved in
the scatter file, so wasting a few K. A couple were using that
space for the stack, rather than the space in the scatter file.
To clarify expected behaviour:
* Each scatter file contains empty regions `ARM_LIB_HEAP` and
`ARM_LIB_STACK` to reserve space. `ARM_LIB_STACK` is sized
by the macro `MBED_BOOT_STACK_SIZE`, which is set by the tools.
`ARM_LIB_HEAP` is generally the space left over after static
RAM and stack.
* The address of the end of `ARM_LIB_STACK` is written into the
vector table and on reset the CPU sets MSP to that address.
* The common platform code in Mbed OS provides `__user_setup_stackheap`
for the ARM library. The ARM library calls this during startup, and
it calls `__mbed_user_setup_stackheap`.
* The default weak definition of `__mbed_user_setup_stackheap` does not
modify SP, so we remain on the boot stack, and the heap is set to
the region described by `ARM_LIB_HEAP`. If `ARM_LIB_HEAP` doesn't
exist, then the heap is the space from the end of the used data in
`RW_IRAM1` to the start of `ARM_LIB_STACK`.
* Targets can override `__mbed_user_setup_stackheap` if they want.
Currently only Renesas (ARMv7-A class) devices do.
* If microlib is in use, then it doesn't call `__user_setup_stackheap`.
Instead it just finds and uses `ARM_LIB_STACK` and `ARM_LIB_HEAP`
itself.
2019-10-23 14:53:49 +03:00
Martin Kojtal
83207aef73
Merge pull request #11690 from shuopeng-deng/pr/port-api-changed-to-match-pin-api
...
Changed mbed gpio-port api to match gpio api
2019-10-22 09:44:35 +02:00
Ryan Morse
ecdbdc03dd
Added CYW9P62S1_43012EVB_01 board
...
Notes:
- CRC and TRNG are disabled on this board since the MCU on this board does not have the required hardware.
- QSPI and QSPIF are temporarily removed due to issues related to supporting the new S25FS512S flash chip we have on this board. These will be enabled as soon as we can get the issues resolved.
https://github.com/ARMmbed/mbed-os/issues/11722
2019-10-21 15:36:44 -07:00
Martin Kojtal
278f05bfb9
cy port api: fix styling
2019-10-21 14:58:04 +01:00
Martin Kojtal
9c82706e6f
Merge pull request #11434 from romanjoe/pr/cy8ckit_064s2_4343w
...
Initial addition of files to support CY8CKIT_064S2_4343W target
2019-10-18 14:51:59 +02:00
Hugues Kamba
7e0b56fa0c
USB-Cypress: Lock sleep when USB is initialized
...
None of the USB drivers currently support entering deep sleep mode
while USB is active. To protect USB from malfunctioning lock deep
sleep in USBPhyHw::init.This is done for similar
This was done for all other implementations as part of
https://github.com/ARMmbed/mbed-os/commit/8ffbe5c6033
2019-10-17 13:12:58 +01:00
Martin Kojtal
8c860524fb
Merge pull request #11646 from kyle-cypress/pr/bt-wake-swap
...
Fix swapped BT pins on CYW943012P6EVB-01
2019-10-16 19:13:18 +08:00
Shuopeng Deng
24991a4577
Changed mbed gpio-port api to match gpio api
...
The port configuration api was not correctly setting the port-pins'
direction. Changed the port driver to call the gpio driver for
configuration (read and write still are optimized for port-level
operations) so that the behavior is consistent.
2019-10-15 11:43:00 -07:00
Roman Okhrimenko
27f9cf85de
Added specific policy file for 2M device to expand slot sizes
2019-10-15 16:07:56 +03:00
Martin Kojtal
e8804cd574
Merge pull request #11668 from morser499/pr/whd_1.40
...
Update Cypress WiFi driver code to version 1.40
2019-10-15 13:13:17 +08:00
Martin Kojtal
89c08f5865
Merge pull request #11669 from morser499/pr/rtos-abstraction
...
Fixed issue with integer overflow when converting time units
2019-10-15 13:09:37 +08:00
Martin Kojtal
a806237226
Merge pull request #11660 from shuopeng-deng/pr/spi-transfer-fix
...
Fix dropped bytes on spi write
2019-10-15 13:08:32 +08:00
Shuopeng Deng
9f03a1ce24
fixed spi_master_write to support transfer of 8+ bits
...
remove an unnecessary cast
2019-10-14 14:04:37 -07:00
Roman Okhrimenko
9b86b391b2
Initial addition of files to support CY8CKIT_064S2_4343W target
2019-10-11 19:28:17 +03:00
Anna Bridge
c094ad8095
Merge pull request #11561 from kyle-cypress/pr/target-063-ble
...
Add TARGET_CY8CPROTO_063_BLE
2019-10-11 14:39:29 +01:00
Anna Bridge
489c30f569
Merge pull request #11297 from kyle-cypress/pr/qspi-dummy-cycles
...
Differentiate alt and dummy cycles in QSPIF
2019-10-11 14:34:17 +01:00
Ryan Morse
f35328cfa0
Update WHD to v1.40
2019-10-10 12:08:50 -07:00
Ryan Morse
373580d4bd
Fixed issue with integer overflow when converting time units
2019-10-10 10:28:34 -07:00
Kyle Kearney
4619f92326
Fix swapped pins for CYW943012P6EVB-01 in cybsp_types
...
Fix the issue as 09f715c96e
in
cybsp_types.h as well.
2019-10-09 14:44:39 -07:00
Shuopeng Deng
1b141209eb
Fix dropped bytes on spi write
...
The cyhal_spi_send api was changed to read and discard a byte on every
send operation (at the protocol level all SPI transfers are bidirectional).
This means that to achieve a truly bidirectional transfer, the
cyhal_spi_transfer API must be called (as opposed to a write followed
by a read).
2019-10-08 16:37:31 -07:00
Kyle Kearney
09f715c96e
Fix swapped BT pins on CYW943012P6EVB-01
...
The BT_DEVICE_WAKE and BT_HOST_WAKE pins were swapped relative to
how the chips are wired up on the board.
2019-10-07 20:46:03 -07:00
Anna Bridge
f987fe0b32
Merge pull request #11542 from morser499/pr/target-update
...
Update Cypress targets
2019-10-07 16:44:59 +01:00
Matthew Macovsky
baf375f8cb
Allow for arbitrary QSPI alt sizes
...
The QSPI spec allows alt to be any size that is a multiple of the
number of data lines. For example, Micron's N25Q128A uses only a
single alt cycle for all read modes (1, 2, or 4 bits depending on
how many data lines are in use).
2019-09-30 14:45:08 -07:00
int_szyk
cb5311654c
Add watchdog clock accuracy to Cypress targets.
2019-09-30 08:10:24 +02:00
Ryan Morse
54d962a240
Moved TriggerMux initialization out of the HAL and into the BSP since that is what dictates what trigger muxes actually need to be used
2019-09-27 13:01:38 -07:00
Martin Kojtal
698e75f336
Merge pull request #11529 from vmedcy/pr/psoc6pdl-1.3.1
...
PSOC6: update to PDL 1.3.1
2019-09-26 12:24:06 +02:00
Kyle Kearney
1b21612afd
Add target for CY8CPROTO-063-BLE
2019-09-24 11:25:12 -07:00
Volodymyr Medvid
d199fa6bb4
PSOC6: update to PDL 1.3.1.1499
2019-09-24 17:43:23 +03:00
Kyle Kearney
f0fdee4a1c
Clean up BSP hardware configuration
...
- Improve block naming
- Remove unneeded items
2019-09-19 12:05:25 -07:00
Kyle Kearney
2831dfde1c
Update CY8CPROTO-064-SB linker scripts
...
Update linker scripts for the latest PDL to be consistent with other Cypress targets
2019-09-19 12:03:32 -07:00
Kyle Kearney
09182d1ed0
Refactor serial flash support
2019-09-19 12:01:29 -07:00
Kyle Kearney
70590006cb
Simplify BSP contents
...
Remove some (Cypress-proprietary) BSP interfaces and hardware initialization
from the BSPs which is better implemented by a library or application firmware.
Move some remaining functionality from common to the individual targets.
2019-09-19 12:00:13 -07:00
Kyle Kearney
4ec3ad1850
Consolidate/clean up wifi initialization
2019-09-19 11:51:15 -07:00
Kyle Kearney
d067952b6f
Avoid doubly allocating whd thread stack
...
Don't malloc during wifi initialization, as that could cause double allocation in some cases.
The thread stack will be allocated by cy_rtos_thread_start if necessary.
2019-09-19 11:05:05 -07:00
Volodymyr Medvid
2af2105aeb
PSOC6: update to PDL 1.3.1.1474
2019-09-19 10:40:44 +01:00
Kyle Kearney
8aa449c662
Improve psoc6csp doxygen comments
2019-09-18 12:13:34 -07:00
Kyle Kearney
a0b657295f
Reorganize resource and rtos abstraction files
...
- Move resource and rtos abstractions into their own folders
- Remove files for abstractions that are not implemented
2019-09-18 12:10:07 -07:00
Kyle Kearney
e8dc5f111c
Update to latest HAL
...
- Add const and static qualifiers in places where they are
applicable but missing
- Remove headers for drivers that aren't implemented yet
- Misc minor bugfixes
2019-09-18 12:07:08 -07:00
Kyle Kearney
1713e79ccf
Fix incorrect integer division in analogout_read
...
Replace with multiplication by the floating point reciprocal, to
produce a floating point result while being more efficient than
floating point division.
Addresses the issue raised by kjbracey-arm in
https://github.com/ARMmbed/mbed-os/pull/11324#pullrequestreview-282433989
2019-09-18 12:06:33 -07:00
Martin Kojtal
458523219a
Merge pull request #11006 from linlingao/pr10692
...
Introduce an Mbed config to enable XIP
2019-09-09 11:09:21 +02:00
Martin Kojtal
f06145db13
Merge pull request #11376 from kyle-cypress/pr/pdl-1.3-doc
...
Update PDL documentation and metadata
2019-09-05 13:30:28 +02:00
Lin Gao
67c6bdbf2d
removed xip unrelated changes
2019-09-03 16:14:38 -05:00
Lin Gao
f1813e5bcc
Remove keep keyword for .heap section
2019-09-03 13:22:47 -05:00
Lin Gao
b9f8e2ac53
Remove QSPI for Future targets
2019-09-03 13:22:43 -05:00
Lin Gao
2a78a9ba13
Refactored code to not use macro. Created config xip-enable
2019-09-03 11:54:14 -05:00
Lin Gao
ea032bebc4
Add XIP capability, enable QSPI. XIP can be enable by adding macro XIP_ENABLE in mbed_app.json. It's disabled by default.
2019-09-03 11:54:11 -05:00
Ryan Morse
b140b7011a
Update PDL to latest 1.3 build
...
Updates to documentation and personalities. No functional code changes.
2019-08-30 08:35:39 -07:00
Roman Okhrimenko
9780c9018e
Disabled QSPI for now
2019-08-30 16:00:09 +03:00
Roman Okhrimenko
c249bf97c2
Updated target files structure to align with the following BSP PR.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
515555e7ba
Removed scripts for provisiongs from repository, made fixes per PR comments, adjusted Readme.md
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
74e873a045
Updated README.md
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
74c5ea6517
Updated BSD license file content.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
7e8d569261
Added example x.509 certificate for provisioning.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
b8639a00ec
Updated CyBootloader hexes.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
9d4a697207
Updated linker scripts and startup file for ARM - fixes tests-mbedmicro-rtos-mbed-heap_and_stack failure on ARM compiler.
2019-08-30 15:10:19 +03:00
Roman Okhrimenko
4db392c2f6
Updated licenses in files, mentioned in commnets to https://github.com/ARMmbed/mbed-os/pull/11046
2019-08-30 15:10:18 +03:00
Roman Okhrimenko
b15d54f5bf
Fixed IAR linker script.
2019-08-30 15:10:18 +03:00
Roman Okhrimenko
ed9995e06c
PSOC6_SB: Initial commit to add CY8CPROTO_064_SB to mbed-os sources.
2019-08-30 15:10:18 +03:00
Martin Kojtal
1c32e3ca5a
Merge pull request #11353 from kyle-cypress/pr/psoc-reserved-resources
...
Add reserved resources metadata to Cypress BSPs
2019-08-30 12:47:42 +02:00
Martin Kojtal
335f3ad7ea
Merge pull request #11355 from kyle-cypress/pr/psoc-serial-flash
...
Initial support for Serial Flash on PSoC Devices
2019-08-30 12:42:59 +02:00
Ryan Morse
d373cab5ab
Initialize serial flash on device startup
2019-08-29 14:09:21 -07:00
Ryan Morse
ee944cf850
Add serial flash implementation for PSoC 6
2019-08-29 14:08:56 -07:00
Ryan Morse
aaf641062c
Update linker scripts based on latest PDL 1.3
2019-08-29 07:15:56 -07:00
Ryan Morse
13f216d23d
Fix LPA pin configuration for two Cypress Targets
...
Fixes are for CY8CKIT_062S2_43012 and CY8CPROTO_062_4343W
2019-08-28 10:56:15 -07:00
Kyle Kearney
e8f325fe33
Update device startup code and linker scripts
...
Only include the CM4 startup code and linker scripts with the target for each board.
2019-08-28 10:56:15 -07:00
Kyle Kearney
8c2dec1233
Update board hardware configuration
...
Include all configurator design files with each BSP
2019-08-28 10:56:15 -07:00
Kyle Kearney
166325ac37
Move nested targets up one level
...
For kit targets that inherit from a module, move the kit a top-level
target folder rather than nesting underneath the module folder, to
avoid too-long-path issues on Windows.
Note this only changes the folder layout, not the inheritance.
2019-08-28 10:56:14 -07:00
Kyle Kearney
317f720b11
Move BSP design.modus/GenSrc into its own component
...
Enables code examples/end user applications to override if necessary
Add BSP_DESIGN_MODUS component by default to all PSOC6 boards. Applications can remove this if necessary.
2019-08-28 10:56:14 -07:00
Kyle Kearney
236bf2c0c3
Initialize timer for us_ticker at startup
...
This avoids a stack overflow if sleep is called for the first time from
the idle thread (which by default has a fairly small stack, and which is
already fairly deep by the time it calls into the usticker adapter)
2019-08-28 10:56:14 -07:00
Kyle Kearney
ad6e833450
Enable SDIO DeepSleep Callback
2019-08-28 10:56:14 -07:00
Ryan Morse
0164ddcc80
Minor updates to BSP init for clarity
2019-08-28 10:56:14 -07:00
Kyle Kearney
85dd8d704b
Clean up unnecessary doxygen comments
...
Fix incorrect file names in a few headers
2019-08-28 10:56:14 -07:00
Kyle Kearney
d50145fd1d
Comment about resource reservations in BSP Init
2019-08-28 10:56:14 -07:00
Kyle Kearney
0a1e64dd00
Register Sysclk PM callback in BSP Init
2019-08-28 10:56:14 -07:00
Kyle Kearney
ced234607e
Clean up common BSP implementation
2019-08-28 10:56:14 -07:00
Kyle Kearney
e64fdba7fc
Update BSP and WifiInterface for WHD Changes
2019-08-28 10:56:14 -07:00
Kyle Kearney
5d819ebc81
Initialize wifi SDIO during BSP init
2019-08-28 10:56:14 -07:00
Kyle Kearney
d98fa7a569
Rename BSP header for easier moves between targets
2019-08-28 10:56:14 -07:00
Martin Kojtal
67d1bb180b
Merge pull request #11319 from kyle-cypress/pr/whd-1.30-update
...
Update WHD to 1.30.0
2019-08-28 16:11:24 +02:00
Martin Kojtal
ae247b5645
Merge pull request #11326 from kyle-cypress/pr/psoc6-pdl
...
Update PDL for Cypress Targets
2019-08-28 12:30:37 +02:00
Ryan Morse
c611e76297
Update WHD to latest 1.30 build
2019-08-27 17:16:44 -07:00