Thanks for the suggestion.
Actually, adding -D WIFI_LoRa_32_V3
in the build_flags
generates many warning starting with
warning: "WIFI_LoRa_32_V3" redefined
and when linking several errors starting with this one
toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pio/build/heltec_wifi_lora_32_V3/libaf0/libLoraWan102.a(radio.c.o):(.literal.RadioInit+0x20): undefined reference to `TimerInit'