Skip to content

Commit

Permalink
Merge pull request #29 from mattallen37/develop
Browse files Browse the repository at this point in the history
Add version detection support for RPi 4
  • Loading branch information
Matthew Richardson authored Jul 9, 2019
2 parents 2e47128 + 15a4ae9 commit 68f6272
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions miscellaneous/auto_detect_rpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"0015" : ["Model A+ v1.1", "RPI1"],

"a01040" : ["Pi 2 Model B v1.0", "RPI2"],

"a01041" : ["Pi 2 Model B v1.1", "RPI2"],
"a21041" : ["Pi 2 Model B v1.1", "RPI2"],

Expand All @@ -81,7 +81,9 @@
"a32082" : ["Pi 3 Model B v1.2", "RPI3"],
"a52082" : ["Pi 3 Model B v1.2", "RPI3"],
"a020d3" : ["Pi 3 Model B+ v1.3", "RPI3B+"],
"9020e0" : ["Pi 3 Model A+ v1.0", "RPI3A+"]
"9020e0" : ["Pi 3 Model A+ v1.0", "RPI3A+"],

"a03111" : ["Pi 4 Model B", "RPI4"]
}

# represents indexes for each corresponding key in the above dictionary
Expand Down Expand Up @@ -121,6 +123,9 @@ def getRPIGenerationCode():
"RPI1"
"RPi2"
"RPI3"
"RPI3B+"
"RPI3A+"
"RPI4"
"RPI-COMPUTE-MODULE"
"""

Expand Down

0 comments on commit 68f6272

Please sign in to comment.