yoneken / rosserial_stm32

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.
BSD 2-Clause "Simplified" License
218 stars 72 forks source link

Which part of "STM32Hardware.h" should I edit? #8

Closed Nyarn-WTF closed 5 years ago

Nyarn-WTF commented 5 years ago

Japanese

私はSTM32 Nucleo L4シリーズを使おうとしているのですが,変更する箇所はインクルードするファイルのf3をl4に変えるだけでいいのですか?また,ほかに変更しなければいけないと考えられる箇所はありますか?

English(machine translation)

I am trying to use the STM32 Nucleo L4 series, but is it only necessary to change f3 of the included file to l4? Also, are there any other places that you think you should change?

Nyarn-WTF commented 5 years ago

その後,自分で探した結果自己解決しました.以下,修正内容. STM32Hardware.hのf3をl4に変える. chatterの場合はCubeMXでDMA(RX=Circlar,TX=Nomal),USART2(baud=57600,GPIO SettingsのUserLabelをRX/TXそれぞれVCP_RX/VCP_TX),Tim2(clock source=internalclock)に設定.

yoneken commented 5 years ago

情報ありがとうございます! F3以外のシリーズのサンプルも欲しいところなので、もし気が向いたらサンプルをPRいただければ幸いです。

Nyarn-WTF commented 5 years ago

これからF4にも適用するつもりなのでL4と同じ方法で適用できたらやり方をまとめるつもりです。