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, 

    You need to have the nRF Connect SDK toolchain installed. It includes the mentioned repositories from GitHub. Referring to the Getting started guideline. 

    That way, you can perform a build for the two mentioned CAN samples via the command line, as described here or in the sample description for Controller Area Network or Socket CAN itself. 

    If you would like to use the VS Code extension instead, please follow this tutorial for how to set it up. However, a working nRF Connect SDK toolchain is required at this point, so you might want to perform a test build anyway before setting up the extension.

    FYI: Since many of my colleagues currently are out of office due to summer vacation period in Norway, delayed answers are to be expected. 

    Regards,  

    Markus 

  • 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 ? 

Reply
  • 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 ? 

Children
No Data
Related