기타등등
This commit is contained in:
@@ -0,0 +1 @@
|
||||
CONFIG_GPIO_HOGS=y
|
||||
@@ -0,0 +1,10 @@
|
||||
#include <zephyr/dt-bindings/gpio/gpio.h>
|
||||
|
||||
&gpio0 {
|
||||
power_hold_hog: power_hold_hog {
|
||||
gpio-hog;
|
||||
gpios = <8 GPIO_ACTIVE_HIGH>;
|
||||
output-high;
|
||||
line-name = "POWER_HOLD";
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user