hulk
1865389a23
feat(I2C): 通用读写接口支持16位寄存器地址
2026-08-06 00:52:51 +08:00
hulk
01dc6f85d7
refactor: 同步 actuator 项目的 RS485 支持和 ENABLE→CFG_ENABLE 重命名
...
- board_config.h: ENABLE/DISABLE 重命名为 CFG_ENABLE/CFG_DISABLE
- board_config.h: 新增 RS485_MODE 配置块(默认 CFG_DISABLE)
- uart.c: 新增 RS485 DE 引脚 AF 配置和硬件 485 模式配置
- 所有源文件: == ENABLE → == CFG_ENABLE(共 34 处)
- 兼容: RS485 默认关闭,零影响现有项目
2026-07-28 15:20:06 +00:00
hulk
a48e6b8ba6
更改宏定义的开启方式
2026-07-28 00:44:28 +08:00
Nova
5e0c68d1c9
docs(README): add comprehensive board_config.h macro switch documentation
...
- SOFTWARE_IIC: hardware vs software I2C selection
- DEBUG_MODE: printf output control with scope and overhead notes
- COM_DEBUG: command frame debug printing (depends on DEBUG_MODE)
- DEBUG_VERBOSE: verbose diagnostics (depends on DEBUG_MODE)
- SEGGER_RTT_DETECTION: RTT debug channel support
- Pin definitions reference and MCU auto-detect explanation
2026-07-27 23:37:16 +08:00
Nova
1f35ffd288
chore: sync from actuator_ctrl as new template baseline
...
- Add SEGGER_RTT support
- Revert .vscode/ to gitignore (project-specific IDE config)
- Updated CMakeLists.txt, board_config.h, main.c from actuator_ctrl
2026-07-27 22:12:38 +08:00
Nova
58c0cf7460
feat(vscode): add JLink flash/debug tasks and VSCode config
...
- tasks.json: Build + Flash/Reset/Erase via JLink Commander
- launch.json: cortex-debug J-Link debug configuration
- flash.jlink: JLink Commander script for automated flashing
- extensions.json: recommended VSCode extensions
- .gitignore: remove .vscode/ exclusion (template needs these files)
2026-07-27 18:47:00 +08:00
hulk
3a4435e7a6
docs: 添加 Bootloader Flash 偏移配置说明
2026-06-30 11:50:42 +08:00
hulk
38db72d94f
docs: 修正 README 并改进工具链检测
...
- README: 修正路径引用 (Tools→Toolchain, 去掉不存在的 Projects/ 层级)
- README: 新增快速开始 / 工程结构 / 板级配置 / 编译烧录章节
- README: 删除 '建议补充内容' 占位章
- cmake: arm-none-eabi-gcc.cmake 工具链找不到时 FATAL_ERROR 而非静默
2026-06-30 11:15:53 +08:00
hulk
bfa311b70f
sync(template): 回合 capsule_mb 通用驱动修复
...
- uart_ring_buffer: PRIMASK 位检查从 ==0 改为 &0x1 修正
- i2c: 新增 i2c_read_raw() 无子地址读函数
- 全局: volatile 统一替换为 __IO (CMSIS 风格)
2026-06-30 11:03:22 +08:00
hulk
03810e9cad
fix(toolchain):删除为toolchain预留的目录,现已经改为系统内toolchain
2026-03-24 23:40:04 +08:00
hulk
bb97bac349
Merge branch 'template_pc' of https://gitea.hulk.wang/hulk/gd32e23x_template_cmake_vscode into template_pc
2026-03-24 23:33:41 +08:00
hulk
f1edccc13d
fix(CMAKE):修改toolchain到系统内,避免工程路径体积过大
2026-03-24 23:33:35 +08:00
hulk
1e50a94427
串口环形缓冲区强化:单独单写及最小临界区修改
2026-02-24 14:22:01 +08:00
hulk
7419dec1b5
update template
2026-02-18 17:44:38 +08:00
hulk
d324d5f92a
Stop tracking .vscode directory
2025-09-27 11:05:08 +08:00
hulk
750b5f3215
Merge branch 'template_pc' of https://gitea.hulk.wang/hulk/gd32e23x_template_cmake_vscode into template_pc
2025-09-27 11:03:18 +08:00
hulk
2df3a1d8a5
remove local config
2025-09-27 11:01:18 +08:00
hulk
cad99ca5f2
add mcu flash detect
2025-08-25 21:10:54 +08:00
hulk
6d9328ca23
clear template
2025-08-19 22:50:08 +08:00
hulk
552984ef2a
commit
2025-08-19 22:46:27 +08:00
hulk
9e6333dca8
update readme
2025-08-10 06:54:55 +08:00
hulk
f1df3cc30e
first commit
2025-08-10 06:15:16 +08:00