I've tried the blink and Hello World example projects in VSCode and neither build out of the box. Both have unresolved defines, e.g. CONFIG_FREERTOS_HZ. Trying to run idf.py from the terminal fails (unknown command).
I am on Windows 8.1. Does it work properly on Linux? Seems like maybe a path issue.
Example projects in VSCode don't build
Re: Example projects in VSCode don't build
Fixed it. The issue is that build/config/sdkconfig.h is added by the build system but the IDE doesn't realize that and so flags up the defines in there as missing. You can either ignore it or add it via #include and it will build OK either way.
Who is online
Users browsing this forum: No registered users and 15 guests