I’m trying to run the following configuration:
[env]
platform = espressif32
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#3.0.0-rc1
framework-espidf @ ~3.50101.0
board = arduino_nano_esp32
framework = arduino
build_type = debug
But it seems there is something wrong:
KeyError: 'framework-arduinoespressif32-libs':
File "C:\Users\myuser\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 173:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\myuser\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 612:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\myuser\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 279:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\myuser\.platformio\platforms\espressif32\builder\main.py", line 368:
target_elf = env.BuildProgram()
File "C:\Users\myuser\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Util\envs.py", line 251:
return self.method(*nargs, **kwargs)
File "C:\Users\myuser\.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py", line 61:
env.ProcessProgramDeps()
File "C:\Users\myuser\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Util\envs.py", line 251:
return self.method(*nargs, **kwargs)
File "C:\Users\myuser\.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py", line 121:
env.BuildFrameworks(env.get("PIOFRAMEWORK"))
File "C:\Users\myuser\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Util\envs.py", line 251:
return self.method(*nargs, **kwargs)
File "C:\Users\myuser\.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py", line 347:
SConscript(env.GetFrameworkScript(name), exports="env")
File "C:\Users\myuser\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 676:
return method(*args, **kw)
File "C:\Users\myuser\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 612:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\myuser\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 279:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\myuser\.platformio\platforms\espressif32\builder\frameworks\arduino.py", line 36:
SConscript(
File "C:\Users\myuser\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 676:
return method(*args, **kw)
File "C:\Users\myuser\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 612:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\myuser\.platformio\packages\tool-scons\scons-local-4.7.0\SCons\Script\SConscript.py", line 279:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\myuser\.platformio\packages\framework-arduinoespressif32\tools\platformio-build.py", line 40:
FRAMEWORK_LIBS_DIR = platform.get_package_dir("framework-arduinoespressif32-libs")
File "C:\Users\myuser\.platformio\penv\Lib\site-packages\platformio\platform\_packages.py", line 32:
pkg = self.get_package(name)
File "C:\Users\myuser\.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\myuser\.platformio\penv\Lib\site-packages\platformio\platform\_packages.py", line 21:
owner=self.packages[name].get("owner"),
Do you have any idea what could be wrong?
Thank you.