Is the devicetree in zephyr sdk supports the dynamic running time flow control ?


"曹子龙
 

Hi folks:

   I know the device three mechanism is also applied in zephyr sdk, but it seems something diffferent  compare with in linux.

 in linux, the dtsi script file would be compiled to a binary blob which would be pared in running time, so, the driver would do some dynamically decision in running time to different branch.

but in zephyr sdk, the dts are commpiled to a intermidate dts script file, which would be parsed by tools before building process are held.
finally, the dts configuration would convert to header files,and just used in compile time, so cant  used to do the branch control like linux.

is this right?  and is there anyway to get the configuration in runtime in zephyr?

thnks for your help.


曹子龙

珠海全志科技股份有限公司      BU1-PSW

地址:广东省珠海市高新区唐家湾镇科技2路9号

TEL:13824125580

Email:caozilong@...

网址: http://www.allwinnertech.com

 


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