keirf/flashfloppy

Split flashfloppy into a library and an app ?

bog-dan-ro opened this issue · 1 comments

I'd like to port flashflopy to Raspberry Pi Pico (RP2040) and I wonder if isn't better to split flashfloppy into two components:

  • a platform agnostic library. This library can be used to build other apps for other platforms.
  • and the application for Gotek.
keirf commented

Perhaps. Certainly there are ad hoc interface boundaries in FlashFloppy already:

  • Gotek vs "other" boards: To allow wiring / pin assign differences. Only Gotek is currently supported though.
  • Different MCUs, 105/415 vs 435. All STM32-centric though

No doubt RP2040 would need some different interfaces to abstract the STM32 specific stuff. The easiest first step is to hack in support for RP2040 and see where those boundaries lie, and clean it up after it's working.