zephyr/tests/misc/check_init_priorities/boards/native_sim.overlay
Alberto Escolar Piedras 9aafc832a2 tests/misc/check_init_priorities: Fix for native_sim
Fix this test for the native_simulator,
and add it as a default test target.

Also be a bit clearer in stdout about the test having
passed or not.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-27 12:19:03 +00:00

39 lines
710 B
Plaintext

/*
* Copyright 2023 Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
test_gpio_0: gpio@ffff {
gpio-controller;
#gpio-cells = <0x2>;
compatible = "vnd,gpio-device";
status = "okay";
reg = <0xffff 0x1000>;
};
test_i2c: i2c@11112222 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "vnd,i2c";
status = "okay";
reg = <0x11112222 0x1000>;
clock-frequency = <100000>;
test_dev_a: test-i2c-dev@10 {
compatible = "vnd,i2c-device";
status = "okay";
reg = <0x10>;
supply-gpios = <&test_gpio_0 1 0>;
};
test_dev_b: test-i2c-dev@11 {
compatible = "vnd,i2c-device";
status = "okay";
reg = <0x11>;
supply-gpios = <&test_gpio_0 2 0>;
};
};
};