micro-ROS / micro-ROS/micro_ros_setup

Micro-ros on nucleo64 STM32F401RE fail build

Đang mở
#751 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Shell
Star
509
Fork
183
Merge trung bình
22 giờ 26 phút
Pull request đã merge (30 ngày)
7

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với create_firmware_ws.sh và danh sách nền tảng để so sánh các target được yêu cầu là nuttx/nucleo_f401re và zephyr/nucleo_f401re. Sau đó kiểm tra zephyr_apps/apps/ping_pong/CMakeLists.txt và chạy lại configure_firmware.sh với các tùy chọn board và transport đã báo cáo. Được xem là hoàn tất khi workspace firmware cấu hình thành công cho STM32F401RE, hoặc issue ghi nhận rằng tổ hợp board và app được yêu cầu không được hỗ trợ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cmake, shell, ubuntu
Lĩnh vực
build-system, embedded-iot
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.