diff --git a/Makefile b/Makefile index 5e34eeef4..c94998ea1 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ all: patch svd2rust SHELL := /usr/bin/env bash -CRATES ?= gd32e1 gd32c1 gd32e2 gd32e5 gd32f1 gd32f2 gd32f3 +CRATES ?= gd32c1 gd32e1 gd32e2 gd32e5 gd32f1 gd32f2 gd32f3 # All yaml files in devices/ will be used to patch an SVD YAMLS := $(foreach crate, $(CRATES), \ diff --git a/gd32_part_table.yaml b/gd32_part_table.yaml index 9b6d2e6cf..c026f8803 100644 --- a/gd32_part_table.yaml +++ b/gd32_part_table.yaml @@ -14,14 +14,6 @@ # # This data is used to generate more informative crate READMEs. -gd32e1: - gd32e103: - url: https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m4/value-line/gd32e103-series/ - rm: GD32E103 - rm_title: GD32E103 - rm_url: https://www.gigadevice.com/manual/gd32e103xx-user-manual/ - members: - - GD32E103 gd32c1: gd32c103: url: https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m4/value-line/gd32c103-series/ @@ -37,6 +29,14 @@ gd32c1: rm_url: https://gd32mcu.com/download/down/document_id/382/path_type/1 members: - GD32C113 +gd32e1: + gd32e103: + url: https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m4/value-line/gd32e103-series/ + rm: GD32E103 + rm_title: GD32E103 + rm_url: https://www.gigadevice.com/manual/gd32e103xx-user-manual/ + members: + - GD32E103 gd32e2: gd32e230: url: https://www.gigadevice.com/products/microcontrollers/gd32/arm-cortex-m23/value-line/gd32e230-series/ diff --git a/scripts/htmlcomparesvdall.sh b/scripts/htmlcomparesvdall.sh index 0f148944e..4ffba4387 100755 --- a/scripts/htmlcomparesvdall.sh +++ b/scripts/htmlcomparesvdall.sh @@ -4,6 +4,10 @@ set -euxo pipefail mkdir -p html/gd32 python3 scripts/htmlcomparesvd.py html/gd32 svd/gd32*.svd.patched +mkdir -p html/gd32c1 +python3 scripts/htmlcomparesvd.py html/gd32c1 svd/gd32c1*.svd.patched +mkdir -p html/gd32e1 +python3 scripts/htmlcomparesvd.py html/gd32e1 svd/gd32e1*.svd.patched mkdir -p html/gd32e2 python3 scripts/htmlcomparesvd.py html/gd32e2 svd/gd32e2*.svd.patched mkdir -p html/gd32e5 @@ -42,6 +46,8 @@ cat > html/comparisons.html <Device families