File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,11 @@ def _beaglebone_id(self):
130
130
if eeprom_bytes [:4 ] != b'\xaa U3\xee ' :
131
131
return None
132
132
133
+ # special condition for BeagleBone Green rev. 1A
134
+ # refer to GitHub issue #57 in this repo for more info
135
+ if eeprom_bytes == b'\xaa U3\xee A335BNLT\x1a \x00 \x00 \x00 ' :
136
+ return boards .BEAGLEBONE_GREEN
137
+
133
138
id_string = eeprom_bytes [4 :].decode ("ascii" )
134
139
for model , bb_ids in boards ._BEAGLEBONE_BOARD_IDS .items ():
135
140
for bb_id in bb_ids :
Original file line number Diff line number Diff line change 13
13
print ("Is this a Pi 4B?" , detector .board .RASPBERRY_PI_4B )
14
14
print ("Is this a 40-pin Raspberry Pi?" , detector .board .any_raspberry_pi_40_pin )
15
15
print ("Is this a Raspberry Pi Compute Module?" , detector .board .any_raspberry_pi_cm )
16
- print ("Is this a BBB?" , detector .board .BEAGLEBONE_BLACK )
16
+ print ("Is this a BeagleBone Black?" , detector .board .BEAGLEBONE_BLACK )
17
+ print ("Is this a BeagleBone Green?" , detector .board .BEAGLEBONE_GREEN )
17
18
print ("Is this a Giant Board?" , detector .board .GIANT_BOARD )
18
19
print ("Is this a Coral Edge TPU?" , detector .board .CORAL_EDGE_TPU_DEV )
19
20
print ("Is this a SiFive Unleashed? " , detector .board .SIFIVE_UNLEASHED )
You can’t perform that action at this time.
0 commit comments