Browse Source

[fix]boot os failed in mdk ide! (#7404)

vandoul 2 years ago
parent
commit
7693c6f5ab
1 changed files with 6 additions and 0 deletions
  1. 6 0
      bsp/Infineon/psoc6-evaluationkit-062S2/board/board.c

+ 6 - 0
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();