2022-07-05 16:45:32 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2022-06-29 Rbb666 first version
|
|
|
|
*/
|
2022-07-20 12:46:11 +08:00
|
|
|
|
2022-07-05 16:45:32 +08:00
|
|
|
#include "board.h"
|
|
|
|
#include "drv_uart.h"
|
|
|
|
|
|
|
|
void cy_bsp_all_init(void)
|
|
|
|
{
|
|
|
|
cy_rslt_t result;
|
|
|
|
|
|
|
|
/* Initialize the device and board peripherals */
|
|
|
|
result = cybsp_init();
|
|
|
|
|
|
|
|
/* Board init failed. Stop program execution */
|
|
|
|
if (result != CY_RSLT_SUCCESS)
|
|
|
|
{
|
|
|
|
CY_ASSERT(0);
|
|
|
|
}
|
|
|
|
}
|