Use the drivers files from the custom application directory instead of ZEPHYR_BASE


Srinivasan Tamilarasan
 

Hi,

I am creating the standalone Zephyr application build.

 

I have moved the custom dts, soc and board files to the application directory by adding below below lines in application cmake file,

set(BOARD_ROOT ${CMAKE_CURRENT_LIST_DIR})

set(SOC_ROOT ${CMAKE_CURRENT_LIST_DIR})

set(DTS_ROOT ${CMAKE_CURRENT_LIST_DIR})

 

How to tell the zephyr to use the driver file from the my application directory instead of default location from ZEPHYR_BASE location?

 

Kindly help me to resolve this issue.

 

Regards,

Srinivasan

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