From 6b69dcff68e14701bdd72eccb641a320445bf266 Mon Sep 17 00:00:00 2001 From: tinyu Date: Fri, 6 Nov 2026 18:16:50 +0800 Subject: [PATCH] board_spec: correct the StamP4XHub signal A/B roles The factory pinmap puts signal A on the lower GPIO of each connector: Grove12 GPIO37 (A) / GPIO38 (B), Grove13 GPIO0 (A, SDA) / GPIO1 (B, SCL) and Grove14 GPIO26 (A) / GPIO27 (B). The catalog had the two pins of each connector the other way round; the note on each pin already stated the order the pinmap uses. Grove15 (GPIO3 / GPIO2) is correct and unchanged. Nothing in M5Unified depends on this, the catalog is the only wrong copy. Signed-off-by: tinyu --- extras/board_spec/boards/m5stampp4xhub.json | 16 ++++++++-------- extras/board_spec/dist/board_spec_editor.html | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/extras/board_spec/boards/m5stampp4xhub.json b/extras/board_spec/boards/m5stampp4xhub.json index 60ca2878..feb6de6c 100644 --- a/extras/board_spec/boards/m5stampp4xhub.json +++ b/extras/board_spec/boards/m5stampp4xhub.json @@ -32,7 +32,7 @@ "roles": [ "bus:internal_i2c.sda", "bus:touch_i2c.sda", - "conn:grove13.2" + "conn:grove13.1" ], "pull": "up", "note": "Main I2C SDA (R42 2.2K to VSYS_3V3); shared by PM1, IOE1, INA226, touch and Grove13.", @@ -44,7 +44,7 @@ "roles": [ "bus:internal_i2c.scl", "bus:touch_i2c.scl", - "conn:grove13.1" + "conn:grove13.2" ], "pull": "up", "note": "Main I2C SCL (R43 2.2K to VSYS_3V3); shared by PM1, IOE1, INA226, touch and Grove13.", @@ -168,15 +168,15 @@ }, "26": { "roles": [ - "conn:grove14.2" + "conn:grove14.1" ], - "note": "USB1 D- (module G26_USB1_N); Grove14 signal B." + "note": "USB1 D- (module G26_USB1_N); Grove14 signal A." }, "27": { "roles": [ - "conn:grove14.1" + "conn:grove14.2" ], - "note": "USB1 D+ (module G27_USB1_P); Grove14 signal A." + "note": "USB1 D+ (module G27_USB1_P); Grove14 signal B." }, "28": { "roles": [], @@ -217,13 +217,13 @@ }, "37": { "roles": [ - "conn:grove12.2" + "conn:grove12.1" ], "note": "UART0 TX; Grove12 signal A." }, "38": { "roles": [ - "conn:grove12.1" + "conn:grove12.2" ], "note": "UART0 RX; Grove12 signal B." }, diff --git a/extras/board_spec/dist/board_spec_editor.html b/extras/board_spec/dist/board_spec_editor.html index 10fb2038..5e6ff4c3 100644 --- a/extras/board_spec/dist/board_spec_editor.html +++ b/extras/board_spec/dist/board_spec_editor.html @@ -1060,7 +1060,7 @@

- +