Created
February 26, 2025 19:21
-
-
Save max-dark/ca2f8e9e2f0a1ac0716280d1148b32fa to your computer and use it in GitHub Desktop.
OpenOCD config for GD32F1xx MCU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # file gd32f1xx.cfg | |
| # script for gd32f1x family | |
| set CPUTAPID 0x2ba01477 | |
| # optional name | |
| set CHIPNAME gd32f1x | |
| # autodetect flash size | |
| # set FLASH_SIZE 0 | |
| # use SWD | |
| source [find interface/stlink.cfg] | |
| transport select hla_swd | |
| source [find target/stm32f1x.cfg] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment