add: RDV40 smart card module comms ( Thanks to @Willok! ) bitbanging i2c with it

This commit is contained in:
Chris
2018-07-04 12:19:04 +02:00
parent 35b7989b1c
commit e09f9cbb32
4 changed files with 464 additions and 19 deletions

View File

@@ -23,6 +23,7 @@ APP_CFLAGS = -DWITH_CRC \
-DWITH_FELICA \
-DWITH_FLASH \
-DWITH_SMARTCARD \
-DWITH_FPC \
-DWITH_HFSNOOP \
-DWITH_LF_SAMYRUN \
-fno-strict-aliasing -ffunction-sections -fdata-sections
@@ -54,7 +55,8 @@ SRC_CRC = crc.c crc16.c crc32.c
SRC_ICLASS = iclass.c optimized_cipher.c
SRC_LEGIC = legicrf.c legic_prng.c
SRC_FLASH = flashmem.c
SRC_SMARTCARD = smartcard.c
SRC_SMARTCARD = i2c.c
SRC_FPC = usart.c
SRC_BEE = bee.c
#the FPGA bitstream files. Note: order matters!
@@ -81,6 +83,7 @@ THUMBSRC = start.c \
$(SRC_LEGIC) \
$(SRC_FLASH) \
$(SRC_SMARTCARD) \
$(SRC_FPC) \
appmain.c \
printf.c \
util.c \