diff --git a/devices/stm32/stm32f0-42.xml b/devices/stm32/stm32f0-42.xml
index 0620b895..dea6216a 100644
--- a/devices/stm32/stm32f0-42.xml
+++ b/devices/stm32/stm32f0-42.xml
@@ -308,22 +308,22 @@
-
+
-
+
-
+
-
-
+
+
-
+
diff --git a/devices/stm32/stm32f0-48.xml b/devices/stm32/stm32f0-48.xml
index cec85dff..d18d4ee2 100644
--- a/devices/stm32/stm32f0-48.xml
+++ b/devices/stm32/stm32f0-48.xml
@@ -288,20 +288,20 @@
-
+
-
+
-
+
diff --git a/devices/stm32/stm32f0-70.xml b/devices/stm32/stm32f0-70.xml
index 1dd5f651..e8e1c37c 100644
--- a/devices/stm32/stm32f0-70.xml
+++ b/devices/stm32/stm32f0-70.xml
@@ -341,13 +341,12 @@
-
+
-
-
+
diff --git a/devices/stm32/stm32g0-30.xml b/devices/stm32/stm32g0-30.xml
index 3b72fe99..52ba1fc2 100644
--- a/devices/stm32/stm32g0-30.xml
+++ b/devices/stm32/stm32g0-30.xml
@@ -279,13 +279,6 @@
-
-
-
-
-
-
-
@@ -293,13 +286,6 @@
-
-
-
-
-
-
-
diff --git a/devices/stm32/stm32g0-31_41.xml b/devices/stm32/stm32g0-31_41.xml
index a457ced8..c5050307 100644
--- a/devices/stm32/stm32g0-31_41.xml
+++ b/devices/stm32/stm32g0-31_41.xml
@@ -377,13 +377,6 @@
-
-
-
-
-
-
-
@@ -391,13 +384,6 @@
-
-
-
-
-
-
-
diff --git a/devices/stm32/stm32g0-70.xml b/devices/stm32/stm32g0-70.xml
index 12fd9af7..844c2d63 100644
--- a/devices/stm32/stm32g0-70.xml
+++ b/devices/stm32/stm32g0-70.xml
@@ -329,21 +329,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/devices/stm32/stm32g0-71_81.xml b/devices/stm32/stm32g0-71_81.xml
index 81bc33d4..32ceabd3 100644
--- a/devices/stm32/stm32g0-71_81.xml
+++ b/devices/stm32/stm32g0-71_81.xml
@@ -535,18 +535,8 @@
-
-
-
-
-
-
-
-
-
-
-
+
@@ -554,17 +544,8 @@
-
-
-
-
-
-
-
-
-
-
+
diff --git a/modm_devices/__init__.py b/modm_devices/__init__.py
index e8d92f65..96d81d0f 100644
--- a/modm_devices/__init__.py
+++ b/modm_devices/__init__.py
@@ -16,4 +16,4 @@
__all__ = ['exception', 'device_file', 'device_identifier', 'device', 'parser', 'pkg']
-__version__ = "0.2.0"
+__version__ = "0.2.1"
diff --git a/tools/generator/dfg/stm32/stm_device_tree.py b/tools/generator/dfg/stm32/stm_device_tree.py
index deb2c1b5..b8312cd1 100644
--- a/tools/generator/dfg/stm32/stm_device_tree.py
+++ b/tools/generator/dfg/stm32/stm_device_tree.py
@@ -181,8 +181,8 @@ def raw_pin_sort(p):
pin = pin[:3]
return (port, int(pin[2:]))
pins = sorted(pins, key=raw_pin_sort)
- # STM32G0 has pin remaps?!?
- # pins = filter(lambda p: "PINREMAP" not in p.get("Variant", ""), pins)
+ # Remove package remaps from GPIO data (but not from package)
+ pins = filter(lambda p: "PINREMAP" not in p.get("Variant", ""), pins)
gpios = []