summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvandoul <[email protected]>2023-04-29 12:41:02 +0800
committerGitHub <[email protected]>2023-04-29 12:41:02 +0800
commit7693c6f5abcfa9104561a029ee56fa6566678ad5 (patch)
treeece7ed8629531ed0295b603a87e228d1a11d4316
parent0c55c4d3ed8a2b2f15e1652321634403bf249efa (diff)
[fix]boot os failed in mdk ide! (#7404)
-rw-r--r--bsp/Infineon/psoc6-evaluationkit-062S2/board/board.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/board/board.c b/bsp/Infineon/psoc6-evaluationkit-062S2/board/board.c
index 6e4dd05f9e..066c1c19b7 100644
--- a/bsp/Infineon/psoc6-evaluationkit-062S2/board/board.c
+++ b/bsp/Infineon/psoc6-evaluationkit-062S2/board/board.c
@@ -14,6 +14,12 @@ void cy_bsp_all_init(void)
{
cy_rslt_t result;
+#ifdef __ARMCC_VERSION
+#ifndef __NO_SYSTEM_INIT
+ SystemInit();
+#endif
+#endif
+
/* Initialize the device and board peripherals */
result = cybsp_init();