-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how could I build a project by my own #265
Comments
You need to create micro-ROS support for your board as it is not supported. Some micro-ROS for freeRTOS board support are based in STMCubeMX, check this for an example on how to create new board support. Although there is a lot of files, most of them are autogenerated, so at the end, you can analyze the |
|
I guess that these errors are not related to micro-ROS but related to your FreeRTOS port |
thanks for all. I had already built it, and test for my own gpio setting. yeah, it did relate to my Freertos setting. I let it to be original on the Freertos setting within my stm32F407CubeMX.
I comment this two line so I can build it. But any thing I should Know if I put this two line disable. Have no idea what will happen with my Freertos task. |
Could you share some details about your project? Are you using a development hardware board that you can contribute to micro-ROS? Can we close the issue? Thanks! |
sure.I just use some base gpio function for now, and uart testing no yet. I'm going to add RS485 in it. I'm using a development hardware board, will share it after I test a more bit later. |
Could you please provide steps for replicating this? |
Makefile of MineI Makefile little by little copy from the And finaly , firmware can build without changing the freertos.c in $(my_project)/Core/Src/ With Makfile as follow.
and when I start to add
and add feature to void StartDefaultTask(void *argument) Like
Especially with code here
and this One
the Building error comes out. |
Could you please provide steps for replicating this? This is:
|
sorry for taking so long, here is my repo that you can check the project I use and the config file I use |
With these changes, I have been able to build it: Needrom/Microros-on-DIscovery-board#1 |
Yes!It can build now ! appreciate for that |
Cool, let us know about your progress and projects! |
Sure! Will do. |
I learn some thing from a close issue which is https://github.com/micro-ROS/micro_ros_setup/issues/202
but i didn't see any thing about how to add a base project with gpio lwip freertos by ourselves. I want to build it from a makefile project from stm32cubuMX, but don't know how. I try compare the project with a base project from stm32CubeMX and a project in /firmware/......./microros_olimex_e407_extensions/ ,with no idea to transfer my base project to a project can built by a script which is "ros2 run micro_ros_setup build_firmware.sh"
the board I use
the same chip with olimex_e407. stm32f407zgt6
if any could tell me how to add a project to firmware from a base Makefile project from stm32CubeMX?
OK I find this https://github.com/micro-ROS/micro_ros_setup/issues/161
Not try yet, But I think I can get some idea from this link
Or if I just want to add some new support in microros_olimex_e407_extensions just like GPIO.
The text was updated successfully, but these errors were encountered: