board.c 483 B

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