devicetree delete error

Why do I get an error when using Devicetree overlay file to delete devices
The first step is to open the overlay file in the device tree as shown in the figure

The second step, as shown in the figure, is to click on the LED pin and then click on delete, as I want to change this pin.

Then my overlay, which I created myself, got an error message



I really don't understand, shouldn't I be completely right? After all, this is an official tool from Nordic

Parents
  • Do you get errors when you actually build the project? Those editor outputs might be a cosmetic only problem.

    Note that this DT overlay won't delete the LED entry fully IMHO, and thus may cause actual build errors later. 

    I recommend learning how to manually build the project with the command line (west build). VS code build configs tend to break horribly with DT errors.

  • Now this is the actual construction project, and I don't understand. Even if I change my computer, there are records of this event happening. Curious, how should I learn command line to build projects? Do I have any routines??
    Assuming I already have it, can I build it through the VSCode terminal or change the path of the build project
    Thank you for your response this time

Reply
  • Now this is the actual construction project, and I don't understand. Even if I change my computer, there are records of this event happening. Curious, how should I learn command line to build projects? Do I have any routines??
    Assuming I already have it, can I build it through the VSCode terminal or change the path of the build project
    Thank you for your response this time

Children
No Data
Related