2 years, 5 months ago.

X_NUCLEO_NFC01A1 Dependency Error caused by NDefLib exclusion

The https://os.mbed.com/teams/ST/code/X_NUCLEO_NFC01A1/ website shows that M24SR is the ONLY Dependency for X_NUCLEO_NFC01A1.

The 'HelloWorld_Async_M24SR' app includes the X_NUCLEO_NFC01A1 and NDefLib.

Based on that app, I've developed my own app with NO calls to NDefLib at all. In order to decrease memory size, I've included NDefLib in my mbedignore list.

Unfortunately, I get a compile error. It seems to be that NDefNfcTagM24SR files in X_NUCLEO_NFC01A1/M24SR library DOES depend on NDefLib.

At this point, is it possible to get rid of NDefLib keeping the complete X_NUCLEO_NFC01A1 library in order to reduce binary size? According t the website, NDefLib is NOT a Dependemcy of X_NUCLEO_NFC01A1

Question relating to:

Be the first to answer this question.