Re: DTS own node DT_N_S_ undeclared
Kumar Gala
On Mar 5, 2021, at 9:55 AM, Piotr Barszczewski <piotr@1am.pl> wrote:That looks normal. What does the code you are building look like? What else should I do to make my own DTS node be usable in the source file? I'm following the docs, referencing it by #define VBATT_LIPO DT_PATH(vbatt, vbatt_lipo) which is in line with the guides and docs but the DT_N_S_* is missing and I don't have a clue on how could I fix this.I think the .dts you have looks reasonable, my guess is the issue is more on the code usage side. Your define of VBATT_LIPO will give you a node reference which by its self is not useful. Its useful only w/regards to the macros in include/devicetree.h If you can share a snip of what the code looks like will probably be easier to see what might be the issue. - k
|
|