Skip to content

Commit

Permalink
Add preliminary H7xx board definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgerhardt committed Dec 25, 2024
1 parent cb2fad9 commit c55f3ac
Show file tree
Hide file tree
Showing 30 changed files with 107,739 additions and 8 deletions.
48 changes: 48 additions & 0 deletions boards/gd32h757z_start.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m7",
"extra_flags": "-DGD32H7 -DGD32H737 -DGD32H7XX",
"f_cpu": "600000000L",
"mcu": "gd32h737zmt6",
"spl_series": "GD32H7XX",
"series": "GD32H737"
},
"debug": {
"jlink_device": "GD32H737ZM",
"openocd_target": "stm32f1x",
"svd_path": "GD32H7XX.svd",
"default_tools": [
"cmsis-dap"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32H737ZM (1024k RAM, 3840k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 327680,
"maximum_size": 3932160,
"ram_start": "0x24000000",
"protocol": "gdlinkcli",
"protocols": [
"jlink",
"cmsis-dap",
"stlink",
"blackmagic",
"sipeed-rv-debugger",
"serial",
"gdlinkcli"
],
"require_upload_port": true,
"use_1200bps_touch": false,
"wait_for_upload_port": false
},
"url": "https://www.gigadevice.com/product/mcu/mcus-product-selector/gd32h737zmt6/",
"vendor": "GigaDevice"
}
48 changes: 48 additions & 0 deletions boards/genericGD32H737IG.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m7",
"extra_flags": "-DGD32H7 -DGD32H737 -DGD32H7XX",
"f_cpu": "600000000L",
"mcu": "gd32h737igk6",
"spl_series": "GD32H7XX",
"series": "GD32H737"
},
"debug": {
"jlink_device": "GD32H737IG",
"openocd_target": "stm32f1x",
"svd_path": "GD32H7XX.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32H737IG (1024k RAM, 1024k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 327680,
"maximum_size": 1048576,
"protocol": "stlink",
"protocols": [
"jlink",
"cmsis-dap",
"stlink",
"blackmagic",
"sipeed-rv-debugger",
"serial",
"gdlinkcli"
],
"require_upload_port": true,
"use_1200bps_touch": false,
"wait_for_upload_port": false,
"ram_start": "0x24000000"
},
"url": "https://www.gigadevice.com/product/mcu/mcus-product-selector/gd32h737igk6/",
"vendor": "GigaDevice"
}
48 changes: 48 additions & 0 deletions boards/genericGD32H737II.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m7",
"extra_flags": "-DGD32H7 -DGD32H737 -DGD32H7XX",
"f_cpu": "600000000L",
"mcu": "gd32h737iik6",
"spl_series": "GD32H7XX",
"series": "GD32H737"
},
"debug": {
"jlink_device": "GD32H737II",
"openocd_target": "stm32f1x",
"svd_path": "GD32H7XX.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32H737II (1024k RAM, 2048k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 327680,
"maximum_size": 2097152,
"protocol": "stlink",
"protocols": [
"jlink",
"cmsis-dap",
"stlink",
"blackmagic",
"sipeed-rv-debugger",
"serial",
"gdlinkcli"
],
"require_upload_port": true,
"use_1200bps_touch": false,
"wait_for_upload_port": false,
"ram_start": "0x24000000"
},
"url": "https://www.gigadevice.com/product/mcu/mcus-product-selector/gd32h737iik6/",
"vendor": "GigaDevice"
}
48 changes: 48 additions & 0 deletions boards/genericGD32H737IM.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m7",
"extra_flags": "-DGD32H7 -DGD32H737 -DGD32H7XX",
"f_cpu": "600000000L",
"mcu": "gd32h737imk6",
"spl_series": "GD32H7XX",
"series": "GD32H737"
},
"debug": {
"jlink_device": "GD32H737IM",
"openocd_target": "stm32f1x",
"svd_path": "GD32H7XX.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32H737IM (1024k RAM, 3840k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 327680,
"maximum_size": 3932160,
"protocol": "stlink",
"protocols": [
"jlink",
"cmsis-dap",
"stlink",
"blackmagic",
"sipeed-rv-debugger",
"serial",
"gdlinkcli"
],
"require_upload_port": true,
"use_1200bps_touch": false,
"wait_for_upload_port": false,
"ram_start": "0x24000000"
},
"url": "https://www.gigadevice.com/product/mcu/mcus-product-selector/gd32h737imk6/",
"vendor": "GigaDevice"
}
48 changes: 48 additions & 0 deletions boards/genericGD32H737VG.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m7",
"extra_flags": "-DGD32H7 -DGD32H737 -DGD32H7XX",
"f_cpu": "600000000L",
"mcu": "gd32h737vgt6",
"spl_series": "GD32H7XX",
"series": "GD32H737"
},
"debug": {
"jlink_device": "GD32H737VG",
"openocd_target": "stm32f1x",
"svd_path": "GD32H7XX.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32H737VG (1024k RAM, 1024k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 327680,
"maximum_size": 1048576,
"protocol": "stlink",
"protocols": [
"jlink",
"cmsis-dap",
"stlink",
"blackmagic",
"sipeed-rv-debugger",
"serial",
"gdlinkcli"
],
"require_upload_port": true,
"use_1200bps_touch": false,
"wait_for_upload_port": false,
"ram_start": "0x24000000"
},
"url": "https://www.gigadevice.com/product/mcu/mcus-product-selector/gd32h737vgt6/",
"vendor": "GigaDevice"
}
48 changes: 48 additions & 0 deletions boards/genericGD32H737VI.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m7",
"extra_flags": "-DGD32H7 -DGD32H737 -DGD32H7XX",
"f_cpu": "600000000L",
"mcu": "gd32h737vit6",
"spl_series": "GD32H7XX",
"series": "GD32H737"
},
"debug": {
"jlink_device": "GD32H737VI",
"openocd_target": "stm32f1x",
"svd_path": "GD32H7XX.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32H737VI (1024k RAM, 2048k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 327680,
"maximum_size": 2097152,
"protocol": "stlink",
"protocols": [
"jlink",
"cmsis-dap",
"stlink",
"blackmagic",
"sipeed-rv-debugger",
"serial",
"gdlinkcli"
],
"require_upload_port": true,
"use_1200bps_touch": false,
"wait_for_upload_port": false,
"ram_start": "0x24000000"
},
"url": "https://www.gigadevice.com/product/mcu/mcus-product-selector/gd32h737vit6/",
"vendor": "GigaDevice"
}
48 changes: 48 additions & 0 deletions boards/genericGD32H737VM.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m7",
"extra_flags": "-DGD32H7 -DGD32H737 -DGD32H7XX",
"f_cpu": "600000000L",
"mcu": "gd32h737vmt6",
"spl_series": "GD32H7XX",
"series": "GD32H737"
},
"debug": {
"jlink_device": "GD32H737VM",
"openocd_target": "stm32f1x",
"svd_path": "GD32H7XX.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32H737VM (1024k RAM, 3840k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 327680,
"maximum_size": 3932160,
"protocol": "stlink",
"protocols": [
"jlink",
"cmsis-dap",
"stlink",
"blackmagic",
"sipeed-rv-debugger",
"serial",
"gdlinkcli"
],
"require_upload_port": true,
"use_1200bps_touch": false,
"wait_for_upload_port": false,
"ram_start": "0x24000000"
},
"url": "https://www.gigadevice.com/product/mcu/mcus-product-selector/gd32h737vmt6/",
"vendor": "GigaDevice"
}
48 changes: 48 additions & 0 deletions boards/genericGD32H737ZG.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m7",
"extra_flags": "-DGD32H7 -DGD32H737 -DGD32H7XX",
"f_cpu": "600000000L",
"mcu": "gd32h737zgt6",
"spl_series": "GD32H7XX",
"series": "GD32H737"
},
"debug": {
"jlink_device": "GD32H737ZG",
"openocd_target": "stm32f1x",
"svd_path": "GD32H7XX.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32H737ZG (1024k RAM, 1024k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 327680,
"maximum_size": 1048576,
"protocol": "stlink",
"protocols": [
"jlink",
"cmsis-dap",
"stlink",
"blackmagic",
"sipeed-rv-debugger",
"serial",
"gdlinkcli"
],
"require_upload_port": true,
"use_1200bps_touch": false,
"wait_for_upload_port": false,
"ram_start": "0x24000000"
},
"url": "https://www.gigadevice.com/product/mcu/mcus-product-selector/gd32h737zgt6/",
"vendor": "GigaDevice"
}
Loading

0 comments on commit c55f3ac

Please sign in to comment.