Advertisement
Guest User

error log

a guest
Jun 7th, 2021
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c: In function 'main':
  2. /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:39:15: error: variable 'signal' has initializer but incomplete type
  3. 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
  4. | ^~~~~~~~~~~~
  5. /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]
  6. 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
  7. | ^~~~~~~~~~~~~~~~
  8. /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)
  9. 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
  10. | ^~~~~~~~~~~~~~~~
  11. /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
  12. /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:39:72: error: 'signal_gpios' undeclared (first use in this function)
  13. 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
  14. | ^~~~~~~~~~~~
  15. /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:39:28: error: storage size of 'signal' isn't known
  16. 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
  17. | ^~~~~~
  18. /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]
  19. 42 | gpio_pin_configure_dt(&signal, GPIO_OUTPUT_ACTIVE);
  20. | ^~~~~~~~~~~~~~~~~~~~~
  21. | gpio_pin_configure
  22. /home/octobotics/uros_ws/firmware/zephyr_apps/apps/motor_control/src/main.c:39:28: warning: unused variable 'signal' [-Wunused-variable]
  23. 39 | const struct gpio_dt_spec signal = GPIO_DT_SPEC_GET(ZEPHYR_USER_NODE, signal_gpios);
  24. | ^~~~~~
  25. make[2]: *** [CMakeFiles/app.dir/build.make:63: CMakeFiles/app.dir/src/main.c.obj] Error 1
  26. make[1]: *** [CMakeFiles/Makefile2:2038: CMakeFiles/app.dir/all] Error 2
  27. make: *** [Makefile:84: all] Error 2
  28. 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