dev academy nRF Connect SDK Fundamentals lesson 3 exercise 1

hi,

i'm stuck at lesson 3 exercise 1 in step 1 so i create an application with choosing option 1 create a blank application for this first task to print hello world and i got an error for this header code 

#include <zephyr/kernel.h>
#include <zephyr/sys/printk.h>

and we don't have that zephyr folder in this project as the exercise showing me in step 2 so why this code include this header code in main.c file. how can i fix this error.

thanks

Parents
  • Hi,

    In step 1, you are to create the given files and subdirectory in a folder called l3_e1. This can be in your:

    Local disk (C:) --> ncs-fund --> l3 --> l3e1 (or similiar)

    Then, in VS Code, you open this folder and add first the given minimum functions as instructed in step 3 which are necessary for the application to build. These are supposed to pull in the Zephyr build systems and then in main.c, you can add the header file and printk module as given in step 4. 

    Can you confirm again if you have tried these steps? If you have, can you please share a screenshot of the error which are receiving?

    Best Regards,

    Samruddhi

Reply
  • Hi,

    In step 1, you are to create the given files and subdirectory in a folder called l3_e1. This can be in your:

    Local disk (C:) --> ncs-fund --> l3 --> l3e1 (or similiar)

    Then, in VS Code, you open this folder and add first the given minimum functions as instructed in step 3 which are necessary for the application to build. These are supposed to pull in the Zephyr build systems and then in main.c, you can add the header file and printk module as given in step 4. 

    Can you confirm again if you have tried these steps? If you have, can you please share a screenshot of the error which are receiving?

    Best Regards,

    Samruddhi

Children
No Data
Related