Skip to content

Commit

Permalink
Add support for Cypress devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Marian Savchuk authored and MarianSavchuk committed Mar 26, 2020
1 parent 1495a43 commit 050c668
Show file tree
Hide file tree
Showing 115 changed files with 84,013 additions and 26 deletions.
8 changes: 8 additions & 0 deletions projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ module:
- records/rtos/rtos-cm3.yaml
- records/hic_hal/lpc4322.yaml
- records/usb/usb-bulk.yaml
hic_psoc5lp: &module_hic_psoc5lp
- records/rtos/rtos-cm3.yaml
- records/hic_hal/psoc5lp.yaml
- records/usb/usb-bulk.yaml
hic_sam3u2c: &module_hic_sam3u2c
- records/rtos/rtos-cm3.yaml
- records/hic_hal/sam3u2c.yaml
Expand Down Expand Up @@ -626,6 +630,10 @@ projects:
- *module_if
- *module_hic_lpc11u35
- records/board/wio_emw3166.yaml
psoc5lp_cy8ckit_if:
- *module_if
- *module_hic_psoc5lp
- records/board/cy8ckit.yaml
m48ssidae_bl:
- *module_bl
- records/hic_hal/m48ssidae.yaml
Expand Down
14 changes: 14 additions & 0 deletions records/board/cy8ckit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
common:
macros:
- TARGET_MCU_PSOC6
includes:
- source/family/cypress/PSoC6xxx
sources:
board:
- source/board/cy8ckit.c
target:
- source/family/cypress/target.c
- source/family/cypress/target_reset.c
- source/family/cypress/PSoC6xxx/PSOC6xxx.c


27 changes: 27 additions & 0 deletions records/hic_hal/psoc5lp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
common:
target:
- CY8C5868LTI-LP039
core:
- Cortex-M3
macros:
- INTERFACE_PSOC5LP
- OS_CLOCK=64000000
- DAPLINK_HIC_ID=0x2E127069 # DAPLINK_HIC_ID_PSOC5LP
includes:
- source/hic_hal/cypress/psoc5lp
- source/hic_hal/cypress/psoc5lp/PSoC5
sources:
hic_hal:
- source/hic_hal/cypress/psoc5lp
- source/hic_hal/cypress/psoc5lp/PSoC5
- source/hic_hal/cypress/psoc5lp/armcc

tool_specific:
uvision:
misc:
ld_flags:
- --predefine="-I..\..\..\source\hic_hal\cypress\psoc5lp"
make_armcc:
misc:
ld_flags:
- --predefine="-Isource\hic_hal\cypress\psoc5lp"
Loading

0 comments on commit 050c668

Please sign in to comment.