xfdump: implement dump-to-xflash functionality

Update xflash_layout to include information about the dump, which sits
at the end of xflash.
This commit is contained in:
Yuri D'Elia 2021-06-08 15:28:02 +02:00
parent b398a09a4f
commit 6dfef76346
4 changed files with 163 additions and 1 deletions
Firmware

View file

@ -278,7 +278,7 @@ void dcode_1()
*/
void dcode_2()
{
dcode_core(0x200, 0x2200, dcode_mem_t::sram, 2, _N("SRAM"));
dcode_core(SRAM_START, SRAM_START + SRAM_SIZE, dcode_mem_t::sram, 2, _N("SRAM"));
}
#endif