Fail to compile esp32-ttgo-t-beam

Hi

I did’nt manage to compile for the esp32-ttgo-t-beam

for the esp32 install I followed this link https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-setup.html

ESP32_SDK_DIR=/home/XXXXX/esp/esp-idf/ make /home/XXXXX/RIOT/makefiles/libc/newlib.mk:98: *** USE_NEWLIB_NANO==1 but nano include folder not found!. Arrêt.

the main.c

#include <stdio.h>

int main(void)
{
    puts("Generated RIOT application: 'air-quality'");
    return 0;
}

Any tips for this problem ?

Germain

RIOT uses a custom toolchain for esp32, you can follow this guide.

Perfect thank you !

Germain