From 0b3c0144e6b086d1c46aa515c57227ae5a48d10d Mon Sep 17 00:00:00 2001 From: "D. Stuart Freeman" Date: Thu, 16 Nov 2023 11:57:16 -0500 Subject: [PATCH] fix get_systype() on raspbian (#4784) fix get_systype on raspbian fixes #4777 --- platformio/util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platformio/util.py b/platformio/util.py index 004ac5c9..bb3679fe 100644 --- a/platformio/util.py +++ b/platformio/util.py @@ -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