Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c: In function 'main':
- /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:39:15: error: variable 'signal' has initializer but incomplete type
- 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
- | ^~~~~~~~~~~~
- /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:39:37: warning: implicit declaration of function 'GPIO_DT_SPEC_GET' [-Wimplicit-function-declaration]
- 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
- | ^~~~~~~~~~~~~~~~
- /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:39:54: error: 'ZEPHYR_USER_NODE' undeclared (first use in this function)
- 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
- | ^~~~~~~~~~~~~~~~
- /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:39:54: note: each undeclared identifier is reported only once for each function it appears in
- /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:39:72: error: 'signal_gpios' undeclared (first use in this function)
- 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
- | ^~~~~~~~~~~~
- /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:39:28: error: storage size of 'signal' isn't known
- 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
- | ^~~~~~
- /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:42:2: warning: implicit declaration of function 'gpio_pin_configure_dt'; did you mean 'gpio_pin_configure'? [-Wimplicit-function-declaration]
- 42 | gpio_pin_configure_dt(&signal, GPIO_OUTPUT_ACTIVE);
- | ^~~~~~~~~~~~~~~~~~~~~
- | gpio_pin_configure
- /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:39:28: warning: unused variable 'signal' [-Wunused-variable]
- 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
- | ^~~~~~
- make[2]: *** [CMakeFiles/app.dir/build.make:63: CMakeFiles/app.dir/src/main.c.obj] Error 1
- make[1]: *** [CMakeFiles/Makefile2:2038: CMakeFiles/app.dir/all] Error 2
- make: *** [Makefile:84: all] Error 2
- FATAL ERROR: command exited with status 2: /usr/bin/cmake --build /home/octobotics/uros_ws/firmware/build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement