Skip to content

Commit f44ba99

Browse files
committed
Merge branch 'release/v1.4.2'
2 parents b0923c4 + 719c331 commit f44ba99

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

platform.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"type": "git",
1313
"url": "https://github.com/platformio/platform-linux_arm.git"
1414
},
15-
"version": "1.4.1",
15+
"version": "1.4.2",
1616
"packageRepositories": [
1717
"https://dl.bintray.com/platformio/dl-packages/manifest.json",
1818
"https://sourceforge.net/projects/platformio-storage/files/packages/manifest.json/download",

platform.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Linux_armPlatform(PlatformBase):
2121
@staticmethod
2222
def _is_native():
2323
systype = util.get_systype()
24-
return not ("linux_arm" in systype or "linux_aarch64" in systype)
24+
return "linux_arm" in systype or "linux_aarch64" in systype
2525

2626
@property
2727
def packages(self):
@@ -31,7 +31,8 @@ def packages(self):
3131
return packages
3232

3333
def configure_default_packages(self, variables, targets):
34-
if self._is_native() and "wiringpi" in variables.get("pioframework"):
34+
if not self._is_native() and "wiringpi" in variables.get(
35+
"pioframework"):
3536
raise exception.PlatformioException(
3637
"PlatformIO temporary does not support cross-compilation "
3738
"for WiringPi framework. Please use PIO Core directly on "

0 commit comments

Comments
 (0)