Skip to content

Commit

Permalink
treehouses detect for Zero 2 W (fixes #2253) (#2257)
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Nov 1, 2021
1 parent d62f6f5 commit 9d3de3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/detect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@ function detectrpi {
rpimodels["c03112"]="RPI4B" # 4gb
rpimodels["c03114"]="RPI4B" # 4gb
rpimodels["d03114"]="RPI4B" # 8gb
rpimodels["c03130"]="RPI400" # 4gb
rpimodels["a03140"]="CM4" # 1gb
rpimodels["b03140"]="CM4" # 2gb
rpimodels["c03140"]="CM4" # 4gb
rpimodels["d03140"]="CM4" # 8gb
rpimodels["c03130"]="RPI400" # 4gb
rpimodels["d03114"]="RPIZ2W" # .5gb
# more at: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#new-style-revision-codes-in-use

rpimodel=$(grep Revision /proc/cpuinfo | sed 's/.* //g' | tr -d '\n')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@treehouses/cli",
"version": "1.26.2",
"version": "1.26.3",
"remote": "4000",
"description": "Thin command-line interface for Raspberry Pi low level configuration.",
"main": "cli.sh",
Expand Down

0 comments on commit 9d3de3d

Please sign in to comment.