slight tweak to buffer.c for firmware, want buffer status to be last thing
set as other things may trigger off of this. Also forgot firmware size report: AVR KAZZO: avr-size build_avr/avr_kazzo.elf text data bss dec hex filename 6952 6 674 7632 1dd0 build_avr/avr_kazzo.elf INL6: arm-none-eabi-size -t build_stm/inlretro_stm.elf text data bss dec hex filename 8408 0 684 9092 2384 build_stm/inlretro_stm.elf STM adapter: arm-none-eabi-size -t build_stm/inlretro_stm.elf text data bss dec hex filename 9212 0 684 9896 26a8 build_stm/inlretro_stm.elf Also the more I get into these flashing routines, maybe the original kazzo wasn't so bad.. It just takes awhile to flash these chips... I'm not sure it makes much sense to offer/support stm32 adapter. While it is less work to cut it out, it's brought out bugs in my code just due to having different platforms with their quirks manifest bugs.
This commit is contained in:
parent
5ceb148c85
commit
476c28cb24
|
|
@ -649,10 +649,10 @@ void update_buffers()
|
|||
if (result != SUCCESS) {
|
||||
cur_buff->status = result;
|
||||
} else {
|
||||
cur_buff->status = DUMPED;
|
||||
//increment page_num so everything is ready for next dump
|
||||
//TODO make buffer_update function to handle everything
|
||||
cur_buff->page_num += cur_buff->reload;
|
||||
cur_buff->status = DUMPED;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue