Skip to content

Commit 6618b7e

Browse files
committed
Added system_psoc6.h to cy_syslib.c
1 parent a9b386d commit 6618b7e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/test-build-psoc6.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
repository: Infineon/core-lib
4141
path: lib/core-lib
4242

43+
- name: Patch cy_syslib.c to include system_psoc6.h
44+
run: |
45+
sed -i '/#include "cy_syslib.h"/a #include "system_psoc6.h"' lib/psoc6pdl/drivers/source/cy_syslib.c
46+
4347
- name: Workaround for sources.list
4448
run: |
4549
# Replace sources

arch.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -967,8 +967,7 @@ ifeq ($(TARGET),psoc6)
967967
-I$(CYPRESS_CORE_LIB)/include \
968968
-I$(CYPRESS_PDL)/devices/include/ip \
969969
-I$(CYPRESS_PDL)/devices/templates/COMPONENT_MTB \
970-
-DCY8C624ABZI_D44 \
971-
-include $(CYPRESS_PDL)/devices/templates/COMPONENT_MTB/system_psoc6.h
970+
-DCY8C624ABZI_D44
972971
ARCH_FLASH_OFFSET=0x10000000
973972
ifneq ($(PSOC6_CRYPTO),0)
974973
CFLAGS+=-DWOLFSSL_PSOC6_CRYPTO

0 commit comments

Comments
 (0)