Hi. Thanks for the response.
I didn’t start a project from scratch; I tried starting with the hello-world example project. I can compile and upload, no problem.
The problem is when I want to add a new file. Here’s what I do (using the hello-world project):
- Right click on “Source Files” > Add > New Item
- In the dialog box, I select a C source file, then set the file name to “test.c” and added a folder path (just a backslash with a new folder name – like the guide). Then click “Add”
- I observed the CMakeLists.txt file (the one inside the “main” folder) opens automatically, and the first line changes to this: “set(COMPONENT_SRCS “hello_world_main.c” testdir\test.c)” – this of course, doesn’t compile.
Could you please try to reproduce this?
And also perhaps consider updating the guide.
Thanks very much 🙂
-
This reply was modified 5 years, 8 months ago by tiolatech.