Open sosaucily opened 4 years ago
Actually, it seems the flag
-std=c99
in the component.mk file is causing this, as discussed here:
https://stackoverflow.com/questions/35131350/error-asm-undeclared-first-use-in-this-function
Without this std=c99 flag it compiles with esp-idf 3.3. Can I make a PR?
I also had trouble with this flag, and needed to comment it out in order to remove some overwhelming number of warnings during compilation.
CFLAGS += -Wsign-compare
Yes please make a PR. Also ignoring a few warnings sounds good. Especially Wsign-compare sounds ok to me.
When compiling this package in an esp-idf/adf project using the 3.3 version of idf, errors occur with the SoC component of the esp-idf library.
For example:
3.3 is the stable build of esp-idf. Not sure why this is happening, but i'll dig in a bit today.