Closed TrainzLuvr closed 4 years ago
Yeah, this one is a nasty one, I worked around it locally in generation.py to avoid the None case. I'll submit a PR to upstream to fix it.
Sorry to re-open this but the error still persist. I pulled the latest master few minutes ago.
Running ESP-IDF v4.1.
Did you remove the sdkconfig file? If not you will need to comment out CONFIG_LWIP_IRAM_OPTIMIZATION
which is disabled here.
That did it, my sdkconfig still had ...=y
Compiled to completion now. Thanks!
I'm still getting this on 4.2 release, with LWIP_IRAM_OPTIMIZATION unchecked in menuconfig?
I'm still getting this on 4.2 release, with LWIP_IRAM_OPTIMIZATION unchecked in menuconfig?
@karlp Can you send me your sdkconfig and I'll compare it to the one I'm using and see if I can find which option is causing the issue.
Sure, I've attached it here. I suspect it might be wonky toolchains though. I get this if I run cmake directly inside netbeans, from a plain project (no prior build, ie akin to a clean checkout of the project from git)
If I run "idf.py build" once, it works, so... "unsupported tooling" I guess? sdkconfig.txt
also.... I'm sorry, I missed that I wason't on the repo I thought I was on, so this isn't really your issue at all, I just got here from a bug report on esp-idf, sorry!
also.... I'm sorry, I missed that I wason't on the repo I thought I was on, so this isn't really your issue at all, I just got here from a bug report on esp-idf, sorry!
No worries. Try disabling the following options:
CONFIG_ESP32_WIFI_IRAM_OPT=y CONFIG_ESP32_WIFI_RX_IRAM_OPT=y
hrm, that didn't help, but it still works with "idf.py build" so something's going odd with how cmake runs from inside netbeans. Once it's built once, even a clean/build with netbeans works.
thanks for looking at this, but i'm not going to follow it up further at this point, building once from the commandline is ok for me rightnow.
Once it's built once, even a clean/build with netbeans works.
The problem is very likely how netbeans is executing the ld generation then. There was a valid bug in ldgen.py but only if it encountered a file that did not have the type in it that was expected. It was a very specific pattern and it is entirely possible that netbeans is using an older copy of the files that did not have the fix included.
Got another error:
This seems to relate to https://github.com/espressif/esp-idf/issues/5734 but I kinda agree with m-bruck - why compile a driver in, for something that's not being used. ¯\(ツ)/¯
CONFIG_LWIP_IRAM_OPTIMIZATION is enabled for ESP32CS build.