nRF5340 DK – Device Tree, Overlays, and nRF Connect configuration / Workspaces
Hi
Visual Studio Code: v1.85.1
nRF Connect for VS Code: v2023.11.301
nRF DeviceTree: v2023.11.120
nRF Kconfig: v2023.11.64
nRF Terminal: v2023.10.17
nRF Connect SDK: v2.4.1
Windows 10
I think I might have a fundamental issue with how my VS Code and nRF Connect is configured, or how I am using Workspaces.
The most recent issue I am having is finding device tree information, so that I can create an overlay for Flash memory.
Note: A few months ago, I had to re-install everything on my PC, so I think this is when the issues arrived.
Scenario 1
When I open my existing project for nRF5340DK, based on the Peripheral UART example, I cannot find any device tree information within nRF Connect, other than nRF5340dk_nrf5340_cpuapp_ns.dts
In the past, I used to be able to view the entire hierarchy of device tree files etc.
I can find all the device tree files on my hard drive here:
C:\ncs\v2.4.1\zephyr\boards\arm\nrf5340dk_nrf5340\nrf5340_cpuapp_common.dts
Scenario 2
Within nRF Connect, I go to create a new application based on Nordic & Zephyr sample applications.
When I select Create a new application, I get this (which looks different than a few months ago):
If I select Copy a sample, I get this:
Or if I select Browse application index, I get this:
So back to selecting Copy a sample, to find the BLE Peripheral UART example:
If I select Open Documentation or Open Repository icons, I get a 404 / Not Found page.
So, I go ahead and just select the sample, so that it is created, then add a configuration, using the defaults, and build:
The project builds successfully.
Again, I can only see the one device tree file:
I am not sure if I have configured VS Code / nRF Connect incorrectly, or the project, or what.