-
-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complex ESP-IDF dependencies seem to break pio build script - TypeError: ‘NoneType’ object is not iterable #1180
Comments
Hi @nicklasb, could you please provide a minimal project to reproduce the issue? Some of |
Oh, I am so sorry, I forgot I had changed to that repo, I have pushed a fix for that now and checked that the error persists! With regards to minimal project, I know it is annoying, but that is it. If you have any tricks or something you want me to try, please say it. |
Even though you didn't mentioned I suppose I should clone the project from the
The issue is probably caused by a typo in the CMakeFile.txt for the |
OMG that was it! Thanks!! When I fix the nmea-service component CMakeLists.txt it builds and runs!!! I couldn't understand that it was that, since it worked in ESP-IDF. (WRT the nmea-service it has no files at all yet, it will mostly be .c there, probably no .cpp. That said, Platform IO behaves differently from ESP-IDF in this case, as ESP-IDF works with the "wrong" CMakeLists.txt. Either way, thanks a bunch!! |
Hi!
Thanks for a great product!
I have an issue where I have ESP-IDF components with their own dependencies seemingly causing problems for Platformio. The reason I think that may be the case, is that it doesn’t seem to break in running idf.py build in the same folder.
ESP-IDF doesn’t seem to mind the current config.
It doesn’t compile without errors there, but that is not the problem. Abbreviated, the error is:
It happens in espidf.py, line 614.
If I monkey-patch the script to return [] if it is None, the script continues. But I am not sure it works properly then as I get a lot of other problems, though, so there seems to be some case that isn’t covered or something.
The repository is at: GitHub - nicklasb/NMEA_Gateway
Note that the project itself has ESP-IDF-dependencies, and that this problem only occurs when I add the nmea-gateway component. If I remove it, the pio build scripts works.
I am probably doing something crazy somewhere, but I don’t get it, I have spent a lot of time trying to fix this problem now…
(Original post att PlatformIO for reference: https://community.platformio.org/t/complex-esp-idf-dependencies-seem-to-break-pio-build-script-typeerror-nonetype-object-is-not-iterable/34881/1)
The text was updated successfully, but these errors were encountered: