1
0
mirror of https://github.com/rfivet/stm32bringup.git synced 2025-10-26 12:24:04 -04:00

Support BOOT, GOFLASH and GORAM memory models.

This commit is contained in:
2021-03-03 15:02:02 +08:00
parent 726f4bf316
commit 55a48fd471
6 changed files with 741 additions and 9 deletions

15
memcpy.c Normal file
View File

@@ -0,0 +1,15 @@
/* memcpy.c -- copy memory area */
/* Copyright (c) 2021 Renaud Fivet */
#include <string.h>
void *memcpy( void *to, const void *from, size_t n) {
const char *s = from ;
char *d = to ;
while( n--)
*d++ = *s++ ;
return to ;
}
/* end of memcpy.c */