Skip to content

Commit fecd2ed

Browse files
Marian SavchukMarianSavchuk
Marian Savchuk
authored andcommitted
Add support for Cypress devices
1 parent cdbc7d2 commit fecd2ed

File tree

110 files changed

+83939
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+83939
-10
lines changed

projects.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ module:
5757
- records/rtos/rtos-cm3.yaml
5858
- records/hic_hal/lpc4322.yaml
5959
- records/usb/usb-bulk.yaml
60+
hic_psoc5lp: &module_hic_psoc5lp
61+
- records/rtos/rtos-cm3.yaml
62+
- records/hic_hal/psoc5lp.yaml
63+
- records/usb/usb-bulk.yaml
6064
hic_sam3u2c: &module_hic_sam3u2c
6165
- records/rtos/rtos-cm3.yaml
6266
- records/hic_hal/sam3u2c.yaml
@@ -626,6 +630,10 @@ projects:
626630
- *module_if
627631
- *module_hic_lpc11u35
628632
- records/board/wio_emw3166.yaml
633+
psoc5lp_cy8ckit_if:
634+
- *module_if
635+
- *module_hic_psoc5lp
636+
- records/board/cy8ckit.yaml
629637
m48ssidae_bl:
630638
- *module_bl
631639
- records/hic_hal/m48ssidae.yaml

records/board/cy8ckit.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
common:
2+
macros:
3+
- TARGET_MCU_PSOC6
4+
includes:
5+
- source/family/cypress/PSoC6xxx
6+
sources:
7+
board:
8+
- source/board/cy8ckit.c
9+
target:
10+
- source/family/cypress/target.c
11+
- source/family/cypress/target_reset.c
12+
- source/family/cypress/PSoC6xxx/PSOC6xxx.c
13+
14+

records/hic_hal/psoc5lp.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
common:
2+
target:
3+
- CY8C5868LTI-LP039
4+
core:
5+
- Cortex-M3
6+
macros:
7+
- INTERFACE_PSOC5LP
8+
- OS_CLOCK=64000000
9+
- DAPLINK_HIC_ID=0x2E127069 # DAPLINK_HIC_ID_PSOC5LP
10+
includes:
11+
- source/hic_hal/cypress/psoc5lp
12+
- source/hic_hal/cypress/psoc5lp/PSoC5
13+
sources:
14+
hic_hal:
15+
- source/hic_hal/cypress/psoc5lp
16+
- source/hic_hal/cypress/psoc5lp/PSoC5
17+
- source/hic_hal/cypress/psoc5lp/armcc
18+
19+
tool_specific:
20+
uvision:
21+
misc:
22+
ld_flags:
23+
- --predefine="-I..\..\..\source\hic_hal\cypress\psoc5lp"
24+
make_armcc:
25+
misc:
26+
ld_flags:
27+
- --predefine="-Isource\hic_hal\cypress\psoc5lp"

0 commit comments

Comments
 (0)