Hello,
We are using our custom board which has the nRF9160 SOC. We have taken as a starting development point Asset Tracker 2 (AT2) which has 4 leds and 4 buttons defined. I need to remap and remove some of the leds, also I want to do the same with the buttons definition.
First, it comes to my mind the first doubt.
By the moment I created an overlay file inside of boards folder, which reconfigures the HW definition, but I continue compiling for nrf9160dk board. Does it have sense to create a custom board for our project based on nrf9160dk?
If I use "/delete-node/ leds;" instruction, it suppose to delete all leds node previously defined. If I only define leds0 node, the compiler complains about led1, led2 and led3 aliases. Is there any way to remove those aliases?
I have the same issue with buttons node, also, I try to remap the button ports, It is not working, the following picture explain how I did it:
Maybe here the problem is the usage of nrf9160dk as my board, instead of creating a new one... I do not know. What do you recommend?
Regards