@@ -118,6 +118,8 @@ def id(self) -> Optional[str]:
118
118
board_id = boards .FTDI_FT232H
119
119
elif chip_id == chips .FT2232H :
120
120
board_id = boards .FTDI_FT2232H
121
+ elif chip_id == chips .FT4232H :
122
+ board_id = boards .FTDI_FT4232H
121
123
elif chip_id == chips .APQ8016 :
122
124
board_id = boards .DRAGONBOARD_410C
123
125
elif chip_id in (chips .T210 , chips .T186 , chips .T194 , chips .T234 ):
@@ -1133,6 +1135,7 @@ def os_environ_board(self) -> bool:
1133
1135
def lazily_generate_conditions ():
1134
1136
yield self .board .FTDI_FT232H
1135
1137
yield self .board .FTDI_FT2232H
1138
+ yield self .board .FTDI_FT4232H
1136
1139
yield self .board .MICROCHIP_MCP2221
1137
1140
yield self .board .BINHO_NOVA
1138
1141
yield self .board .GREATFET_ONE
@@ -1216,6 +1219,11 @@ def ftdi_ft2232h(self) -> bool:
1216
1219
"""Check whether the current board is an FTDI FT2232H."""
1217
1220
return self .id == boards .FTDI_FT2232H
1218
1221
1222
+ @property
1223
+ def ftdi_ft4232h (self ) -> bool :
1224
+ """Check whether the current board is an FTDI FT4232H."""
1225
+ return self .id == boards .FTDI_FT4232H
1226
+
1219
1227
@property
1220
1228
def microchip_mcp2221 (self ) -> bool :
1221
1229
"""Check whether the current board is a Microchip MCP2221."""
0 commit comments