tests gpio_hogs: Enable for nrf54l15bsim
Enable this test, and provide overlays, in the nrf54l15bsim Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
1b1d3ca5d5
commit
fb5ee609a0
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* Copyright (c) 2023 Vestas Wind Systems A/S
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
zephyr,user {
|
||||
output-high-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
|
||||
output-low-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
|
||||
input-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
hog1 {
|
||||
gpio-hog;
|
||||
gpios = <3 GPIO_ACTIVE_LOW>;
|
||||
output-high;
|
||||
};
|
||||
|
||||
hog2 {
|
||||
gpio-hog;
|
||||
gpios = <4 GPIO_ACTIVE_HIGH>;
|
||||
output-low;
|
||||
};
|
||||
|
||||
hog3 {
|
||||
gpio-hog;
|
||||
gpios = <1 GPIO_ACTIVE_LOW>;
|
||||
input;
|
||||
};
|
||||
};
|
|
@ -11,6 +11,7 @@ tests:
|
|||
- nrf52840dk/nrf52840
|
||||
- nucleo_g474re
|
||||
- nrf52_bsim
|
||||
- nrf54l15bsim/nrf54l15/cpuapp
|
||||
- mr_canhubk3
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
|
|
Loading…
Reference in New Issue