tiolatech

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: COMPONENT_SRCDIRS not automatically updated #24870
    tiolatech
    Participant

    Nice! I’m up and running!

    You’ve been tremendous help! Thanks for the amazing support! 🙂

    in reply to: COMPONENT_SRCDIRS not automatically updated #24845
    tiolatech
    Participant

    Excellent! Thanks for the super-fast response!

    The new build works.

    How do I go about adding header files?

    in reply to: COMPONENT_SRCDIRS not automatically updated #24825
    tiolatech
    Participant

    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):

    1. Right click on “Source Files” > Add > New Item
    2. 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”
    3. 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, 7 months ago by tiolatech.
Viewing 3 posts - 1 through 3 (of 3 total)