[RTL8710]
IT WORKS!
I can't believe how stupid this problem was.
Just like I suspected, the linker script was the culprit.
The thing is, I was trying out the correct solution multiple times. And it never worked.
Why?
Because I was only modifying the linker script. The program didn't change, so PlatformIO never recompiled and relinked it. The resulting binary was always the same, no matter what I changed.
It just occured right now, that I changed something in the main program AND added correct lines to the linker at the same time. Otherwise I would be stuck with this for many more hours.
p.kaczmarek2 wrote: @kuba2k2 don't forget W600 and friends
Are these also on Tuya modules? Or third-party chinese stuff? I only found W701-something on Tuya's site. I didn't add this to the repo as I don't know what that is.
What about BL602? Is this also a Tuya thing?
About the tables... for now, I think, I would prefer to first get my project to a working state. You can, of course, list which modules you support in OpenBeken, but IMO it would be better to have a single, self-contained "database" about all Tuya modules, 3-rd party clones, available SDK options and hacking them in general - that's my general idea of my project. This page could then point to your app, for example, or even describe flashing instructions etc. Who knows, maybe at some point we'll integrate OpenBeken with PlatformIO to create a portable environment. No pressure though, just thinking.
EDIT: tested stuff like GPIO, UART, flash ID&size, working correctly now. Tomorrow I'll try to compile libs and test Wi-Fi.