File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 52
52
RASPBERRY_PI_3B_PLUS = "RASPBERRY_PI_3B_PLUS"
53
53
RASPBERRY_PI_CM3 = "RASPBERRY_PI_CM3"
54
54
RASPBERRY_PI_3A_PLUS = "RASPBERRY_PI_3A_PLUS"
55
+ RASPBERRY_PI_4B = "RASPBERRY_PI_4B"
55
56
56
57
ODROID_C1 = "ODROID_C1"
57
58
ODROID_C1_PLUS = "ODROID_C1_PLUS"
86
87
RASPBERRY_PI_2B ,
87
88
RASPBERRY_PI_3B ,
88
89
RASPBERRY_PI_3B_PLUS ,
89
- RASPBERRY_PI_3A_PLUS
90
+ RASPBERRY_PI_3A_PLUS ,
91
+ RASPBERRY_PI_4B
90
92
)
91
93
92
94
_ODROID_40_PIN_IDS = (
249
251
'9020e0' ,
250
252
'19020e0' , '29020e0' , # warranty bits
251
253
),
254
+ RASPBERRY_PI_4B : (
255
+ 'c03111' ,
256
+ '1c03111' , '2c03111' , # warranty bits
257
+ ),
252
258
}
253
259
254
260
class Board :
Original file line number Diff line number Diff line change 10
10
11
11
print ("Is this a DragonBoard 410c?" , detector .board .DRAGONBOARD_410C )
12
12
print ("Is this a Pi 3B+?" , detector .board .RASPBERRY_PI_3B_PLUS )
13
+ print ("Is this a Pi 4B?" , detector .board .RASPBERRY_PI_4B )
13
14
print ("Is this a 40-pin Raspberry Pi?" , detector .board .any_raspberry_pi_40_pin )
14
15
print ("Is this a BBB?" , detector .board .BEAGLEBONE_BLACK )
15
16
print ("Is this a Giant Board?" , detector .board .GIANT_BOARD )
You can’t perform that action at this time.
0 commit comments