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 6, 2019
1 parent c2bddd4 commit 97d23fc
Show file tree
Hide file tree
Showing 129 changed files with 96,438 additions and 42 deletions.
11 changes: 11 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,11 @@ projects:
- *module_if
- *module_hic_max32625
- records/board/max32630fthr.yaml
psoc5lp_bl:
- *module_bl
- *module_hic_psoc5lp
- records/board/psoc5lp_bl.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


4 changes: 4 additions & 0 deletions records/board/psoc5lp_bl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
common:
sources:
board:
- source/board/psoc5lp_bl.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:
- OS_CLOCK=64000000
- DAPLINK_HIC_ID=0x2E127069 # DAPLINK_HIC_ID_PSOC5LP
includes:
- source/hic_hal/cypress/psoc5lp
- source/hic_hal/cypress/psoc5lp/PSoC5
- projectfiles/uvision/psoc5lp_bl/build
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 97d23fc

Please sign in to comment.