Added printing memory map

This commit is contained in:
2024-04-25 19:03:35 +02:00
parent f3c41cc6de
commit bd7889f22a
3 changed files with 54 additions and 12 deletions
+5
View File
@@ -9,6 +9,11 @@ char* itoa(uint32_t val, uint8_t base) {
if (base == 0 || base > 16) {
// TODO: Add errors!!
return NULL;
}
if (val == 0) {
buf[0] = '0';
return buf;
}