aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorZL2WRW <49885788+ZL2WRW@users.noreply.github.com>2020-09-08 07:27:08 +1200
committerGitHub <noreply@github.com>2020-09-07 12:27:08 -0700
commit48e40f35132583d5adc98cd01987d6639d320e55 (patch)
tree27ed9e2b9e9e5dc1cbfe9afcf173706f34b201d8 /contrib
parent5e84c5dd8a11290b1a16eed1bc95417cfff44db3 (diff)
downloadriscv-openocd-48e40f35132583d5adc98cd01987d6639d320e55.zip
riscv-openocd-48e40f35132583d5adc98cd01987d6639d320e55.tar.gz
riscv-openocd-48e40f35132583d5adc98cd01987d6639d320e55.tar.bz2
Add support for GD32VF103 flash (#518)
* Backport of GD32VF103 flash driver from https://github.com/riscv-mcu/riscv-openocd (GPL2 licensed) Tested with a "Longan Nano" GD32VF103 dev board and seems to be working (flash can be read, erased and written). * Modify src/flash/nor/gd32vf103.c to comply with Travis CI code style requirements. * Modified README to include GD32VF103 in list of supported flash devices.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/loaders/flash/gd32v/gd32vf103.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/loaders/flash/gd32v/gd32vf103.inc b/contrib/loaders/flash/gd32v/gd32vf103.inc
new file mode 100644
index 0000000..d68b173
--- /dev/null
+++ b/contrib/loaders/flash/gd32v/gd32vf103.inc
@@ -0,0 +1,8 @@
+/* Autogenerated with ../../../../src/helper/bin2char.sh */
+0x6f,0x00,0x80,0x00,0x73,0x00,0x10,0x00,0x03,0x2b,0x06,0x00,0x63,0x0c,0x0b,0x04,
+0x83,0x2a,0x46,0x00,0xb3,0x87,0x6a,0x41,0xe3,0x88,0x07,0xfe,0x03,0xdb,0x0a,0x00,
+0x23,0x10,0x67,0x01,0x93,0x8a,0x2a,0x00,0x13,0x07,0x27,0x00,0x83,0x2b,0xc5,0x00,
+0x93,0xf7,0x1b,0x00,0xe3,0x9c,0x07,0xfe,0x93,0xf7,0x4b,0x01,0x63,0x90,0x07,0x02,
+0x63,0xe6,0xda,0x00,0x93,0x0a,0x06,0x00,0x93,0x8a,0x8a,0x00,0x23,0x22,0x56,0x01,
+0x93,0x85,0xf5,0xff,0x63,0x88,0x05,0x00,0x6f,0xf0,0x1f,0xfb,0x13,0x05,0x00,0x00,
+0x23,0x22,0xa6,0x00,0x13,0x85,0x0b,0x00,0x6f,0xf0,0xdf,0xf9,