Flash memory on Proffieboards is often a bottleneck for styles and things. Less-so with the new v3.9, but I’ve still seen people manage to use it all up.
A very common thing for modern microcontrollers is to use QSPI to attach external flash, and increase the storage capacity by just a stupid amount relative to the amount of storage we’re used to.
I’ve just glanced over the STM32L433xx datasheet and it seems to support external QSPI flash, which means this should be possible, but that brings up a couple of questions:
How would it be wired up? I’m not sure exactly what all the pins on the PB are used for atm as far as audio, gyro, etc, but I know GPIOs are always a valuable resource, so I don’t know if there’s even pins left to do this.
I also don’t know how one would be able to connect these. I’d need to look at the datasheet and look closer at the PB hardware to get an idea…
I’m unfamiliar with how timing-sensitive these chips are, but I’d figure they need to stay fairly close with limited interference, and I’m not sure if that concept alone would hurt this idea.
I have no clue how Arduino handles this kind of stuff. I know from using the ESP-IDF w/ Arduino it was fairly limited there (moved my codebase over to custom tools just because I couldn’t handle it), so I’m not sure what has to be configured in Arduino to make it work, or if it’d be possible via changes to the plugin? Either way it seems like it would be somewhat difficult to setup from a software side.
Anyways, it seems like it would be, at least theoretically, possible to create an “expansion” chip for the Proffieboard, allowing someone who wanted it to wire up something one way or another and relatively easily quadruple their FLASH space. The ESP series of chips has about the same onboard flash as the PBs, but just the ESP boilerplate for a lot of those projects takes ~500KB on it’s own, so virtually every ESP chip (save for the super tiny ones… even then those often have it) has a QSPI chip right beside it.
Just made me think if this concept was anyway portable to Proffies…