Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions adafruit_platformdetect/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,11 @@ def any_stm32mp1(self):
"""Check whether the current board is any stm32mp1 board."""
return self.id in boards._STM32MP1_IDS

@property
def any_bananapi(self):
"""Check whether the current board is any BananaPi-family system."""
return self.id in boards._BANANA_PI_IDS

@property
def any_embedded_linux(self):
"""Check whether the current board is any embedded Linux device."""
Expand All @@ -624,6 +629,7 @@ def any_embedded_linux(self):
self.any_asus_tinker_board,
self.any_stm32mp1,
self.any_lubancat,
self.any_bananapi,
]
)

Expand Down