You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can I update Arduino version manually by adding platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git in platformio.ini file?
Currently the latest paltform-esp32 version is 6.4.0 with Arduino 2.0.11 core,and the latest version in espressif/arduino-esp32 is 2.0.14. I tried to add platform_packages = in platformio.ini file and the following error message was encountered.Is that means that I can't uptating Arduino version manually because of some toolchain and dependence are NOT ready yet?
PACKAGES:
- framework-arduinoespressif32 @ 3.0.0+sha.51cb927
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-xtensa-esp32 @ 12.2.0+20230208
KeyError: 'framework-arduinoespressif32-libs':
File "C:\Users\lucka\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 173:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\lucka\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\lucka\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\lucka\.platformio\platforms\espressif32\builder\main.py", line 346:
target_elf = env.BuildProgram()
File "C:\Users\lucka\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py", line 242:
return self.method(*nargs, **kwargs)
File "C:\Users\lucka\.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py", line 61:
env.ProcessProgramDeps()
File "C:\Users\lucka\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py", line 242:
return self.method(*nargs, **kwargs)
File "C:\Users\lucka\.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py", line 121:
env.BuildFrameworks(env.get("PIOFRAMEWORK"))
File "C:\Users\lucka\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py", line 242:
return self.method(*nargs, **kwargs)
File "C:\Users\lucka\.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py", line 342:
SConscript(env.GetFrameworkScript(name), exports="env")
File "C:\Users\lucka\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 662:
return method(*args, **kw)
File "C:\Users\lucka\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\lucka\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\lucka\.platformio\platforms\espressif32\builder\frameworks\arduino.py", line 41:
SConscript(
File "C:\Users\lucka\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 662:
return method(*args, **kw)
File "C:\Users\lucka\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\lucka\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\lucka\.platformio\packages\framework-arduinoespressif32\tools\platformio-build.py", line 40:
FRAMEWORK_LIBS_DIR = platform.get_package_dir("framework-arduinoespressif32-libs")
File "C:\Users\lucka\.platformio\penv\Lib\site-packages\platformio\platform\_packages.py", line 32:
pkg = self.get_package(name)
File "C:\Users\lucka\.platformio\penv\Lib\site-packages\platformio\platform\_packages.py", line 29:
return self.pm.get_package(spec or self.get_package_spec(name))
File "C:\Users\lucka\.platformio\penv\Lib\site-packages\platformio\platform\_packages.py", line 21:
owner=self.packages[name].get("owner"),
The text was updated successfully, but these errors were encountered:
There is now a pull request up with a patch to allow setup of frameworkarduinoespressif32-libs, i.e. that will fix the KeyError. #1281
However, there are a bunch of breaking changes in alpha 3.0.0, so your code might not even compile with the new package ... but this will at least allow you to get to that step.
Can I update Arduino version manually by adding
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
inplatformio.ini
file?Currently the latest paltform-esp32 version is
6.4.0
with Arduino2.0.11
core,and the latest version inespressif/arduino-esp32
is2.0.14
. I tried to addplatform_packages =
inplatformio.ini
file and the following error message was encountered.Is that means that I can't uptating Arduino version manually because of some toolchain and dependence are NOT ready yet?The text was updated successfully, but these errors were encountered: