#9250·firmware

[Bug]: nrf52840/feather_diy uses wrong pins

Author: cwaltherCreated Jan 11, 2026Updated Sep 29, 2026
LabelsbugStalefirst-contribution

Category

Hardware Compatibility

Hardware

DIY

Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?

  • Meshtastic UI aka MUI colorTFT
  • InkHUD ePaper
  • OLED slide UI on any display

Firmware Version

2.7.18.acb6eb7

Description

What was the purpose of #1894? (@thebentern / @markbirss?)

That commit empirically makes my Feather use nonsensical pins, both with the official 2.7.15.567b8ea binary release and with self-built firmware from current develop acb6eb7. E.g. SCL and SDA are on the pins labeled 11 and 12 on the board (P0.06 and P0.08), and other functions are on pins that are not even exposed on the Feather board. When I revert that commit, the pins are as expected: SCL and SDA on the pins that are labeled SCL and SDA (P0.11 and P0.12).

Studying the source code, it is obvious to me that variants/nrf52840/feather_diy/variant.h should specify Arduino pin names, not MCU GPIO numbers, so I am puzzled about why that was reversed: The defines made here are mapped by ~/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire/Wire_nRF52.cpp through the g_ADigitalPinMap table from ~/.platformio/packages/framework-arduinoadafruitnrf52/variants/feather_nrf52840_express/variant.cpp. Was that different in some older version of that framework? But I also tried the first binary release that contains that commit, and it’s wrong there already.

Should I submit a PR for reverting that commit, or would that break someone else’s firmware?

Relevant log output

bash