I just started to move from the Arduino firmware to the esp-idf firmware.
I read that link. I learn that I have to include libraries creating a component files, with a component.mk file, *.c, *.cpp files and an include/ folder for *.h files.
That was ok for most of libraries I had to include, except for the SD card library, more precisely the Sd2PinMap.h header.
It seems that ESP32 is not recognized:
$(IDF-PATH)/Project/components/SD/include/Sd2PinMap.h:510:2: error:
#error Architecture or board not supported.
but with the Arduino firmware, there were no problems.
I checked make menuconfig options, but I didn't find a way to make it work for an ESP32 board... Any ideas ?