Ah yes, I was a bit hesitant to link to AliExpress as its always the question for how long the product will be sold in the given store. Regardless, I edited the post with the links, and for reference, also here:
There are other boards out there that use PSRAM and it would be interesting to see if they work - I have one in mind that I want to try but have a couple of questions for you since you have it working on your board.
which fixes a crashing issue. Is this something you’ve seen, and more generally, would ESPHome be able to leverage this flag?
Second, the article has a cool code snippet (for Arduino) that dumps info about PSRAM usage - I’ve only used ESPHome a couple of times, so I’m not sure if this is something that can be used here. Would External Components — ESPHome solve this? Is there a way that you know of in the ESPHome interface to access PSRAM?
W.r.t. the dumping the info about PSRAM usage, in my case, the log already shows the amount of PSRAM available. If you need more, perhaps the debug component can help? Debug Component — ESPHome
I’m afraid I’m not familiar with external components, so cannot help you there.
The -mfix-esp32-psram-cache-issue flag is only for ESP32 chips, as mentioned here; you can see the list of chips affected in the PDF linked in the paragraph.
The psram component takes care of adding flags for arduino & esp-idf as can be seen here.
It seems however to be missing the memory_type flag for arduino…
I also had to update versions; I couldn’t get rid of boot loop errors otherwise. I used static ones instead of latest to avoid jumping automatically in the future.
I ended up with a config like this:
PS: In case you have a non-working RGB LED (GPIO48) with those N16R8 boards, check this out.
EDIT: A couple of days later… I can confirm this is working just as well as the recommended version up until now! I also confirmed the PSRAM is being used by components (audio in my case), although it does seem to be a bit “underutilized”, probably because the codebase hasn’t caught up with the amounts of PSRAM available on newer boards.
works like a charm with a freenove esp32 s3 wroom with 8mb psram and 8mb flash size, thnxx!!!
testing now if i can record 24/7 a video stream without crashing when using the webserver option of esphome. My esp32-wrover is not stable for continuous recording.
I am trying to configure an Espressif ESP32-S3-DevKit 1.0 N32R8V board
I can download the configuration via the UART connection but the devive never comes online on the ESPHome dashboard and so obviously wireless OTA updates don’t work
I tried some of the configurations on this thread but without success
Has any else had this network problem with this board?
can you get logs from serial to see what is happening ? you can use https://web.esphome.io/ to view the logs over usb. once connected, with the logs window open click on the ‘reset device’ to see logs from boot. this may indicate what the issue is that you are facing. can you post the current config you are using ?
By the way, ESPHome.io seems to crash after listing a load of seemingly identical logs. Sometimes I can scroll back and download. However clicking on Reset Device causes it to hang