Skip to content

Commit

Permalink
Add other GD32A50x boards
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgerhardt committed Dec 23, 2024
1 parent 5f9127d commit 22919f2
Show file tree
Hide file tree
Showing 12 changed files with 447 additions and 2 deletions.
47 changes: 47 additions & 0 deletions boards/genericGD32A503CB.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m33",
"extra_flags": "-DGD32A5 -DGD32A503 -DGD32A50X",
"f_cpu": "100000000L",
"mcu": "gd32a503cbt3",
"spl_series": "GD32A50X",
"series": "GD32A503"
},
"debug": {
"jlink_device": "GD32A503CB",
"openocd_target": "unknown",
"svd_path": "GD32A50X.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32A503CB (24k RAM, 128k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 24576,
"maximum_size": 131072,
"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/gd32a503cbt3/",
"vendor": "GigaDevice"
}
47 changes: 47 additions & 0 deletions boards/genericGD32A503CC.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m33",
"extra_flags": "-DGD32A5 -DGD32A503 -DGD32A50X",
"f_cpu": "100000000L",
"mcu": "gd32a503cct3",
"spl_series": "GD32A50X",
"series": "GD32A503"
},
"debug": {
"jlink_device": "GD32A503CC",
"openocd_target": "unknown",
"svd_path": "GD32A50X.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32A503CC (32k RAM, 256k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 32768,
"maximum_size": 262144,
"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/gd32a503cct3/",
"vendor": "GigaDevice"
}
47 changes: 47 additions & 0 deletions boards/genericGD32A503KB.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m33",
"extra_flags": "-DGD32A5 -DGD32A503 -DGD32A50X",
"f_cpu": "100000000L",
"mcu": "gd32a503kbu3",
"spl_series": "GD32A50X",
"series": "GD32A503"
},
"debug": {
"jlink_device": "GD32A503KB",
"openocd_target": "unknown",
"svd_path": "GD32A50X.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32A503KB (24k RAM, 128k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 24576,
"maximum_size": 131072,
"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/gd32a503kbu3/",
"vendor": "GigaDevice"
}
47 changes: 47 additions & 0 deletions boards/genericGD32A503KC.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m33",
"extra_flags": "-DGD32A5 -DGD32A503 -DGD32A50X",
"f_cpu": "100000000L",
"mcu": "gd32a503kcu3",
"spl_series": "GD32A50X",
"series": "GD32A503"
},
"debug": {
"jlink_device": "GD32A503KC",
"openocd_target": "unknown",
"svd_path": "GD32A50X.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32A503KC (32k RAM, 256k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 32768,
"maximum_size": 262144,
"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/gd32a503kcu3/",
"vendor": "GigaDevice"
}
47 changes: 47 additions & 0 deletions boards/genericGD32A503RB.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m33",
"extra_flags": "-DGD32A5 -DGD32A503 -DGD32A50X",
"f_cpu": "100000000L",
"mcu": "gd32a503rbt3",
"spl_series": "GD32A50X",
"series": "GD32A503"
},
"debug": {
"jlink_device": "GD32A503RB",
"openocd_target": "unknown",
"svd_path": "GD32A50X.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32A503RB (24k RAM, 128k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 24576,
"maximum_size": 131072,
"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/gd32a503rbt3/",
"vendor": "GigaDevice"
}
47 changes: 47 additions & 0 deletions boards/genericGD32A503RC.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m33",
"extra_flags": "-DGD32A5 -DGD32A503 -DGD32A50X",
"f_cpu": "100000000L",
"mcu": "gd32a503rct3",
"spl_series": "GD32A50X",
"series": "GD32A503"
},
"debug": {
"jlink_device": "GD32A503RC",
"openocd_target": "unknown",
"svd_path": "GD32A50X.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32A503RC (32k RAM, 256k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 32768,
"maximum_size": 262144,
"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/gd32a503rct3/",
"vendor": "GigaDevice"
}
2 changes: 1 addition & 1 deletion boards/genericGD32A503RD.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"series": "GD32A503",
"zephyr": {
"variant": "gd32a503v_eval"
}
}
},
"debug": {
"jlink_device": "GD32A503RD",
Expand Down
47 changes: 47 additions & 0 deletions boards/genericGD32A503VB.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"build": {
"core": "gd32",
"cpu": "cortex-m33",
"extra_flags": "-DGD32A5 -DGD32A503 -DGD32A50X",
"f_cpu": "100000000L",
"mcu": "gd32a503vbt3",
"spl_series": "GD32A50X",
"series": "GD32A503"
},
"debug": {
"jlink_device": "GD32A503VB",
"openocd_target": "unknown",
"svd_path": "GD32A50X.svd",
"default_tools": [
"stlink"
],
"openocd_extra_pre_target_args": [
"-c",
"set CPUTAPID 0"
]
},
"frameworks": [
"spl"
],
"name": "GD32A503VB (24k RAM, 128k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 24576,
"maximum_size": 131072,
"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/gd32a503vbt3/",
"vendor": "GigaDevice"
}
Loading

0 comments on commit 22919f2

Please sign in to comment.