Kyle Kearney
1dc74090a7
Add target for CY8CPROTO-063-BLE
2019-10-16 11:58:32 +01:00
Matthew Macovsky
08a2709993
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-10-16 11:58:32 +01:00
Kyle Kearney
7dd86e8f48
Clean up BSP hardware configuration
...
- Improve block naming
- Remove unneeded items
2019-10-16 11:58:32 +01:00
Kyle Kearney
45b674623f
Update CY8CPROTO-064-SB linker scripts
...
Update linker scripts for the latest PDL to be consistent with other Cypress targets
2019-10-16 11:58:32 +01:00
Kyle Kearney
222443ea63
Refactor serial flash support
2019-10-16 11:58:32 +01:00
Kyle Kearney
85ba6ea4f3
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-10-16 11:53:52 +01:00
Kyle Kearney
91131a03f7
Consolidate/clean up wifi initialization
2019-10-16 11:53:52 +01:00
Kyle Kearney
8e6c6d1d8e
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-10-16 11:53:52 +01:00
Ryan Morse
c62c7135f9
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-10-16 11:53:52 +01:00
Volodymyr Medvid
0cb250ca04
PSOC6: update to PDL 1.3.1.1499
2019-10-16 11:53:52 +01:00
Volodymyr Medvid
8bed19a9d2
PSOC6: update to PDL 1.3.1.1474
2019-10-16 11:53:52 +01:00
Leszek Rusinowicz
f5f6caa3b0
FUTURE_SEQUANA: InterruptIn implementation bug fix
...
Fixed HAL API implementation for InterruptIn:
- Interrupt was not enabled by default after configuration as it should be.
- Interrupt-to-object linking was not handled properly.
2019-10-16 11:53:52 +01:00
Kyle Kearney
2b277e8827
Improve psoc6csp doxygen comments
2019-10-16 11:53:52 +01:00
Kyle Kearney
3acb1e49f8
Reorganize resource and rtos abstraction files
...
- Move resource and rtos abstractions into their own folders
- Remove files for abstractions that are not implemented
2019-10-16 11:53:52 +01:00
Kyle Kearney
0a54b6900e
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-10-16 11:53:52 +01:00
Kyle Kearney
02da070162
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-10-16 11:53:52 +01:00
Ryan Morse
e0806c5626
Update PDL to latest 1.3 build
...
Updates to documentation and personalities. No functional code changes.
2019-09-12 17:18:37 +01: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