瀏覽代碼

[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;
     cy_rslt_t result;
 
 
+#ifdef __ARMCC_VERSION
+#ifndef __NO_SYSTEM_INIT
+    SystemInit();
+#endif
+#endif
+
     /* Initialize the device and board peripherals */
     /* Initialize the device and board peripherals */
     result = cybsp_init();
     result = cybsp_init();