Skip to content

Commit

Permalink
[Hardware] Add preliminary support for RPi 5 hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
tonhuisman committed Dec 4, 2023
1 parent dcecece commit d1ba2a3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions linux_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,24 @@ def getRPIVer():
"lan":"1",
"bt":"1"
}
elif (hwid in "c04170"):
hwarr = {
"name": "Pi 5",
"ram": "4GB",
"pins": "40",
"wlan": "1",
"lan":"1",
"bt":"1"
}
elif (hwid in "d04170"):
hwarr = {
"name": "Pi 5",
"ram": "8GB",
"pins": "40",
"wlan": "1",
"lan":"1",
"bt":"1"
}
return hwarr

def getsounddevs(playbackdevs = True):
Expand Down

1 comment on commit d1ba2a3

@enesbcs
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Although Pi5 has a BCM2712 chip and RPi.GPIO library does not support yet the Pi5 GPIO... tried to add fix at commit cd5ae71

Please sign in to comment.