Great. Good findings..thethinker wrote: ↑Sun Jun 16, 2019 5:39 pmI found the issue !
Under menu config, if I enable any or both of the following two options, weird things such as the one I explained starts happening:
-- CONFIG_SPIRAM_CACHE_WORKAROUND
As soon as I turn it off, things start working again!! So between idf 3.1 and 3.3 someone has changed something in LWIP logic to be in this workaround and this is causing the trouble (I'm guessing my code is getting removed at per-compilelation by this option)
To give you some insight I'm using a PICO-D4 with modified psram code to bypass the "psram not supported" errors, but even when I upgrade to 4.0 master branch which supports psram for pico-d4 it still has this issue.
I also have my sdkconfig attached.
Unfortunately I don't have time to dig deeper right now, but app so I'm all good for now!
This CONFIG_SPIRAM_CACHE_WORKAROUND is enabled by default if we enable PSRAM config?
Also, Would you please raise issue over ESP32 Github as well?
Espressif Team,
Would you please look into this and let us know is it really known issue after enabling that option? because we are also planning to use PSRAM into few of our projects. SO, it will be good if We know known issue regarding that it really an issue.
Please clarify form your end and send your valuable feedback for same.