per app device tree overlay


Daniel Wagenknecht
 

Hi!

 

I haven’t found any Documentation, how to make changes to a boards device tree from inside my app.

I’m neither really familiar with device tree or cmake, so looking thorugh the source didn’t help me much either.

 

Goal is to change zephyr console from usart1 to usart2 without touching the zephyr repo pulled from upstream. So changes should reside in my app directory alongside prj.conf etc.

 

The boards .dts file contains this:

                chosen {

                               zephyr,console = &usart1;

                               zephyr,sram = &sram0;

                               zephyr,flash = &flash0;

                };

 

Can someone point me at to helpful information?

 

Thanks

Daniel Wagenknecht

 

Join users@lists.zephyrproject.org to automatically receive all group messages.