Skip to content

Commit 4dfe4d5

Browse files
committed
More identifying macros for CH5xx CH6xx series, correct minichlink invocation, update ch32fun framework support and name
1 parent 100e1c1 commit 4dfe4d5

30 files changed

+159
-56
lines changed

boards/genericCH565M.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"build": {
33
"clock_source": "hsi+pll",
4-
"extra_flags": "-DCH56 -DCH56X -DCH565",
4+
"extra_flags": "-DCH56 -DCH56xM -DCH5xx -DCH56X -DCH56x -DCH565",
55
"f_cpu": "120000000L",
66
"hwids": [
77
[
@@ -23,7 +23,8 @@
2323
"svd_path": "CH565.svd"
2424
},
2525
"frameworks": [
26-
"noneos-sdk"
26+
"noneos-sdk",
27+
"ch32v003fun"
2728
],
2829
"name": "Generic CH565M",
2930
"upload": {

boards/genericCH565W.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"build": {
33
"clock_source": "hsi+pll",
4-
"extra_flags": "-DCH56 -DCH56X -DCH565",
4+
"extra_flags": "-DCH56 -DCH56xW -DCH5xx -DCH56X -DCH56x -DCH565",
55
"f_cpu": "120000000L",
66
"hwids": [
77
[
@@ -23,7 +23,8 @@
2323
"svd_path": "CH565.svd"
2424
},
2525
"frameworks": [
26-
"noneos-sdk"
26+
"noneos-sdk",
27+
"ch32v003fun"
2728
],
2829
"name": "Generic CH565W",
2930
"upload": {

boards/genericCH569W.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"build": {
33
"clock_source": "hsi+pll",
4-
"extra_flags": "-DCH56 -DCH56X -DCH569",
4+
"extra_flags": "-DCH56 -DCH56xW -DCH5xx -DCH56X -DCH56x -DCH569",
55
"f_cpu": "120000000L",
66
"hwids": [
77
[
@@ -23,7 +23,8 @@
2323
"svd_path": "CH569.svd"
2424
},
2525
"frameworks": [
26-
"noneos-sdk"
26+
"noneos-sdk",
27+
"ch32v003fun"
2728
],
2829
"name": "Generic CH569W",
2930
"upload": {

boards/genericCH571D.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"build": {
33
"clock_source": "hsi+pll",
4-
"extra_flags": "-DCH57 -DCH57X -DCH571",
4+
"extra_flags": "-DCH57 -DCH57xD -DCH5xx -DCH57X -DCH57x -DCH571",
55
"f_cpu": "20000000L",
66
"hwids": [
77
[
@@ -23,7 +23,8 @@
2323
"svd_path": "CH571.svd"
2424
},
2525
"frameworks": [
26-
"noneos-sdk"
26+
"noneos-sdk",
27+
"ch32v003fun"
2728
],
2829
"name": "Generic CH571D",
2930
"upload": {

boards/genericCH571F.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"build": {
33
"clock_source": "hsi+pll",
4-
"extra_flags": "-DCH57 -DCH57X -DCH571",
4+
"extra_flags": "-DCH57 -DCH57xF -DCH5xx -DCH57X -DCH57x -DCH571",
55
"f_cpu": "20000000L",
66
"hwids": [
77
[
@@ -23,7 +23,8 @@
2323
"svd_path": "CH571.svd"
2424
},
2525
"frameworks": [
26-
"noneos-sdk"
26+
"noneos-sdk",
27+
"ch32v003fun"
2728
],
2829
"name": "Generic CH571F",
2930
"upload": {

boards/genericCH571K.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"build": {
33
"clock_source": "hsi+pll",
4-
"extra_flags": "-DCH57 -DCH57X -DCH571",
4+
"extra_flags": "-DCH57 -DCH57xK -DCH5xx -DCH57X -DCH57x -DCH571",
55
"f_cpu": "20000000L",
66
"hwids": [
77
[
@@ -23,7 +23,8 @@
2323
"svd_path": "CH571.svd"
2424
},
2525
"frameworks": [
26-
"noneos-sdk"
26+
"noneos-sdk",
27+
"ch32v003fun"
2728
],
2829
"name": "Generic CH571K",
2930
"upload": {

boards/genericCH573F.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"build": {
33
"clock_source": "hsi+pll",
4-
"extra_flags": "-DCH57 -DCH57X -DCH573",
4+
"extra_flags": "-DCH57 -DCH57xF -DCH5xx -DCH57X -DCH57x -DCH573",
55
"f_cpu": "20000000L",
66
"hwids": [
77
[
@@ -23,7 +23,8 @@
2323
"svd_path": "CH573.svd"
2424
},
2525
"frameworks": [
26-
"noneos-sdk"
26+
"noneos-sdk",
27+
"ch32v003fun"
2728
],
2829
"name": "Generic CH573F",
2930
"upload": {

boards/genericCH573Q.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"build": {
33
"clock_source": "hsi+pll",
4-
"extra_flags": "-DCH57 -DCH57X -DCH573",
4+
"extra_flags": "-DCH57 -DCH57xQ -DCH5xx -DCH57X -DCH57x -DCH573",
55
"f_cpu": "20000000L",
66
"hwids": [
77
[
@@ -23,7 +23,8 @@
2323
"svd_path": "CH573.svd"
2424
},
2525
"frameworks": [
26-
"noneos-sdk"
26+
"noneos-sdk",
27+
"ch32v003fun"
2728
],
2829
"name": "Generic CH573Q",
2930
"upload": {

boards/genericCH573X.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"build": {
33
"clock_source": "hsi+pll",
4-
"extra_flags": "-DCH57 -DCH57X -DCH573",
4+
"extra_flags": "-DCH57 -DCH57xX -DCH5xx -DCH57X -DCH57x -DCH573",
55
"f_cpu": "20000000L",
66
"hwids": [
77
[
@@ -23,7 +23,8 @@
2323
"svd_path": "CH573.svd"
2424
},
2525
"frameworks": [
26-
"noneos-sdk"
26+
"noneos-sdk",
27+
"ch32v003fun"
2728
],
2829
"name": "Generic CH573X",
2930
"upload": {

boards/genericCH581F.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"build": {
33
"clock_source": "hsi+pll",
4-
"extra_flags": "-DCH58 -DCH58X -DCH581",
4+
"extra_flags": "-DCH58 -DCH58xF -DCH5xx -DCH58X -DCH58x -DCH581",
55
"f_cpu": "20000000L",
66
"hwids": [
77
[
@@ -25,7 +25,8 @@
2525
"frameworks": [
2626
"noneos-sdk",
2727
"freertos",
28-
"rt-thread"
28+
"rt-thread",
29+
"ch32v003fun"
2930
],
3031
"name": "Generic CH581F",
3132
"upload": {

0 commit comments

Comments
 (0)