Rename package

This commit is contained in:
unknown 2021-07-14 01:05:15 +02:00
parent 9920da0915
commit ef26f67e95
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@
"owner": "platformio",
"version": "~2.1.0"
},
"framework-arduino-pico-earlephilhower": {
"framework-arduinopico": {
"type": "framework",
"optional": true,
"owner": "maxgerhardt",

View File

@ -36,9 +36,9 @@ class RaspberrypiPlatform(PlatformBase):
if "arduino" in frameworks:
if build_core == "arduino":
self.frameworks["arduino"]["package"] = "framework-arduino-mbed"
self.packages["framework-arduino-pico-earlephilhower"]["optional"] = True
self.packages["framework-arduinopico"]["optional"] = True
elif build_core == "earlephilhower":
self.frameworks["arduino"]["package"] = "framework-arduino-pico-earlephilhower"
self.frameworks["arduino"]["package"] = "framework-arduinopico"
self.packages["framework-arduino-mbed"]["optional"] = True
else:
sys.stderr.write("Error! Unknown build.core value '%s'. Don't know which Arduino core package to use." % build_core)