How to create / open Application based on Shields downloaded from Github

I want to either create or open a MCP2515 CAN based application using https://github.com/zephyrproject-rtos/zephyr/tree/main/boards/shields link.

I am new to this platform. Kindly guide how to proceed ? Where is any CAN application inside the code of above link ? If not, then where should I create my custom folder and how to include kconfig, CMake, conf, overlay etc files from above link my custom code ?

Parents
  • Hello Gulzar,

    I’m very sorry, but I do not understand your questions at all. 

    mexco said:

    I installed sdk1.9.1 in c/ncs folder. Downloaded the code form Gtihub link mentioned above, in d/can folder. There are two ways:

    1. Force VSC to use Zephyr of d/can while using the SDK and Toolchain from  c/ncs ? 

    2. Create a firmware folder in c/ncs/v1.9.1. Copy the Github code with it's Zephyr in firmware firmware folder. But, zephyr inside firmware is to be forced instead that of v1.9.1

    How to set above two structures ? In both cases, which is better ? 

    If you have installed the nRF Connect SDK according to the Getting started guide, you should have a fully installed toolchain with all needed repositories from GitHub available on your hardware drive. That way, you can e.g. use the command line to build applications & samples, and in case of Controller Area Network & Socket CAN sample this is specifically described in their documentation respectively. 

    Regarding nRF Connect for VS Code, you should not force anything there. You have to configure the extension as described in the tutorial, and then you can both add new or use already existing applications within the configured toolchain for building, flashing and debugging them. 

    Regards, 

    Markus 

Reply
  • Hello Gulzar,

    I’m very sorry, but I do not understand your questions at all. 

    mexco said:

    I installed sdk1.9.1 in c/ncs folder. Downloaded the code form Gtihub link mentioned above, in d/can folder. There are two ways:

    1. Force VSC to use Zephyr of d/can while using the SDK and Toolchain from  c/ncs ? 

    2. Create a firmware folder in c/ncs/v1.9.1. Copy the Github code with it's Zephyr in firmware firmware folder. But, zephyr inside firmware is to be forced instead that of v1.9.1

    How to set above two structures ? In both cases, which is better ? 

    If you have installed the nRF Connect SDK according to the Getting started guide, you should have a fully installed toolchain with all needed repositories from GitHub available on your hardware drive. That way, you can e.g. use the command line to build applications & samples, and in case of Controller Area Network & Socket CAN sample this is specifically described in their documentation respectively. 

    Regarding nRF Connect for VS Code, you should not force anything there. You have to configure the extension as described in the tutorial, and then you can both add new or use already existing applications within the configured toolchain for building, flashing and debugging them. 

    Regards, 

    Markus 

Children
Related