Files
ai_soc_sw/ENVIRONMENT.md
T
tupingr 3d43cd87d5 feat: 项目架构重构 - hwd32h757芯片成片测试及SDK开发
- 从errlens模板(3角色)重构为1人+Arch AI+Worker AI(2角色)
- 去掉review仓库/QA AI/Dev AI分离,Worker AI统一负责开发+测试
- 新增33个功能单元目录(Test/cases/),按P0-P6七阶段bring-up
- 新增SDK驱动层骨架(Drivers/CMSIS/HAL_Driver/BSP)
- Arch AI/Worker AI角色不绑定特定AI平台,任何AI可随时接手
- 5个ADR:测试驱动SDK演进、HAL/LL双层、分阶段bring-up、单仓库、角色可替换
- 参考errlens的分层信息架构:dashboard→card→task,token预算控制
2026-05-27 16:37:52 +08:00

49 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# hwd32h757 开发环境配置
## 芯片信息
| 项目 | 值 |
|------|-----|
| 芯片代号 | hwd32h757 |
| 内核 | Cortex-M7 |
| 参考架构 | STM32H7系列 |
| SDK框架 | HAL/LL双层(参考STM32CubeH7 |
## 前置依赖
| 工具 | 版本要求 | 说明 |
|------|---------|------|
| GCC ARM | >= 13.x | 交叉编译器 |
| CMake | >= 3.20 | 构建系统 |
| Python | >= 3.10 | 工具脚本(SVD解析、测试报告) |
| OpenOCD / J-Link | — | 烧录调试 |
| Git | >= 2.40 | 版本控制 |
## 开发工具
- **IDE**: VS Code + Cortex-Debug + CMake Tools
- **AI协作**: 1人 + Arch AI + Worker AI
- **上下文同步**: AGENTS.md + dashboard.md(任何AI读到即可接手)
## 硬件环境
- **评估板**: HWD32H757-EVAL
- **调试器**: J-Link / ST-LinkSWD接口)
- **串口**: USB-UART(调试输出)
## 快速开始
```bash
# 1. 克隆项目
git clone https://gitcode.com/tupingr/ai_soc_sw.git
cd ai_soc_sw
# 2. 构建
mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/arm-gcc-toolchain.cmake
make
# 3. 烧录
openocd -f interface/jlink.cfg -f target/hwd32h757.cfg -c "program build/Test/cases/gpio/gpio_test.elf verify reset exit"
```