board.c 483 字节
Newer Older
1
/*
R
Rbb666 已提交
2
 * Copyright (c) 2006-2023, RT-Thread Development Team
3 4 5 6 7 8 9
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-06-29     Rbb666       first version
 */
R
Rbb666 已提交
10

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#include "board.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);
    }
}