File tree Expand file tree Collapse file tree 4 files changed +26
-0
lines changed
i18n/en/docusaurus-plugin-content-docs/current Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ int main() {
108
108
109
109
- 必须为 STM32CubeMX 导出的 CMake 工程;
110
110
- 必须存在 ` .ioc ` 文件;
111
+ - FreeRTOS 必须开启互斥锁(` configUSE_MUTEXES ` )
111
112
112
113
---
113
114
Original file line number Diff line number Diff line change @@ -49,3 +49,15 @@ sudo ln -s /opt/arm-gun-toolchain-xx.x/bin/* /usr/bin
49
49
sudo apt update
50
50
sudo apt install -y clang clangd
51
51
```
52
+
53
+ ## IDE配置
54
+
55
+ 所有IDE都需要配置STM32CubeCLT路径,CLion还需要OpenOCD。
56
+
57
+ ### VSCode
58
+
59
+ 使用STM32官方插件(` STMicroelectronics.stm32-vscode-extension ` )导入工程即可编译。
60
+
61
+ ### CLion
62
+
63
+ 使用CLion新建工程,选择STM32CubeMX,导入生成好的工程即可。
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ Place `app_main()` in the entry function of the main thread.
108
108
109
109
- Must be a CMake project exported from STM32CubeMX
110
110
- Must contain a valid ` .ioc ` file
111
+ - Must enable Mutex when using FreeRTOS(` configUSE_MUTEXES ` )
111
112
112
113
---
113
114
Original file line number Diff line number Diff line change @@ -52,3 +52,15 @@ You can install it using apt. Ensure the version is 18.1 or above (versions in U
52
52
sudo apt update
53
53
sudo apt install -y clang clangd
54
54
```
55
+
56
+ ## IDE Configuration
57
+
58
+ All IDEs need to configure the STM32CubeCLT path. CLion also requires OpenOCD.
59
+
60
+ ### VSCode
61
+
62
+ Use the official STM32 extension (` STMicroelectronics.stm32-vscode-extension ` ) to import and build the project.
63
+
64
+ ### CLion
65
+
66
+ Create a new project in CLion, choose STM32CubeMX, and import the generated project.
You can’t perform that action at this time.
0 commit comments