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 committed Apr 27, 2019
1 parent 4ac9e49 commit 61f0fc7
Show file tree
Hide file tree
Showing 135 changed files with 95,506 additions and 46 deletions.
7 changes: 7 additions & 0 deletions projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ module:
hic_lpc4322: &module_hic_lpc4322
- records/rtos/rtos-cm3.yaml
- records/hic_hal/lpc4322.yaml
hic_psoc5lp: &module_hic_psoc5lp
- records/rtos/rtos-cm3.yaml
- records/hic_hal/psoc5lp.yaml
hic_sam3u2c: &module_hic_sam3u2c
- records/rtos/rtos-cm3.yaml
- records/hic_hal/sam3u2c.yaml
Expand Down Expand Up @@ -595,3 +598,7 @@ projects:
- *module_if
- *module_hic_max32625
- records/board/max32630fthr.yaml
psoc5lp_cy8ckit_if:
- *module_if
- *module_hic_psoc5lp
- records/board/cy8ckit.yaml
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


26 changes: 26 additions & 0 deletions records/hic_hal/psoc5lp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
common:
target:
- CY8C5868LTI-LP039
core:
- Cortex-M3
macros:
- 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 61f0fc7

Please sign in to comment.