-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add board flash 0x9f SPI command to web config #1075
Add board flash 0x9f SPI command to web config #1075
Conversation
*Total -- 11,807.83kb -> 10,597.19kb (10.25%) /configs/MavercadeRev2/assets/Rev2_config_pic.jpg -- 1,148.71kb -> 1,001.39kb (12.83%) /configs/MavercadeRev2/assets/Rev2_thumbnail.png -- 4,501.00kb -> 3,984.05kb (11.49%) /configs/ZeroRhythm/Assets/ZeroThythm 2.jpg -- 2,954.52kb -> 2,669.00kb (9.66%) /configs/ZeroRhythm/Assets/ZeroRhythm 1.jpg -- 2,687.40kb -> 2,428.72kb (9.63%) /configs/MavercadeRev1/assets/Rev1_config_pic.png -- 516.19kb -> 514.02kb (0.42%) Signed-off-by: ImgBotApp <[email protected]>
[ImgBot] Optimize images
…l/GP2040-CE into 20240619_boardflash_info
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. |
A MUCH better idea is to do this in the gp2040 setup() or before that somewhere we know will not crash TO-DO: add this code to setup()
then store the value into a permanent location so it only happens once! |
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.