How can I use Zephyr with ESP32-(S3) with Platformio

I just noticed that it seems to be possible to use Zephyr on ESP32 controllers and I might be interested to switch from FREERTOS to Zephyr to port code more easily.
Thats what I found:

And on github the say that they already support alot of features:

And I tried to see if it is possible by using creating a config:

[env:Zephyr-esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = zephyr
monitor_speed = 115200

But I get confirmed that it is currently not supported:

Error: This board doesn't support zephyr framework!

Does it really got no support or does PlatformIO just does not support it at the moment?

Is there a way which allows me to use it? Like a board configuration/definition or something like that?

Did someone tried it before I would be really thankful if someone could share their experience.

Open issue:

I found that too but there were no updates since years so I thought maybe they already added it. I guess it is still not implemented?
Can I do some own definitions to use Zephyr or is it not possible?
Thank you for your time.

There is a PlatformIO builder script for Zephyr since it’s used in e.g. STM32, but it’s by far one of the most complicated builder scripts in PlatformIO. You would need a very in-depth knowledge of PlatformIO, SCons, Zephyr, CMake and ESP32 in order to debug if something goes wrong or needs to be adapted for ESP32.

If the situation is like Nuttx, just use the build system provided with the OS and don’t try to reimplement it in Platformio. Use it as an editor and maybe a debugger - maybe - if you must.

The build system is already implemented in framework-zephyr/scripts/platformio

IMO what is missing is porting what is present in other platform to launch the build script in the framework as @maxgerhardt was saying.

It would be nice to have a separate git for the build scripts, for now it seems that they are not online somehow…