Maybe I've just been lucky but I don't recall any problems with my 'CMakeLists.txt' crafted for SDK 1.5 not working with 2.x - The only thing I had to do was change 'PICO_SDK_PATH' etc. And not even that on a Pi, only on Windows.I was talking about CMakeLists.txt for SDK 1.5 being incompatible with SDK 2.x and related toolchain. There are a lot of changes.
If it works for you, it's most probably a matter of luck.
Is there a list of what changes are required ?
The only one I noted was in placing any 'set(PICO_BOARD ...)' directive - viewtopic.php?t=376508 - and I dodged that because I already had all mine in a place 2.0.0 accepted.
I am still building with my 'CMakeLists.txt' for SDK 1.5 using VS Code and SDK 2.1.0
Statistics: Posted by hippy — Fri Dec 27, 2024 7:26 pm