I would expect this command to create a special folder inside .platformio/ somewhere, but I don’t see it. Is it possible this has corrupted my subsequent projects to use this fork of esp-idf, and is causing this issue?
I tried them all and none worked.
I have solved the problem for the esp-idf framework (not arduino).
No build flags are needed, nothing is needed in the board .json file.
I just needed to select OCTAL in menuconfig, it defaults to QUAD.
Thanks for indicating that my board had octal psram, that eventually led me to spot the issue.
I appreciate your support.
Let me know if I can contribute this experience back to the docs.
I also found that I need board_build.flash_mode = dio or the program crashes with the unhelpful
I would have benefited from this knowledge at the start. I think all the s3 boards and modules would use the same settings, if they have psram, so there is some obvious value in publishing this info, if it is not possible to set it as the default.
I also remembered that my board was purchased around a year ago, and I believe at that time they were still marked as “engineering samples” so perhaps things have changed since then?
I also ran the same tests in a non-pio installation of esp-idf, and it gave me the very helpful error message
E (170) quad_psram: PSRAM ID read error: 0x00ffffff, PSRAM chip not found or not supported, or wrong PSRAM line mode
E (170) cpu_start: Failed to init external RAM!
I am not sure why this message doesn’t propagate through to the pio logs. It certainly cued me to look at the hardware settings more closely in menuconfig. Perhaps it is because I am using the latest idf, and pio is perhaps not yet?