-1

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 ?

per1234
  • 4,278
  • 2
  • 24
  • 43
BuzzRage
  • 7
  • 4

1 Answers1

0

Okay, the solution was simple, I just had to pull the update for the SD Card library, mine was outdated. Thank you all.

BuzzRage
  • 7
  • 4