cancel
Showing results for 
Search instead for 
Did you mean: 

Project Settings Missing Headers

msalazar
Associate

I am currently following a tutorial on setting up micro-ros with STM32 uC's and for some reason, I can't seem to find a particular setting described in the steps.

micro-ROS can be used with SMT32CubeIDE following these steps:

  1. Clone this repository in your STM32CubeIDE project folder

  2. Go to Project -> Settings -> C/C++ Build -> Settings -> Build Steps Tab and in Pre-build steps add:

    docker pull microros/micro_ros_static_library_builder:kilted && docker run --rm -v ${workspace_loc:\${ProjName}}:/project --env MICROROS_LIBRARY_FOLDER=micro_ros_stm32cubemx_utils/microros_static_library_ide microros/micro_ros_static_library_builder:kilted

 

  • Add micro-ROS include directory. In Project -> Settings -> C/C++ Build -> Settings -> Tool Settings Tab -> MCU GCC Compiler -> Include paths add micro_ros_stm32cubemx_utils/microros_static_library_ide/libmicroros/include

I proceed to do the following but under the 'settings' menu, I am met with less options than described. I should mention that I am using Mac OS and STM32CubeIDE Version 1.18.1. When I tested this on my Window's machine, I can see all the menu options as described.

msalazar_0-1759351791922.png


I can work around temporarily by using my Window's machine, but ideally this is not a long term solution. How can I make these menu options appear on my IDE?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Correct, if the project has a custom makefile (is not a managed project), the tools options should be set in the makefile.

View solution in original post

3 REPLIES 3
Ghofrane GSOURI
ST Employee

Hello @msalazar 

Could you please try to use the latest version of STM32CubeIDE 1.19.0 and give me your feedback.

It would also be helpful if you could specify the version of macOS you are using ?

THX
Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi,

I think I have an idea of what's going on. Once I create a new project, I am able to see the appropriate settings but because in this particular project the build system is a separated Makefile, I think the settings are being hidden by the IDE.

Does this make sense?

Thanks.

Correct, if the project has a custom makefile (is not a managed project), the tools options should be set in the makefile.