Visitar URL original
esp32/boards: Add UM Series[D] board variants and new EdgeS3[D] board. by UnexpectedMaker · Pull Request #19747 · micropython/micropython · GitHub
Skip to content

esp32/boards: Add UM Series[D] board variants and new EdgeS3[D] board. - #19747

Open
UnexpectedMaker wants to merge 2 commits into
micropython:masterfrom
UnexpectedMaker:series_d_support
Open

UnexpectedMaker wants to merge 2 commits into
micropython:masterfrom
UnexpectedMaker:series_d_support

Conversation

@UnexpectedMaker

Copy link
Copy Markdown
Contributor

Summary

Add Series[D] variants to the Unexpected Maker TinyS3, ProS3, FeatherS3,
TinyC6 and TinyPICO boards. Each board now has a standard variant and a
Series[D] variant that uses its own pins_d.csv via MICROPY_BOARD_PINS and its
own frozen manifest. D variants include a MAX17048 fuel gauge driver and
a new *d.py helper module, and report a [D] board name.

The TinyC6[D] also includes an FXL6408 IO expander driver, which is used
to switch between the onboard and external antenna.

Added the new EdgeS3[D] board, which includes the MAX17048 fuel gauge and
FXL6408 IO expander drivers.

Also fix the I2C SCL and SDA pins, which were swapped in the TinyS3 and
ProS3 pins.csv.

This PR requires the following PR for correct pins.csv in builds:
#19728

Testing

All variants have been tested on hardware and passed all tests.

Generative AI

Generative AI was only used to make all of the build variants for testing and to confirm all code and file changes passed all formatting rules before commits were done.

Allow `mpconfigboard.cmake` or `mpconfigvariant_*.cmake` to specify a
custom `MICROPY_BOARD_PINS` to override `${MICROPY_BOARD_DIR}/pins.csv`.

This lets a single board definition support hardware revisions that have
different pin mappings by using board variants.

This was copied from the existing behavior of the rp2 port.

Signed-off-by: Seon Rozenblum <seon@unexpectedmaker.com>
@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Code size report:

Reference:  tools/mpremote: Add tell() support for remote mounted files. [a129b2f]
Comparison: esp32/boards: Add UM Series D board variants and EdgeS3[D] board. [merge of db306ec]
  mpy-cross:    +0 +0.000% 
   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
      esp32:    +0 +0.000% ESP32_GENERIC
     mimxrt:    +0 +0.000% TEENSY40
        rp2:    +0 +0.000% RPI_PICO_W
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
  qemu rv32:    +0 +0.000% VIRT_RV32

Add Series D variants to the Unexpected Maker TinyS3, ProS3, FeatherS3,
TinyC6 and TinyPICO boards.  Each board now has a standard variant and a
D variant that uses its own `pins_d.csv` via `MICROPY_BOARD_PINS` and its
own frozen manifest.  D variants include a MAX17048 fuel gauge driver and
a new `*d.py` helper module, and report a `[D]` board name.

The TinyC6[D] also includes an FXL6408 IO expander driver, which is used
to switch between the onboard and external antenna.

Add the new EdgeS3[D] board, which includes the MAX17048 fuel gauge and
FXL6408 IO expander drivers.

Also fix the I2C SCL and SDA pins, which were swapped in the TinyS3 and
ProS3 `pins.csv`.

This requires PR micropython#19728 so that the builds use the correct pins file for
each variant:
micropython#19728

Signed-off-by: Seon Rozenblum <seon@unexpectedmaker.com>
@dpgeorge dpgeorge added port-esp32 board-definition New or updated board definition files. Combine with a port- label. labels Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

board-definition New or updated board definition files. Combine with a port- label. port-esp32

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants