support llvm-arm 16.0

This commit is contained in:
guozhanxin
2023-05-17 17:17:38 +08:00
committed by Man, Jianting (Meco)
parent 48557de148
commit 82ccbc40db
10 changed files with 149 additions and 4 deletions

View File

@@ -19,10 +19,12 @@
*
* @note The bzero() function is deprecated (marked as LEGACY in POSIX. 1-2001).
*/
#ifndef RT_USING_PICOLIBC
void bzero(void* s, size_t n)
{
rt_memset(s, 0, n);
}
#endif
void bcopy(const void* src, void* dest, size_t n)
{