Skip to content

Commit

Permalink
fix get_systype() on raspbian (#4784)
Browse files Browse the repository at this point in the history
fix get_systype on raspbian

fixes #4777
  • Loading branch information
stuartf authored Nov 16, 2023
1 parent 7ab27dd commit 0b3c014
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platformio/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ def get_systype():
arch = "x86_" + platform.architecture()[0]
if "x86" in arch:
arch = "amd64" if "64" in arch else "x86"
if arch == "aarch64" and platform.architecture()[0] == "32bit":
arch = "armv7l"
return "%s_%s" % (system, arch) if arch else system


Expand Down

0 comments on commit 0b3c014

Please sign in to comment.