Introduce the builtin-led-gpios node to make possible to configuring
the builtin-led from dts.
This node uses to determine the value of the LED_BUILTIN macro.
Use the led0 alias to determine the LED_BUILTIN if the builtin-led-gpios
is not defined.
The behavior can override by defining the LED_BUILTIN in pinmap.h.
It uses definitions that are defined in the header preferentially.
The PR is contineued from #60.
I will rebase if #60 merged.
Introduce the
builtin-led-gpios
node to make possible to configuring the builtin-led from dts. This node uses to determine the value of theLED_BUILTIN
macro.Use the
led0
alias to determine theLED_BUILTIN
if thebuiltin-led-gpios
is not defined.The behavior can override by defining the
LED_BUILTIN
in pinmap.h. It uses definitions that are defined in the header preferentially.The PR is contineued from #60. I will rebase if #60 merged.