nkolban / esp32-snippets

Sample ESP32 snippets and code fragments
https://leanpub.com/kolban-ESP32
Apache License 2.0
2.36k stars 710 forks source link

Where to put MFRC522 library? #958

Open TimeWarDoctor opened 4 years ago

TimeWarDoctor commented 4 years ago

Good day Sir:

Thank you for the excellent port! I placed your code in this directory: C:\Derrick\esp\esp-idf\components\MFRC522

And added CMakeLists.txt and component.mk in as well.

I added the following include to the top of my main.cpp:

include "MFRC522/MFRC522.h"

And yet I get: fatal error: MFRC522/MFRC522.h: No such file or directory

include "MFRC522/MFRC522.h"

When I run idf.py build. What did I do wrong please?

TimeWarDoctor commented 4 years ago

Made a copy of esp-idf\components\esp-eth and named the folder ethernet and it would build.