Skip to content

Commit

Permalink
Add support for STM32CubeIDE. fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
yoneken committed Jan 14, 2020
1 parent 7eca8c6 commit c4239dc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) and [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
Expand Down

0 comments on commit c4239dc

Please sign in to comment.