From be0f9a8e55644a7931bce464f0b81b8765665420 Mon Sep 17 00:00:00 2001 From: Bill Sideris Date: Wed, 3 Jan 2024 18:40:18 +0200 Subject: [PATCH] Add IO4/A0 --- ports/espressif/boards/firebeetle2_esp32s3/pins.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/espressif/boards/firebeetle2_esp32s3/pins.c b/ports/espressif/boards/firebeetle2_esp32s3/pins.c index 9c22a6355abd..7d8add7a3ca0 100644 --- a/ports/espressif/boards/firebeetle2_esp32s3/pins.c +++ b/ports/espressif/boards/firebeetle2_esp32s3/pins.c @@ -95,6 +95,9 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = { { MP_ROM_QSTR(MP_QSTR_IO5), MP_ROM_PTR(&pin_GPIO5) }, { MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_GPIO5) }, + { MP_ROM_QSTR(MP_QSTR_IO4), MP_ROM_PTR(&pin_GPIO4) }, + { MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_GPIO4) }, + { MP_ROM_QSTR(MP_QSTR_IO21), MP_ROM_PTR(&pin_GPIO21)}, { MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_PTR(&pin_GPIO21)}, { MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO21)},