Skip to content

Commit c60e45c

Browse files
authored
Merge pull request #6002 from CapableRobot/usbhub-defn-updates
Board definition updates for Capable Robot USB Hub
2 parents 85d79f4 + 7247990 commit c60e45c

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

ports/atmel-samd/boards/capablerobot_usbhub/mpconfigboard.mk

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,16 @@ LONGINT_IMPL = MPZ
1212

1313
# No I2S on SAMD51G
1414
CIRCUITPY_AUDIOBUSIO = 0
15+
16+
CIRCUITPY_FULL_BUILD = 0
17+
CIRCUITPY_AUDIOIO = 0
18+
CIRCUITPY_AUDIOCORE = 0
19+
CIRCUITPY_COUNTIO = 0
20+
CIRCUITPY_ROTARYIO = 0
21+
CIRCUITPY_TOUCHIO = 0
22+
CIRCUITPY_SDCARDIO = 0
23+
CIRCUITPY_NEOPIXEL_WRITE = 0
24+
CIRCUITPY_PIXELBUF = 0
25+
CIRCUITPY_GAMEPAD = 0
26+
CIRCUITPY_USB_HID = 0
27+
CIRCUITPY_USB_MIDI = 0

ports/atmel-samd/boards/capablerobot_usbhub/pins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
2222
{ MP_OBJ_NEW_QSTR(MP_QSTR_USBHOSTEN), MP_ROM_PTR(&pin_PA07) },
2323
{ MP_OBJ_NEW_QSTR(MP_QSTR_USBRESET), MP_ROM_PTR(&pin_PB08) },
2424
{ MP_OBJ_NEW_QSTR(MP_QSTR_USBBCEN), MP_ROM_PTR(&pin_PB22) },
25+
{ MP_OBJ_NEW_QSTR(MP_QSTR_PCBREV), MP_ROM_PTR(&pin_PB02) },
2526

2627
{ MP_OBJ_NEW_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_PA22) },
2728
{ MP_OBJ_NEW_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_PA23) },

0 commit comments

Comments
 (0)