- Thu May 11, 2023 6:55 pm
#96406
eriksl wrote:So there really isn't a "grand unified SDK" (the IDF) which Espressif claims?
I hope they went the same road I did: pull the version of crosstool-ng that Fillipov's commits apply to, then merge these commits (so it's a actually an exact copy of what Max has) then <i>rebase</i> it to the current version of crosstool-ng, resolve all the conflicts and then fix stuff and make then neat commits on top. That way you can always do a rebase again. But knowing Espressif, they probably didn't do that and simply merged one large commit with all fixes (well, "fixes"... often) and didn't rebase, so they're for always stuck at that version.
They are getting closer - certainly for the ESP32 chipsets. At this stage it appears that the same user codebase will be able to be recompiled simply by selecting the appropriate chipset in the IDF and building. The ESP8266 is different as they've had to swing the old RTOS SDK around slowly but they claim their aim is to merge it completely with the IDF.
Of course, it's not going to be quite that simple in real life, as each chipset has slightly different capabilities, so you'll have to make sure your code queries the interfaces and adapts as needed, but it shouldn't be code littered with a million #ifdef statements
As for the crosstool and libs - from the way the commits look I think that's what they might be doing, but can't be sure