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)13void cy_bsp_all_init(void) 14 { 15 cy_rslt_t result; 16 17 /* Initialize the device and board peripherals */ 18 result = cybsp_init(); 19 20 /* Board init failed. Stop program execution */ 21 if (result != CY_RSLT_SUCCESS) 22 { 23 CY_ASSERT(0); 24 } 25 } 26