Compiling non listed board ESP-S3-ZERO

Hello,
I’ve started this subject on other topic
https://community.platformio.org/t/esp32-s3-zero-mini-dev-kit/53328/7

But I don’t want to mix problem if other people have the same as me.

I’m trying to create an project with the ESP-S3-ZERO of Waveshare.
Thanks to @sivar2311
To give me the tips to create a project with the esp32-s3-devkitc-1 board.
After the project is created I can build it like it is for this board.
I change the Board id in platformio.ini (in the project directory) like this

[env:waveshare_esp32_s3_zero]
platform = platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.35/platform-espressif32.zip
board = waveshare_esp32_s3_zero
framework = arduino

because the esp32_s3_zero is existing in the arduino lib.
And now, it is impossible to compile it, the lib was installed at the first build but after I’ve a list of error

AttributeError: Traceback (most recent call last):
File “C:\Users\Name\.platformio\penv\Lib\site-packages\platformio_main_.py”, line 103, in main
cli() # pylint: disable=no-value-for-parameter
^^^^^
File “C:\Users\Name\.platformio\penv\Lib\site-packages\click\core.py”, line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Name\.platformio\penv\Lib\site-packages\click\core.py”, line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File “C:\Users\Name\.platformio\penv\Lib\site-packages\platformio\cli.py”, line 85, in invoke
return super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File “C:\Users\Name\.platformio\penv\Lib\site-packages\click\core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Name\.platformio\penv\Lib\site-packages\click\core.py”, line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Name\.platformio\penv\Lib\site-packages\click\core.py”, line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Name\.platformio\penv\Lib\site-packages\click\decorators.py”, line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Name\.platformio\penv\Lib\site-packages\platformio\run\cli.py”, line 147, in cli
process_env(
File “C:\Users\Name\.platformio\penv\Lib\site-packages\platformio\run\cli.py”, line 210, in process_env
).process()
^^^^^^^^^
File “C:\Users\Name\.platformio\penv\Lib\site-packages\platformio\run\processor.py”, line 81, in process
install_project_env_dependencies(
File “C:\Users\Name\.platformio\penv\Lib\site-packages\platformio\package\commands\install.py”, line 132, in install_project_env_dependencies
_install_project_env_platform(project_env, options),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Name\.platformio\penv\Lib\site-packages\platformio\package\commands\install.py”, line 149, in _install_project_env_platform
PlatformPackageManager().install(
File “C:\Users\Name\.platformio\penv\Lib\site-packages\platformio\package\manager\platform.py”, line 52, in install
p = PlatformFactory.new(pkg)
^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Name\.platformio\penv\Lib\site-packages\platformio\platform\factory.py”, line 79, in new
platform_cls = getattr(
^^^^^^^^
AttributeError: module ‘platformio.platform.platform’ has no attribute ‘PlatformPlatform’
============================================================
An unexpected error occurred. Further steps:

  • Verify that you have the latest version of PlatformIO using
    python -m pip install -U platformio command
  • Try to find answer in FAQ Troubleshooting section
    Redirecting...
  • Report this problem to the developers
    …github.com/platformio/platformio-core/issues
    ============================================================

And I don’t understand what to do

Thanks for your help

There is a typo with the “platform” setting!

Try this:

[env:waveshare_esp32_s3_zero]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.35/platform-espressif32.zip
board = waveshare_esp32_s3_zero
framework = arduino

I’ve remove the C:\Users\Name.platformio directory because the error still remaining and now after a reinstall of the lib it works.
Tomorrow I will start blinking the led :rofl:
Thanks

1 Like