OpenStickCommunity / GP2040-CE

Multi-Platform Gamepad Firmware for Raspberry Pi Pico and other RP2040 boards
https://gp2040-ce.info
MIT License
1.24k stars 279 forks source link

Add board flash 0x9f SPI command to web config #1075

Open arntsonl opened 2 weeks ago

arntsonl commented 2 weeks ago

This adds the 0x9f SPI identification command to the web config memory info.

The system stats now show the actual board flash size identified by the flash chip itself.

arntsonl commented 2 weeks ago

This crashes the board randomly :(

Before I close this as not an option, I am going to try to add the SPI flash cmd to the beginning of main() and see if we can consistently pull that at the beginning.

It's a neat feature but not worth crashing web config.