stm32cubemx+clion安装资料
安装java jdk:- https://download.oracle.com/otn-pub/java/jdk/15+36/779bf45e88a44cbd9ea6621d33e33db1/jdk-15_osx-x64_bin.dmg?AuthParam=1601480809_2ce17a11eb4848a1173c6e47f1b92e5c
复制代码
安装stm32cubemx:下载地址
- https://www.st.com/content/ccc/resource/technical/software/sw_development_suite/group0/9e/ce/6e/18/d2/ff/46/57/stm32cubemx_v6-0-1/files/stm32cubemx_v6-0-1.zip/jcr:content/translations/en.stm32cubemx_v6-0-1.zip
复制代码- ├── Readme.html
- ├── SetupSTM32CubeMX-6.0.1.app
- │ └── Contents
- │ ├── Info.plist
- │ ├── MacOs
- │ │ └── SetupSTM32CubeMX-6_0_1_macos
- │ └── Resources
- │ └── stm32cubemx.icns
- ├── SetupSTM32CubeMX-6.0.1.exe
- └── SetupSTM32CubeMX-6.0.1.linux
复制代码
- Installing and running STM32CubeMX 6.0.1
- Supported operating systems and architectures
- Windows® 8: 64-bit (x64)
- Windows® 10: 64-bit (x64)
- Linux®: 64-bit (x64) (tested on RedHat, Ubuntu and Fedora)
- Since STM32CubeMX is a 32-bit application, some distributions of Linux 64-bit
- require to install 32-bit compliant packages.
- MacOS: 64-bit (x64) (tested on OS X El Capitan and later)
- Software requirements
- The use of Java Runtime Environment (JRE) 64-bits is mandatory. JRE 32-bits is no more supported. The JRE minimal version is 1.8_45.
- The version 1.8_251 must not be used (known Java issue).
- Java™ 11 is supported.
- Java™ 7, Java™ 9, Java™ 10, Java™ 12 and upper are not supported.
- Installing STM32CubeMX standalone version
- To install STM32CubeMX, follow the steps below:
- Download STM32CubeMX installation package from www.st.com/stm32cubemx.
- Extract (unzip) the whole content of the the latest STM32CubeMX installation package from http://www.st.com/stm32cubemx into the same directory
- Check your access rights and launch the installation wizard:
- on Windows
- Make sure you have administrators rights
- Double click on the SetupSTM32CubeMX-6.0.1.exe file to launch the installation wizard
- On Linux
- Make sure you have access rights to the target installation directory. You can run the installation as root (or sudo) to install STM32CubeMX in shared directories
- Do "chmod 777 SetupSTM32CubeMX-6.0.1.linux" to change the properties, so that the file is executable.
- Double click on the SetupSTM32CubeMX-6.0.1.linux file or launch it from the console window.
- On MacOS
- Make sure you have administrators rights.
- Double click on the SetupSTM32CubeMX-6.0.1 application file to launch the wizard.
- In case of error, launch the exe file with the following command :
- sudo java -jar SetupSTM32CubeMX-6.0.1.exe
复制代码
openocd:查看是否已经安装成功openocd
会返回路径或者查看openocd版本:
arm-none-eabi-gccmacos下载Mac OS X 64-bit Package (Signed and notarized):
- https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
复制代码或者用brew安装 - brew tap ArmMbed/homebrew-formulae
- brew install arm-none-eabi-gcc
复制代码
安装完arm-none-eabi-gcc, 用命令去检测查去是否已经成功安装好.
clion下载地址:
- https://download-cf.jetbrains.com/cpp/CLion-2020.2.3.dmg
复制代码 安装完, 需要安装stm32 openocd插件,- preferences-->build-->toolchains-->debugger:bundled GDB.
- preferences-->build-->embed development设置 openocd(上面有提过怎么查openocd路径)和stm32cubemx路径.
|