소스 검색

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

vandoul 2 년 전
부모
커밋
7693c6f5ab
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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();