diff --git a/boards/posix/native_posix/native_posix.dts b/boards/posix/native_posix/native_posix.dts index 3bd5555088985..3a3605ac23a96 100644 --- a/boards/posix/native_posix/native_posix.dts +++ b/boards/posix/native_posix/native_posix.dts @@ -188,7 +188,7 @@ }; can_loopback0: can_loopback0 { - status = "disabled"; + status = "okay"; compatible = "zephyr,can-loopback"; sjw = <1>; sample-point = <875>; diff --git a/samples/drivers/can/counter/sample.yaml b/samples/drivers/can/counter/sample.yaml index fa7177a9f46da..b6ff5158db1a8 100644 --- a/samples/drivers/can/counter/sample.yaml +++ b/samples/drivers/can/counter/sample.yaml @@ -5,6 +5,7 @@ tests: tags: can depends_on: can filter: dt_chosen_enabled("zephyr,canbus") + platform_exclude: native_posix native_posix_64 harness: console harness_config: type: one_line diff --git a/samples/net/sockets/can/boards/native_posix.overlay b/samples/net/sockets/can/boards/native_posix.overlay deleted file mode 100644 index 93b1c32d28697..0000000000000 --- a/samples/net/sockets/can/boards/native_posix.overlay +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright (c) 2022 Vestas Wind Systems A/S - * - * SPDX-License-Identifier: Apache-2.0 - */ - -&can_loopback0 { - status = "okay"; -}; diff --git a/samples/net/sockets/can/boards/native_posix_64.overlay b/samples/net/sockets/can/boards/native_posix_64.overlay deleted file mode 100644 index 93b1c32d28697..0000000000000 --- a/samples/net/sockets/can/boards/native_posix_64.overlay +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright (c) 2022 Vestas Wind Systems A/S - * - * SPDX-License-Identifier: Apache-2.0 - */ - -&can_loopback0 { - status = "okay"; -}; diff --git a/tests/drivers/can/api/boards/native_posix.overlay b/tests/drivers/can/api/boards/native_posix.overlay deleted file mode 100644 index c185f31f6053f..0000000000000 --- a/tests/drivers/can/api/boards/native_posix.overlay +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright (c) 2021 Vestas Wind Systems A/S - * - * SPDX-License-Identifier: Apache-2.0 - */ - -&can_loopback0 { - status = "okay"; -}; diff --git a/tests/drivers/can/api/boards/native_posix_64.overlay b/tests/drivers/can/api/boards/native_posix_64.overlay deleted file mode 100644 index c185f31f6053f..0000000000000 --- a/tests/drivers/can/api/boards/native_posix_64.overlay +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright (c) 2021 Vestas Wind Systems A/S - * - * SPDX-License-Identifier: Apache-2.0 - */ - -&can_loopback0 { - status = "okay"; -}; diff --git a/tests/drivers/can/canfd/boards/native_posix.overlay b/tests/drivers/can/canfd/boards/native_posix.overlay deleted file mode 100644 index 93b1c32d28697..0000000000000 --- a/tests/drivers/can/canfd/boards/native_posix.overlay +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright (c) 2022 Vestas Wind Systems A/S - * - * SPDX-License-Identifier: Apache-2.0 - */ - -&can_loopback0 { - status = "okay"; -}; diff --git a/tests/drivers/can/canfd/boards/native_posix_64.overlay b/tests/drivers/can/canfd/boards/native_posix_64.overlay deleted file mode 100644 index 93b1c32d28697..0000000000000 --- a/tests/drivers/can/canfd/boards/native_posix_64.overlay +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright (c) 2022 Vestas Wind Systems A/S - * - * SPDX-License-Identifier: Apache-2.0 - */ - -&can_loopback0 { - status = "okay"; -}; diff --git a/tests/drivers/can/timing/boards/native_posix.overlay b/tests/drivers/can/timing/boards/native_posix.overlay deleted file mode 100644 index c185f31f6053f..0000000000000 --- a/tests/drivers/can/timing/boards/native_posix.overlay +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright (c) 2021 Vestas Wind Systems A/S - * - * SPDX-License-Identifier: Apache-2.0 - */ - -&can_loopback0 { - status = "okay"; -}; diff --git a/tests/drivers/can/timing/boards/native_posix_64.overlay b/tests/drivers/can/timing/boards/native_posix_64.overlay deleted file mode 100644 index c185f31f6053f..0000000000000 --- a/tests/drivers/can/timing/boards/native_posix_64.overlay +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright (c) 2021 Vestas Wind Systems A/S - * - * SPDX-License-Identifier: Apache-2.0 - */ - -&can_loopback0 { - status = "okay"; -}; diff --git a/tests/subsys/canbus/isotp/conformance/testcase.yaml b/tests/subsys/canbus/isotp/conformance/testcase.yaml index 222b854df31b8..3366607882c56 100644 --- a/tests/subsys/canbus/isotp/conformance/testcase.yaml +++ b/tests/subsys/canbus/isotp/conformance/testcase.yaml @@ -3,3 +3,4 @@ tests: tags: can isotp depends_on: can filter: dt_chosen_enabled("zephyr,canbus") + platform_exclude: native_posix native_posix_64 diff --git a/tests/subsys/canbus/isotp/implementation/testcase.yaml b/tests/subsys/canbus/isotp/implementation/testcase.yaml index 1262b76652291..85daa69cacd0f 100644 --- a/tests/subsys/canbus/isotp/implementation/testcase.yaml +++ b/tests/subsys/canbus/isotp/implementation/testcase.yaml @@ -3,3 +3,4 @@ tests: tags: can isotp depends_on: can filter: dt_chosen_enabled("zephyr,canbus") + platform_exclude: native_posix native_posix_64