Skip to content

Commit 9ce1599

Browse files
committed
feat: add board to linux boards
1 parent 3b9d6f0 commit 9ce1599

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

adafruit_platformdetect/board.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,11 @@ def any_tisk_board(self) -> bool:
662662
"""Check whether the current board is any defined TI SK Board."""
663663
return self.id in [v[0] for v in boards._TI_SK_BOARD_IDS]
664664

665+
@property
666+
def any_lichee_riscv_board(self) -> bool:
667+
"""Check whether the current board is any defined TI SK Board."""
668+
return self.id in [v[0] for v in boards._LICHEE_RISCV_IDS]
669+
665670
@property
666671
def any_embedded_linux(self) -> bool:
667672
"""Check whether the current board is any embedded Linux device."""
@@ -691,6 +696,7 @@ def any_embedded_linux(self) -> bool:
691696
self.any_bananapi,
692697
self.any_maaxboard,
693698
self.any_tisk_board,
699+
self.any_lichee_riscv_board,
694700
]
695701
)
696702

0 commit comments

Comments
 (0)