I just got the nRF52-DK, and want to create a blank project to test something , but after I create a project and add "nrf_Log" module form RTE Manager(some conflict resovled by RTE Manager), so many compile error arise..... How do I do ?
I just got the nRF52-DK, and want to create a blank project to test something , but after I create a project and add "nrf_Log" module form RTE Manager(some conflict resovled by RTE Manager), so many compile error arise..... How do I do ?
try to use the examples from SDK as template for the starting point so you can understand the structure better. I recommend you not to create the project from scratch. You can download SDK from here and try the blinky project located in SDK\examples\peripheral\blinky
well,thanks , seems I should check the "C99 mode" in c/c++ compile option page
[I know this is an old post, but it is on point for my issue.] I'm confused by this answer. If you can't create a new project, which I assume most developers need to do at some point, just keep compiling the examples?
I'm new to this and need to create a new project. It looks like copying a project to another directory requires manually changing all the include and search paths in the project file. Is this correct? Are the paths really hard coded relative to the project?
The answer here means that instead of starting to build a project from scratch and miss to add few tiny details in project settings. It is recommended that you take one example project that is close to what you are trying to start with and keep adding files and flags.
This way you have less risk of missing out device specific defines and settings that are very hard to remember/track if you build a project from scratch.