Following killergram's advice, I just deleted everything in build and reran cmake .. and make.
That got me a build with the correct sdk version and it now finds I2C_NUM.
I would prefer to know what the tools I'm using actually do but this looks like an even more complex nest of opaque black magic that the Arduino IDE.
It seems cmake is a button you press without asking too many questions.
Hopefully I will at least have a bit more control over stuff like copy to ram.
Thanks for all the advice. Now I got it past the compiler, I just need to find out why nothing works any more ! More fun ahead.
That got me a build with the correct sdk version and it now finds I2C_NUM.
I would prefer to know what the tools I'm using actually do but this looks like an even more complex nest of opaque black magic that the Arduino IDE.
It seems cmake is a button you press without asking too many questions.
Hopefully I will at least have a bit more control over stuff like copy to ram.
Thanks for all the advice. Now I got it past the compiler, I just need to find out why nothing works any more ! More fun ahead.
Statistics: Posted by pie_face — Tue Nov 26, 2024 8:09 pm