https://github.com/github0null/liteosv5.0_cmake
LiteOS 5.0 CMake Project (default mcu: STM32F407ZG)
https://github.com/github0null/liteosv5.0_cmake
cmake liteos
Last synced: 9 months ago
JSON representation
LiteOS 5.0 CMake Project (default mcu: STM32F407ZG)
- Host: GitHub
- URL: https://github.com/github0null/liteosv5.0_cmake
- Owner: github0null
- License: bsd-3-clause
- Created: 2022-02-28T01:42:20.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-01T07:26:27.000Z (almost 4 years ago)
- Last Synced: 2025-01-25T22:22:52.278Z (about 1 year ago)
- Topics: cmake, liteos
- Language: C
- Homepage:
- Size: 81.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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.
