Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.md | D | 03-May-2024 | 1,007 | 29 | 19 | |
common.c | D | 03-May-2024 | 12.2 KiB | 355 | 254 | |
linux_spidev.c | D | 03-May-2024 | 6.9 KiB | 261 | 217 | |
nq_nci.c | D | 03-May-2024 | 5.8 KiB | 208 | 151 |
README.md
1# NXP PN80T/PN81A support 2 3libese support for the PN80T series of embedded secure elements is 4implemented using a common set of shared hardware functions and 5communication specific behavior. 6 7The common behavior is found in "common.h". Support for using Linux 8spidev іs in "linux\_spidev.c", and support for using a simple nq-nci 9associated kernel driver is in "nq\_nci.c". 10 11# Implementing a new backend 12 13When implementing a new backend, the required header is: 14 15 #include "../include/ese/hw/nxp/pn80t/common.h" 16 17Once included, the implementation must provide its own 18receive and transmit libese-hw functions and a struct Pn80tPlatform, 19defined in "../include/ese/hw/nxp/pn80t/platform.h". 20 21Platform requires a dedicated initialize, release, wait functions as 22well support for controlling NFC\_VEN, SVDD\_PWR\_REQ, and reset. 23 24See the bottom of the other implementations for an example of the 25required exports. 26 27Any other functionality, such as libese-sysdeps, may also need to be 28provided separately. 29