1 /*
2  * Copyright (c) 2006-2023, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2022-06-29     Rbb666       first version
9  */
10 
11 #include "board.h"
12 
cy_bsp_all_init(void)13 void cy_bsp_all_init(void)
14 {
15     cy_rslt_t result;
16 
17 #ifdef __ARMCC_VERSION
18 #ifndef __NO_SYSTEM_INIT
19     SystemInit();
20 #endif
21 #endif
22 
23     /* Initialize the device and board peripherals */
24     result = cybsp_init();
25 
26     /* Board init failed. Stop program execution */
27     if (result != CY_RSLT_SUCCESS)
28     {
29         CY_ASSERT(0);
30     }
31 }
32