1 /* 2 * Copyright (c) 2006-2021, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2009-02-16 Bernard add board.h to this bsp 9 */ 10 11 #ifndef __BOARD_H__ 12 #define __BOARD_H__ 13 #include <rtthread.h> 14 15 #define CCLK 60000000 /* Fosc = 12MHz, M = 5 */ 16 #define PCLK 15000000 /* CCLK/4, use default */ 17 18 /* RT_USING_UART */ 19 #define RT_USING_UART1 20 #define RT_USING_UART2 21 #define RT_UART_RX_BUFFER_SIZE 64 22 23 void rt_hw_board_init(void); 24 25 #ifdef RT_USING_FINSH 26 void rt_hw_finsh_init(void); 27 #endif 28 29 #endif 30