Revert "Don't disable flash DIO operation before flashing"

This commit is contained in:
TylerDurden-23
2026-06-07 10:42:39 +02:00
committed by GitHub
parent 94e34a5991
commit 62065875e3
3 changed files with 5 additions and 0 deletions
+3
View File
@@ -361,6 +361,9 @@ void installer(void)
setup_serial_timer1();
print_string("\nRTLPlayground installer starting...\n");
// Initialize flash functions with disable DIO because writing does not work otherwise
flash_init(0);
__xdata uint32_t dest = 0x0;
__xdata uint32_t source = UPDATE_CODE_LOC;
// A 512kByte = 4MBit Flash has 128 sectors, we copy only 120