micro-ROS / micro_ros_setup

Support macros for building micro-ROS-based firmware.
Apache License 2.0
359 stars 131 forks source link

Unable to build ping-pong application firmware for STM32F429I DISC #633

Closed prashantlab closed 1 year ago

prashantlab commented 1 year ago

Issue template

Steps to reproduce the issue

Followed the details in link above and sucessfully installed the package. At build stage I replaced the board type to the one I have which is "stm32f429i_disc1" but it says ping-pong in not compatible with said board.

As per my understanding, the starndard settings should work ! What am I missing here ?

Expected behavior

Build sucessful

Actual behavior

prashant@ubuntu22:~/microros_ws$ ros2 run micro_ros_setup build_firmware.sh Crosscompiled environment: cleaning path Building firmware for zephyr platform stm32f429i_disc1 Selected app: ping_pong Unrecognized board: stm32f429i_disc1. Trying to build Configuration: Using transport-specific serial-usb.conf -- west build: generating a build system CMake Error at CMakeLists.txt:7 (message): App ping_pong not compatible with board stm32f429i_disc1

-- Configuring incomplete, errors occurred! FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/prashant/microros_ws/firmware/build -S/home/prashant/microros_ws/firmware/zephyr_apps/apps/ping_pong -GNinja -DBOARD=stm32f429i_disc1 -DCONF_FILE=/home/prashant/microros_ws/firmware/zephyr_apps/apps/ping_pong/serial-usb.conf '-GUnix Makefiles' -DCMAKE_VERBOSE_MAKEFILE=off -DMICRO_ROS_FIRMWARE_DIR=/home/prashant/microros_ws/firmware -DMICRO_ROS_TRANSPORT=serial-usb [ros2run]: Process exited with failure 1

Additional information

Edit 1:

Following the guide https://micro.ros.org/docs/tutorials/core/first_application_rtos/zephyr/ I was able to build ping-pong application for board olimex-stm32-e407. Trying to figure out how to configure the application to make it compatible with STM32F429I board.

prashantlab commented 1 year ago

issue remain unresolved. Closing as I've taken a different route.