File tree Expand file tree Collapse file tree 5 files changed +15
-7
lines changed
tests/drivers/stepper/stepper_api/boards Expand file tree Collapse file tree 5 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
2+ # SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya
23# SPDX-License-Identifier: Apache-2.0
34
45menu "GPIO stepper driver"
56
67config GPIO_STEPPER
78 bool "Activate driver for gpio stepper control"
8- depends on DT_HAS_GPIO_STEPPERS_ENABLED
9+ depends on DT_HAS_ZEPHYR_GPIO_STEPPERS_ENABLED
910 default y
1011 help
1112 GPIO Stepper driver for stepper motor control with darlington arrays or dual H-bridge.
Original file line number Diff line number Diff line change 11/*
22 * SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
3+ * SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya
34 * SPDX-License-Identifier: Apache-2.0
45 */
56
6- #define DT_DRV_COMPAT gpio_steppers
7+ #define DT_DRV_COMPAT zephyr_gpio_steppers
78
89#include <zephyr/drivers/gpio.h>
910#include <zephyr/kernel.h>
Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
2+ # SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya
23# SPDX-License-Identifier: Apache-2.0
34
45description : |
@@ -7,7 +8,7 @@ description: |
78 Example:
89 /* Lead A is connected Lead C and Lead B is connected to Lead D*/
910 stepper {
10- compatible = "gpio-steppers";
11+ compatible = "zephyr, gpio-steppers";
1112 motor: motor {
1213 gpios = <&gpioa 9 GPIO_ACTIVE_HIGH>, /* Lead A1/A */
1314 <&gpioc 7 GPIO_ACTIVE_HIGH>, /* Lead B1/B */
@@ -16,7 +17,7 @@ description: |
1617 };
1718 };
1819
19- compatible : " gpio-steppers"
20+ compatible : " zephyr, gpio-steppers"
2021
2122child-binding :
2223 description : GPIO Controller for stepper motor
Original file line number Diff line number Diff line change 1+ /*
2+ * SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya
3+ * SPDX-License-Identifier: Apache-2.0
4+ */
5+
16/ {
27 uln2003_motor: uln2003_1 {
3- compatible = "gpio-steppers";
8+ compatible = "zephyr, gpio-steppers";
49 status = "okay";
510 motor_1: motor_1 {
611 micro-step-res = <1>;
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2024 Jilay Sandeep Pandya
2+ * SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya
33 * SPDX-License-Identifier: Apache-2.0
44 */
55
2020
2121/ {
2222 test_uln2003_motor_cluster: uln2003_motor_cluster {
23- compatible = "gpio-steppers";
23+ compatible = "zephyr, gpio-steppers";
2424 status = "okay";
2525
2626 motor_1: motor_1 {
You can’t perform that action at this time.
0 commit comments