With Zephyr, nRF SDK, VSCode and Arduino Nano BLE 33 device configuration files have wrong path

I was trying to get a simple Zephyr project to build and run on the Arduino Nano BLE 33 which has a NRF5248. 

In VSCode with the NRF plugin I select "Add build configuration"

For board target I select "arduino_nano_33_ble/nrf52840" then I click build configuration.

I get an error, which is expected as I have not configured UART I need. So I open the board file to have a look.

(Note: I know I'm supposed to use an overlay and not edit the zephyr sources but for this example I'm keeping it simple)

In the Actions in the NRF plugin for VSCode I select board file so I can configure my stuff.

The editor opens with an error that it can't find the board file v2.7.0/zephyr/boards/arduino/nano_33_ble/arduino_nano_ble_nrf52840.dts

When I look in the directory for that file I see 2 dts files named: arduino_nano_ble.dts and arduino_nano_33_ble_nrf52840_sense.dts

It looks like the default config is pointing to the wrong file, maybe I did something wrong.

Any suggestions as to what I need to do to get my build up for that board? 

Parents
  • Hello,

    Yes, there are two DTS files inside the boards folder. However, if you select the correct board target, the build system should automatically use the right DTS file.

    I tried building a Bluetooth sample from the SDK for the arduino_nano_33_ble board, and it worked fine on my side. Please check if there is any issue with your SDK installation. If you have build logs, kindly share the complete log here so I can better understand the problem.

    Kind regards,
    Abhijith

Reply
  • Hello,

    Yes, there are two DTS files inside the boards folder. However, if you select the correct board target, the build system should automatically use the right DTS file.

    I tried building a Bluetooth sample from the SDK for the arduino_nano_33_ble board, and it worked fine on my side. Please check if there is any issue with your SDK installation. If you have build logs, kindly share the complete log here so I can better understand the problem.

    Kind regards,
    Abhijith

Children
No Data
Related