Skip to content

Latest commit

 

History

History
37 lines (35 loc) · 1.12 KB

ReadMe.md

File metadata and controls

37 lines (35 loc) · 1.12 KB

Zephyr & ART-PI

编译

如果使用 west 工具构建,可先了解 west 工作区的概念,将本仓库按照如下结构放置

west-workspace/
│
├── zephyr-artpi/         # .git/    │
│   ├── CMakeLists.txt               │
│   ├── prj.conf                     │  never modified by west
│   ├── src/                         │
│   │   └── main.c                   │
│   └── west.yml         # main manifest with optional import(s) and override(s)
│                                    │
├── modules/
│   └── lib/
│       └── zcbor/       # .git/ project from either the main manifest or some import.
│
└── zephyr/              # .git/ project
    └── west.yml         # This can be partially imported with lower precedence or ignored.
                         # Only the 'manifest-rev' version can be imported.

west 命令如下(最终调用 cmake):

west build -b stm32h750_art_pi zephyr-artpi/

烧录

west 命令如下:

west flash

调试

west 命令如下:

west debugserver