Skip to content

Commit

Permalink
Merge pull request #46 from CommunityGD32Cores/gd32f30x_pinmap
Browse files Browse the repository at this point in the history
Gd32f30x pinmap improvements (WIP), F330 + F350 Arduino support
  • Loading branch information
maxgerhardt committed Apr 30, 2023
2 parents 3014216 + f511eed commit 0a1c8e7
Show file tree
Hide file tree
Showing 52 changed files with 1,341 additions and 961 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
- "examples/gd32-w51x-wifi-scan"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/jsoncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: json-syntax-check
uses: limitusus/json-syntax-check@v1
uses: limitusus/json-syntax-check@v2
with:
pattern: "\\.json$"
env:
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330C4.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330c4t6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330C4_GENERIC"
},
"debug": {
"jlink_device": "GD32F330C4",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330C4 (4k RAM, 16k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330C6.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330c6t6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330C6_GENERIC"
},
"debug": {
"jlink_device": "GD32F330C6",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330C6 (4k RAM, 32k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330C8.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330c8t6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330C8_GENERIC"
},
"debug": {
"jlink_device": "GD32F330C8",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330C8 (8k RAM, 64k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330CB.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330cbt6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330CB_GENERIC"
},
"debug": {
"jlink_device": "GD32F330CB",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330CB (16k RAM, 128k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330F4.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330f4p6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330F4_GENERIC"
},
"debug": {
"jlink_device": "GD32F330F4",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330F4 (4k RAM, 16k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330F6.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330f6p6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330F6_GENERIC"
},
"debug": {
"jlink_device": "GD32F330F6",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330F6 (4k RAM, 32k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330F8.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330f8p6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330F8_GENERIC"
},
"debug": {
"jlink_device": "GD32F330F8",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330F8 (8k RAM, 64k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330G4.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330g4u6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330G4_GENERIC"
},
"debug": {
"jlink_device": "GD32F330G4",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330G4 (4k RAM, 16k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330G6.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330g6u6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330G6_GENERIC"
},
"debug": {
"jlink_device": "GD32F330G6",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330G6 (4k RAM, 32k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330G8.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330g8u6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330G8_GENERIC"
},
"debug": {
"jlink_device": "GD32F330G8",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330G8 (8k RAM, 64k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330K4.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330k4u6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330K4_GENERIC"
},
"debug": {
"jlink_device": "GD32F330K4",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330K4 (4k RAM, 16k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330K6.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330k6u6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330K6_GENERIC"
},
"debug": {
"jlink_device": "GD32F330K6",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330K6 (4k RAM, 32k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330K8.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330k8u6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330K8_GENERIC"
},
"debug": {
"jlink_device": "GD32F330K8",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330K8 (8k RAM, 64k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330R8.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330r8t6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330R8_GENERIC"
},
"debug": {
"jlink_device": "GD32F330R8",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330R8 (16k RAM, 64k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F330RB.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "84000000L",
"mcu": "gd32f330rbt6",
"spl_series": "GD32F3x0",
"series": "GD32F330"
"series": "GD32F330",
"variant": "GD32F330RB_GENERIC"
},
"debug": {
"jlink_device": "GD32F330RB",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F330RB (16k RAM, 128k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F350C4.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "108000000L",
"mcu": "gd32f350c4t6",
"spl_series": "GD32F3x0",
"series": "GD32F350"
"series": "GD32F350",
"variant": "GD32F350C4_GENERIC"
},
"debug": {
"jlink_device": "GD32F350C4",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F350C4 (4k RAM, 16k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F350C6.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "108000000L",
"mcu": "gd32f350c6t6",
"spl_series": "GD32F3x0",
"series": "GD32F350"
"series": "GD32F350",
"variant": "GD32F350C6_GENERIC"
},
"debug": {
"jlink_device": "GD32F350C6",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F350C6 (6k RAM, 32k Flash)",
"upload": {
Expand Down
6 changes: 4 additions & 2 deletions boards/genericGD32F350C8.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"f_cpu": "108000000L",
"mcu": "gd32f350c8t6",
"spl_series": "GD32F3x0",
"series": "GD32F350"
"series": "GD32F350",
"variant": "GD32F350C8_GENERIC"
},
"debug": {
"jlink_device": "GD32F350C8",
Expand All @@ -21,7 +22,8 @@
]
},
"frameworks": [
"spl"
"spl",
"arduino"
],
"name": "GD32F350C8 (8k RAM, 64k Flash)",
"upload": {
Expand Down
Loading

0 comments on commit 0a1c8e7

Please sign in to comment.