mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-24 01:23:52 +08:00
Add STM32 Virtual COM Port Driver
This commit is contained in:
@@ -68,6 +68,7 @@ To compile the program, you first need to install the prerequisite tools:
|
||||
* Installing on Ubuntu: `sudo apt-get install gdb-arm-none-eabi`
|
||||
* `OpenOCD`: Open On-Chip Debugging tools. This is what we use to flash the code onto the microcontroller.
|
||||
* Installing on Ubuntu: `sudo apt-get install openocd`
|
||||
* No additional USB CDC driver should be required on Linux.
|
||||
|
||||
#### Windows:
|
||||
##### Git Bash and manual tool installations
|
||||
@@ -76,6 +77,7 @@ Install the following:
|
||||
* [GNU ARM Embedded Toolchain](https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads). The cross-compiler used to compile the code. Download and install the "Windows 32-bit" version. Make sure to tick the "add to path" option.
|
||||
* [Make for Windows](http://gnuwin32.sourceforge.net/packages/make.htm). Make is used to script the compilation process. Download and run the complete package setup program. Add the path of the binaries to your PATH environment variable. For me this was at `C:\Program Files (x86)\GnuWin32\bin`.
|
||||
* OpenOCD. Follow the instructions at [GNU ARM Eclipse - How to install the OpenOCD binaries](http://gnuarmeclipse.github.io/openocd/install/), including the part about ST-LINK/V2 drivers. Add the path of the binaries to your PATH environment variable. For me this was at `C:\Program Files\GNU ARM Eclipse\OpenOCD\0.10.0-201704182147-dev\bin`.
|
||||
* You may need to install the [STM32 Virtual COM Port Driver](https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stsw-stm32102.license%3d1496877042981.html).
|
||||
|
||||
After installing all of the above, open a Git Bash shell. Continue at section [Building the firmware](#building-the-firmware).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user