Re: Confusion with generated devicetree_unfixed.h file #devicetree
Kumar Gala <galak.kernel@...>
On Aug 4, 2022, at 12:28 PM, Dominic via lists.zephyrproject.org <dominic.romualdo=ametek.com@...> wrote:In general the defines in devicetree_unfixed.h are not meant to be directly used. One should utilize the API/macros in devicetree.h.
So without having a snippet of how you are trying to use the alias mux_en. Its hard exactly to provide too much guidance/help. Can you also share the devicetree snippet for the alias & gpio-keys node you are referencing.
You should be doing something like:
DT_ALIAS(mux_en) /* will give you a node identifier, not useful by itself */
You can possibly do something like (not 100% sure that will work as I’m not sure what the alias looks like):