[bsp][mchp] fix samc21, same54, same70, saml10 build errors

This commit is contained in:
阿基米东
2023-10-09 09:28:12 +08:00
committed by guo
parent 874151b6db
commit b1fae3a604
26 changed files with 60 additions and 36 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
* Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
+1 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c)
* Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
+9 -3
View File
@@ -1,11 +1,12 @@
/*
* Copyright (c)
* Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Email Notes
* 2019-07-16 Kevin.Liu kevin.liu.mchp@gmail.com First Release
* Date Author Email Notes
* 2019-07-16 Kevin.Liu kevin.liu.mchp@gmail.com First Release
* 2023-09-16 luhuadong luhuadong@163.com fix uart config
*/
#ifndef __BOARD_H__
#define __BOARD_H__
@@ -105,6 +106,11 @@ extern int __bss_end;
#define HEAP_END SAME70_SRAM_END
#endif
#ifdef RT_USING_SERIAL
#include "hpl_usart_config.h"
#define DEFAULT_USART_BAUD_RATE CONF_USART_1_BAUD
#endif
void rt_hw_board_init(void);
#endif