diff --git a/README.md b/README.md index 492f2f2..181eb0d 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,16 @@ This is a part of [rosserial](https://github.com/ros-drivers/rosserial) repository to communicate with ROS system through a USART for STM32 embedded system. ## Limitation -Currently, this code is focused on STM32F3xx series and it uses the [STM32CubeMX HAL](http://www.st.com/en/development-tools/stm32cubemx.html). +Currently, this code is focused on STM32F3xx series and it uses the [STM32CubeIDE](https://www.st.com/en/development-tools/stm32cubeide.html) or [STM32CubeMX HAL](http://www.st.com/en/development-tools/stm32cubemx.html). If you use the package for other series, please edit src/ros_lib/STM32Hardware.h . After that, we appreciate you sharing your code :) ## Generate code -$ cd _target_sw4stm32_workspace_ +$ cd _target_workspace_ (It should contain Inc and Src directories). $ rosrun rosserial_stm32 make_libraries.py . -**Never forget to change the project type to _cpp project_ in SW4STM32!!** +**Never forget to change the project type to _cpp project_ in STM32CubeIDE or SW4STM32!!** +**For STM32CubeIDE users:** [You have to add /Inc directory as a "Source Location" in the project properties(C/C++ General > Paths and Symbols > Source Location).](https://github.com/yoneken/rosserial_stm32/issues/10#issuecomment-573997253) + ## Examples See src/ros_lib/examples