# LiteOSv5.0_CMake **Repository Path**: fangdb/LiteOSv5.0_CMake ## Basic Information - **Project Name**: LiteOSv5.0_CMake - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-24 - **Last Updated**: 2024-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## LiteOS 5.0 CMake Project (default mcu: STM32F407ZG) ## Requirements - vscode with `ms-vscode.cmake-tools` extensions - cmake >= 3.20 (**must in your system environment**) - `MinGW Make` or `ninja` (**must in your system environment**) - toolchain: `arm-none-eabi 8.3.x` (**must in your system environment**) *** ## Prepare Work - Open `./.vscode/settings.json` config file and set your **CMake Generator** by modify `cmake.generator` field. By default, we use `MinGW Make` ```json { "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, select `Build` task and run it to build project. ![](./doc/cmake_build.png)