This commit is contained in:
Melissa LeBlanc-Williams 2024-06-17 12:11:40 -07:00
commit 228aafb684
2 changed files with 5 additions and 3 deletions

View file

@ -1022,9 +1022,9 @@ class Board:
return self.id in boards._NXP_SOM_IDS return self.id in boards._NXP_SOM_IDS
@property @property
def any_olimex_lime2_board(self): def any_olimex_board(self):
"""Check whether the current board is any Pine64 device.""" """Check whether the current board is any Pine64 device."""
return self.id in boards.OLIMEX_LIME2 return self.id in boards._OLIMEX_IDS
@property @property
def any_repka_board(self): def any_repka_board(self):
@ -1099,7 +1099,7 @@ class Board:
yield self.generic_linux yield self.generic_linux
yield self.any_nxp_navq_board yield self.any_nxp_navq_board
yield self.any_walnutpi yield self.any_walnutpi
yield self.any_olimex_lime2_board yield self.any_olimex_board
yield self.any_repka_board yield self.any_repka_board
yield self.any_milkv_board yield self.any_milkv_board
yield self.any_luckfox_pico_board yield self.any_luckfox_pico_board

View file

@ -455,6 +455,8 @@ _LINARO_96BOARDS_IDS = (DRAGONBOARD_410C,)
_SIFIVE_IDS = (SIFIVE_UNLEASHED,) _SIFIVE_IDS = (SIFIVE_UNLEASHED,)
_OLIMEX_IDS = (OLIMEX_LIME2,)
# BeagleBone eeprom board ids from: # BeagleBone eeprom board ids from:
# https://github.com/beagleboard/image-builder # https://github.com/beagleboard/image-builder
# Thanks to zmatt on freenode #beagle for pointers. # Thanks to zmatt on freenode #beagle for pointers.