mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Adding DIO for flash access
This commit is contained in:
@@ -798,6 +798,13 @@ void bootloader(void)
|
||||
print_string("\r\nUNIQUE ID\n\n");
|
||||
flash_read_uid();
|
||||
}
|
||||
// Switch to flash 62.5 MHz mode
|
||||
if (cmd_compare(0, "flash") && cmd_words_b[1] > 0 && sbuf[cmd_words_b[1]] == 's') {
|
||||
print_string("\r\nFLASH FAST MODE\n\n");
|
||||
flash_init_fast();
|
||||
print_string("\r\nNow dumping flash\n\n");
|
||||
flash_dump_fast(0, 255);
|
||||
}
|
||||
}
|
||||
print_string("\r\n> ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user