micro-ROS / micro-ROS/micro_ros_setup
Micro-ros on nucleo64 STM32F401RE fail build
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Shell
- Estrellas
- 509
- Forks
- 183
- Merge medio
- 22 h 26 min
- PR fusionados (30 d)
- 7
Descripción
My hardware setup this board nucleo64 STM32F401RE
My software setup Ros humble native and Ubuntu 22.04.5 LTS
problem at the environment creation stage
First i check avalible platfroms i have next list
! ros2 run micro_ros_setup create_firmware_ws.sh nuttx nucleo_f401re
Non valid RTOS/Platform: nuttx/nucleo_f401re
Available platforms:
. android
+-- generic
. freertos
+-- crazyflie21
+-- esp32
+-- nucleo_f446re
+-- nucleo_f446ze
+-- nucleo_f746zg
+-- nucleo_f767zi
+-- olimex-stm32-e407
. generate_lib
+-- generic
. host
+-- generic
. mbed
+-- disco_l475vg_iot01a
. raspbian
+-- stretch_v8
+-- buster_v7
+-- buster_v8
. renesas_ra
+-- ra6m5
. zephyr
+-- discovery_l475_iot1
+-- olimex-stm32-e407
+-- nucleo_f401re
+-- nucleo_h743zi
+-- nucleo_f746zg
Second I run this command started the installation process, but during it I always have several libraries gave an error cloning in zephyr_project/modules, but I manually installed them, and cloned the repository zephyr_apps.
ros2 run micro_ros_setup create_firmware_ws.sh zephyr nucleo_f401re
I then tried running this command
ros2 run micro_ros_setup configure_firmware.sh ping_pong --transport serial-usb
and get this error
!
-- west build: generating a build system
CMake Error at CMakeLists.txt:7 (message):
App ping_pong not compatible with board nucleo_f401re
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/sip/microros_ws/firmware/build -S/home/sip/microros_ws/firmware/zephyr_apps/apps/ping_pong -GNinja -DBOARD=nucleo_f401re -DCONF_FILE=/home/sip/microros_ws/firmware/zephyr_apps/apps/ping_pong/serial.conf '-GUnix Makefiles' -DCMAKE_VERBOSE_MAKEFILE=off -DMICRO_ROS_FIRMWARE_DIR=/home/sip/microros_ws/firmware -DMICRO_ROS_TRANSPORT=serial
How do I solve these problems should I upgrade Ubuntu to 24.04 or how do I use micro-ros on my board?
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con create_firmware_ws.sh y la lista de plataformas para comparar los objetivos solicitados nuttx/nucleo_f401re y zephyr/nucleo_f401re. Después inspecciona zephyr_apps/apps/ping_pong/CMakeLists.txt y vuelve a ejecutar configure_firmware.sh con las opciones de board y transporte indicadas. Se considera terminado cuando el espacio de trabajo del firmware se configura correctamente para el STM32F401RE, o cuando el issue documenta que la combinación solicitada de board y app no es compatible.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- cmake, shell, ubuntu
- Área
- build-system, embedded-iot
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100