Bonjour a tous,

pour un projet, j'utilise l'envirronnement Visual Studio Code pour coder un ESP32-s2-Wrover a l'aide de l'extension platformio.

J'ai configuré un .init simple et un main.c qui effectue un pauvre "printf()". Jusque la, rien de bien compliqué .

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
[env:featheresp32-s2]
platform = espressif32
board = featheresp32-s2
upload_port = COM17
 framework = arduino

; change microcontroller
board_build.mcu = esp32s2

; change MCU frequency
board_build.f_cpu = 240000000L

upload_protocol = esptool
Cependant, le build m'informe d'une erreur dont je ne trouve pas la solution :
A fatal error occurred: No segment header found at offset 0000 in ELF file.
*** [.pio\build\featheresp32-s2\firmware.bin] Error 2
Aussi, un warning est notifié un peu plus haut dans le terminal (en corrélation ???) :
warning: cannot find entry symbol _start; not setting start address
Quelqu'un aurait une idée ??