Switch from native_posix to native_sim as default test platform And switch overlays to native_sim. For gpio_enable_disable_interrupt, also filter with platform_allow to save time, as the dt filter requires cmake to be run, but only the platforms with overlays provided by the test can be run. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
18 lines
287 B
Plaintext
18 lines
287 B
Plaintext
/*
|
|
* Copyright (c) 2020 Friedt Professional Engineering Services, Inc
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
resources {
|
|
compatible = "test-gpio-basic-api";
|
|
out-gpios = <&gpio0 0 0>; /* Pin 0 */
|
|
in-gpios = <&gpio0 1 0>; /* Pin 1 */
|
|
};
|
|
};
|
|
|
|
&gpio0 {
|
|
ngpios = <2>;
|
|
};
|