Add DMA to I2C reading/writing

This commit is contained in:
Edward Emelianov
2023-01-08 18:37:08 +03:00
parent dd8d567464
commit c76d7aacb0
10 changed files with 251 additions and 101 deletions

View File

@@ -246,3 +246,8 @@ char *getnum(const char *txt, uint32_t *N){
}
return nxt;
}
void mymemcpy(char *dest, const char *src, int len){
if(len < 1) return;
while(len--) *dest++ = *src++;
}