File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -383,6 +383,11 @@ def any_orange_pi(self):
383
383
"""Check whether the current board is any defined Orange Pi."""
384
384
return self .ORANGE_PI_PC
385
385
386
+ @property
387
+ def any_coral_board (self ):
388
+ """Check whether the current board is any defined Coral."""
389
+ return self .CORAL_EDGE_TPU_DEV
390
+
386
391
@property
387
392
def any_giant_board (self ):
388
393
"""Check whether the current board is any defined Giant Board."""
@@ -397,7 +402,8 @@ def any_jetson_board(self):
397
402
def any_embedded_linux (self ):
398
403
"""Check whether the current board is any embedded Linux device."""
399
404
return self .any_raspberry_pi or self .any_beaglebone or \
400
- self .any_orange_pi or self .any_giant_board or self .any_jetson_board
405
+ self .any_orange_pi or self .any_giant_board or self .any_jetson_board or \
406
+ self .any_coral_board
401
407
402
408
def __getattr__ (self , attr ):
403
409
"""
You can’t perform that action at this time.
0 commit comments