Tasmota Flash ESP32 avec platformio

Bonjour, je voudrais savoir si on peut flasher un ESP32 pour y mettre TASMOTA. J’ai essayé avec la doc en ligne, mais je n’y arrive pas.
Merci de votre aide.

Google Translate:

Hello, I would like to know if we can flash an ESP32 to put TASMOTA in it. I tried with the online doc, but can’t do it.
Thank you for your help.

I don’t have any problems. I clone https://github.com/arendst/Tasmota, open the project in VSCode, then edit the platformio.ini at the top to say default_envs = tasmota32 instead of

and then hit “Build”. Then it compiles the standard ESP32 tasmota32 firmware, just as with their release (Release Tasmota v9.3.1 Kenneth · arendst/Tasmota · GitHub).

Building .pio\build\tasmota32\firmware.bin
Checking size .pio\build\tasmota32\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [==        ]  19.0% (used 62300 bytes from 327680 bytes)
Flash: [======    ]  64.3% (used 1306365 bytes from 2031616 bytes)
esptool.py v3.0
bin_map_copy([".pio\build\tasmota32\firmware.bin"], [".pio\build\tasmota32\firmware.elf"])
============== [SUCCESS] Took 94.62 seconds ==============

Just as they say in their documentation at PlatformIO CLI - Tasmota, it works.

All available ESP32 build types are listed at Tasmota/platformio_tasmota32.ini at c8b3b20df1da212acefefb91548e7dd72c224c4a · arendst/Tasmota · GitHub, with explanations per the release link.

Did you try exactly that? What is the error?

Hi, many thanks for your help, i follow what you say in the message and now it works.