-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create PN532_SPI instance. #149
Comments
Hello, I have happened to solve this issue a while ago. It was happening because newer arduino rules deprecated a syntax declaration used in SPI include file of that library, if memory serves me well. Sorry for now I am not able to post my solution, only this hint to go toward solution. I rember though that the solution was changing few lines of code regarding that deprecated syntax |
Same issue here with SPI/HSU or whatever, the linker fail on the sample file although the object files are included.
|
Adding -DNFC_INTERFACE_I2C / -DNFC_INTERFACE_SPI to compiler.cpreprocessor.flags.esp32s3= in platform.txt fix the issue (Yes i have "#define NFC_INTERFACE_I2C" at start of my code). |
Hello!
I'm have this code:
But it not works. Compilator throws this error:
How to fix it?
The text was updated successfully, but these errors were encountered: