@@ -161,7 +161,14 @@ def id(self):
161161 board_id = boards .CORAL_EDGE_TPU_DEV_MINI
162162 elif chip_id == chips .PICO_U2IF :
163163 board_id = boards .PICO_U2IF
164-
164+ elif chip_id == chips .FEATHER_U2IF :
165+ board_id = boards .FEATHER_U2IF
166+ elif chip_id == chips .ITSYBITSY_U2IF :
167+ board_id = boards .ITSYBITSY_U2IF
168+ elif chip_id == chips .QTPY_U2IF :
169+ board_id = boards .QTPY_U2IF
170+ elif chip_id == chips .QT2040_TRINKEY_U2IF :
171+ board_id = boards .QT2040_TRINKEY_U2IF
165172 self ._board_id = board_id
166173 return board_id
167174
@@ -611,6 +618,26 @@ def pico_u2if(self):
611618 """Check whether the current board is a RPi Pico w/ u2if."""
612619 return self .id == boards .PICO_U2IF
613620
621+ @property
622+ def feather_u2if (self ):
623+ """Check whether the current board is a Feather RP2040 w/ u2if."""
624+ return self .id == boards .FEATHER_U2IF
625+
626+ @property
627+ def itsybitsy_u2if (self ):
628+ """Check whether the current board is a Itsy Bitsy w/ u2if."""
629+ return self .id == boards .ITSYBITSY_U2IF
630+
631+ @property
632+ def qtpy_u2if (self ):
633+ """Check whether the current board is a QT Py w/ u2if."""
634+ return self .id == boards .QTPY_U2IF
635+
636+ @property
637+ def qt2040_trinkey_u2if (self ):
638+ """Check whether the current board is a QT Py w/ u2if."""
639+ return self .id == boards .QT2040_TRINKEY_U2IF
640+
614641 @property
615642 def binho_nova (self ):
616643 """Check whether the current board is an BINHO NOVA."""
0 commit comments