…
README
Raw ↗LiteOS 5.0 CMake Project (default mcu: STM32F407ZG)
Requirements
- vscode with
ms-vscode.cmake-toolsextensions - cmake >= 3.20 (must in your system environment)
MinGW Makeorninja(must in your system environment)- toolchain:
arm-none-eabi 8.3.x(must in your system environment)
Prepare Work
-
Open
./.vscode/settings.jsonconfig file and set your CMake Generator by modifycmake.generatorfield.By default, we use
MinGW Make{ "cmake.generator": "MinGW Makefiles", "cmake.buildDirectory": "${workspaceFolder}/build", "files.associations": { "*.h": "c", "*.c": "c", ".cpp": "cpp" } }
Build Project
-
Press shortcuts
Ctrl+Shift+B, open vscode task list, selectBuildtask and run it to build project.