Skip to content

No NEOPIXEL alias for GPIO18 on espressif_saola_1_wroom ( vs. wrover ) #3271

@d-c-d

Description

@d-c-d

I am very happy to have NEOPIXEL working ( thank you all), but noticed this unexpected difference between the WROOM and the WROVER boards

No NEOPIXEL in dir(board)

Adafruit CircuitPython 6.0.0-alpha.2-216-gbbac68e77 on 2020-08-11; Saola 1 w/Wroom with ESP32S2

import board
dir(board)
['class', 'IO0', 'IO1', 'IO10', 'IO11', 'IO12', 'IO13', 'IO14', 'IO15', 'IO16', 'IO17', 'IO18', 'IO19', 'IO2', 'IO20', 'IO21', 'IO26', 'IO3', 'IO33', 'IO34', 'IO35', 'IO36', 'IO37', 'IO38', 'IO39', 'IO4', 'IO40', 'IO41', 'IO42', 'IO43', 'IO44', 'IO45', 'IO46', 'IO5', 'IO6', 'IO7', 'IO8', 'IO9', 'RX', 'TX']

in circuitpython/ports/esp32s2/boards
$ git blame espressif_saola_1_wroom/pins.c | grep GPIO18
6aaab00 (Scott Shawcroft 2020-04-17 16:23:28 -0700 24) { MP_ROM_QSTR(MP_QSTR_IO18), MP_ROM_PTR(&pin_GPIO18) },

but the WROVER does have a NEOPIXEL alias for GPIO18

$ git blame espressif_saola_1_wrover/pins.c | g GPIO18
6aaab00 (Scott Shawcroft 2020-04-17 16:23:28 -0700 24) { MP_ROM_QSTR(MP_QSTR_IO18), MP_ROM_PTR(&pin_GPIO18) },
1c1df05 (Lucian Copeland 2020-07-31 14:50:18 -0400 46) { MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO18) },

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions