This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HAL code for NFC

Hi ,

I am using Android ICS 4.0.3 and target is custom  blaze board. I want to use NFC chip set . I built the kernel with NFC enabled, but in the android stack i did not get any HAL layer for NFC. I searched under the path

/Android/device/ti/blaze_tablet/libsensors.

can any body tell me where to get the Hardware abstraction layer code for NFC .

Thanks in advance,

Kiran.



  • hi kiran,

    can you tell me how to buld the kernel with nfc enable??

    Regards

  • Hi dibin,

         Procedure to build the kernel with nfc

         [1] using tools menu config or xconfig slect your nfc chip set . you can enable your nfc chip as part of kernel or external module.

         [2] once your .config file is updated with nfc support, give make command to compile the kernel

               i.e,. make ARCH=<your architecture> uImage

    Note:

      [1] Before you proceed to do make ,dont forget to set your cross compile variable and path to to cross compiler in environment variable PATH.

      [2] If you are building the nfc as external moudle , after step 2, type the below command

                make ARCH=<your architecture> modules

    The above command will generate the nfc module (*.ko) under your drivers/nfc/<chip_name/ folder

     

     

    dibin

  • Hi Kiran,

                     thanks for your response, i am using TI Android ICS 4.0.3 DevKit 3.0.0  sources for image building, and i don have any kernel/drivers/nfc directory

                      do 2.6.37 kernel support nfc , can i download the driver and insmod it ?

                      thanks in advance

    Regards,

    dibin