Zephyr: Migrate to SDK 2.1 from SDK 1.9.1

I have a custom board based on nRF52840 with some custom peripherals : LEDs, buzzer, buttons, etc

To get my app working I copied the  nrf52840dk_nrf52840  board from the 1.9.1 SDK  and modified the dts file to add my peripherals according to the shematics, and it all worked great

Everything broke in 2.1 - I get undefined labels, overlapping pin assignments and lots  of other errors - can provide the whole list if needed
I'm new to dts and was wondering if there is a better approach that does not require copying the original board.
Is this what overlays are for? Can you point me to the documentation and samples how to customize a standard board dts with peripherals?
Thank you 
Parents Reply Children
No Data
Related