AnsweredAssumed Answered

How to build the NFC module/package in AOSP Marshmallow?

Question asked by Jaymin Dabhi on Nov 23, 2017
Latest reply on Nov 24, 2017 by Jaymin Dabhi

Hello All,


When I have checked for the NFC adapter as explained here, there is no NFC adapter available on board. After digging in the code, got to know that "" is not generating.

So, for the NFC adapter support it is necessary to build/compile the NFC package (the package name is "NfcNci" as per file),

Is this correct?

The NFC package is located at "{Android_Source}/packages/apps/Nfc" path.

At the time of building the package using "mmm", shows error as below:

make: *** No rule to make target 'out/target/product/pico_6dq/obj/lib/', needed by 'out/target/product/pico_6dq/obj/SHARED_LIBRARIES/libnfc_nci_jni_intermediates/LINKED/'. Stop. 

What is the possible reason(s) of this error? And what other things I have to enable for NFC support?


System Environment:

The processor is i.MX6Q and Android version is Marshmallow. NFC reader is connected via SPI with the board. ".ko" and "" are generated for the Kernel to HAL support.


Let me know, if further information require.