Mike
Mike
Use the normal Sming repository (SmingHub/Sming) but use IDF V5 from https://github.com/mikee47/esp-idf.git, branch `sming/release/v5.0'. If you follow the instructions here https://sming.readthedocs.io/en/latest/getting-started/linux/index.html the SDK will be installed for you at /opt/esp-idf.
I've chewed on this one for a while and have come up with an alternative arrangement. You can find it in my fork https://github.com/mikee47/Sming/tree/feature/ledc-control/Sming/Libraries/LedControl. It's based on a rewrite of...
Note: Currently CI testing is failing for v5.2 release due to deprecation warnings. ~~These will be addressed shortly.~~ Everything passes except my USB library. A load of low-level HAL code...
> Are there any known issues with IDF > 4.4 and Sming? Not to my knowledge. Main issue will likely be existing projects using IDF code directly so dependent on...
You have `CLANG_TIDY` defined (added in #2648). If this is problematic perhaps we should rename that variable, e.g. `SMING_CLANG_TIDY` ?
Actually, might not be this... Try posting a dump of `make V=1` so we can see compiler options, etc.
So on your system running `g++` invokes clang. I'm not an Apple user but from a quick web search I suspect clang/llvm is the default installed toolset. Sming requires GCC....
I'm trying to get a VM installation of MacOS so I can help further. It's painful... In the meantime, you can edit `Sming/Host/build.mk` to set the paths explicitly. You'll see...
Update, I've been trying to get host builds for MacOS but even with GCC installed we still have to use the xcode linker. Bear with me, I'm sure we can...
Spoke too soon. The host emulator builds in 32-bit mode to reflect the devices being targeted. GCC and clang both allow building 32-bit binaries for 64-bit platforms. However, it looks...