-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
lolin_s2_mini environment missing from CI run and web installer #180
Comments
The issue is that [env:esp32s2_PSRAM_M] enviroment uses another partitions table (WLED_ESP32_4MB_256KB_FS.csv), but my installer flashes the same partitions for all devices with 4MB (default si 4MB / 1MB FS). As a result it flashes wrong partition table for S2. @softhack007 is it intended to have different table for S2 only? If yes, I would change the installer. |
@wled-install Thanks for clarifying that , since you are here please take a look at this #173 as we have faced an issue with flashing MM on c3 from installer . I think that is due to bin size as we had to drop other features in order for the bin to fit on AC with audio but I failed to do the same for MM not sure what to drop . Otherwise just for you to be aware of that |
Hi @dosipod and @wled-install, thanks for you report :-)
In fact this is an interesting topic. Right now, all 4MB builds are either at the limits of the 4MB / 1MB FS, or above the limit. We have several smaller FS partitions files: 256KB (WLED_ESP32_4MB_256KB_FS.csv), 512KB (WLED_ESP32_4MB_512KB_FS.csv) and 700KB(WLED_ESP32_4MB_700k_FS.csv). I'd suggest you use the 512KB FS for all 4MB boards in the installer - or maybe the 700k_FS one if more FS space is important to your users. I think it will work to upload the 512KB partition.bin also for firmware that was built for 1MB FS. For "immediate rescue", I've just added esp32s2_PSRAM_S which still fits into 1MB FS. Actually I would not recommend to use the AC "standard" buildenvs (lolin_s2_mini) instead of MM special ones. Simply because AC standard builds are neither tested nor used by the MM team. cheers |
@softhack007 Thank you ,the esp32s2_PSRAM_S environment now worked on the lolin_s2_mini with OTA . Might be change the comment you added to the platformio.ini as esp32s2_PSRAM_M does work on lolin_s2_mini Not sure that was reflected on the installer but will test tomorrow or once @wled-install confirmed |
@softhack007 Thank you for clarification! @dosipod I've updated wled-install, now it automatically uses correct partitions.bin for nightly builds (just takes the one generated by the build itself). For now only for S2 / MM, seems work well, later will check it more detailed and then do it for all targets (and also for AC nightly builds). |
@wled-install I was trying with OTA for now but after downloading the bin that fails as the MM env listed on the site does not include the S build so only M is there . Might be I am looking at the wrong place |
@dosipod It was just not included in nightly builds (actually each second night only), now it is, but will appear after next build run |
What happened?
lolin_s2_mini environment missing from CI run and web installer https://wled-install.github.io/ , the one generated is esp32s2_PSRAM_M which will not fit the lolin_s2_mini board so as a result the update will fail due to size as reported by other users
Checking size .pio/build/esp32s2_PSRAM_M/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [== ] 20.5% (used 67256 bytes from 327680 bytes)
Flash: [======== ] 84.9% (used 1613546 bytes from 1900544 bytes)
Building .pio/build/esp32s2_PSRAM_M/firmware.bin
Checking size .pio/build/lolin_s2_mini/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [== ] 19.8% (used 64832 bytes from 327680 bytes)
Flash: [========= ] 92.2% (used 1449670 bytes from 1572864 bytes)
Building .pio/build/lolin_s2_mini/firmware.bin
For installer https://wled-install.github.io/ might be @wled-install can take a look ( I hope this is the correct username for Wladi)
A test run with both environment is below and I only have one lolin_s2_mini so not sure what is esp32s2_PSRAM_M is for but if that is for another board then might be a good idea to indicate that
https://github.com/dosipod/MM_9_NOV_2024/actions/runs/11758362634
Note to softhack , this might be the same case with lolin c3 which we raised before so will try that and update the other open issue
To Reproduce Bug
Use the bins from https://wled-install.github.io/ or CI run to update lolin_s2_mini
Expected Behavior
Update should be okay
Install Method
Self-Compiled or other
What version/release of MM WLED?
latest
Which microcontroller/board are you seeing the problem on?
ESP32-S2
Relevant log/trace output
No response
Anything else?
Take it easy
Code of Conduct
The text was updated successfully, but these errors were encountered: