Commit Graph

8 Commits

Author SHA1 Message Date
Eric Wild e84a571c04 fix the host/emulation build
Going for __ARM__ to distinguish host and firmware builds is not
sufficient here, since we might be building on a ARM host, so there is
now a OCTSIMFWBUILD define.

Change-Id: Ib07a58b6102b1709f295d08a764c6f118a2d0b9e
2019-12-02 08:47:45 +00:00
Harald Welte 727d67536d make ccid_main_functionfs use iso7816_fsm and cuart_driver_tty
This works up to the point that we're getting the ATR displayed in
pcsc_scan

Change-Id: Ic656fff4a9c6b9aaf4b91aa16f66972ad28f8423
2019-10-09 18:09:57 +02:00
Harald Welte 0b778c379a Add cuart_fsm_test program
Change-Id: I2b4be908b1bbd9b02f591a79b0eefaeae04badb8
2019-10-09 18:09:21 +02:00
Harald Welte a40c8e502d 'cuart' Card-UART abstraction + driver for simple serial reader
Change-Id: Ic7e324d99f78b3bfb98fc667d9a1b7fa363f092d
2019-10-09 18:08:07 +02:00
Harald Welte 06348367fa ISO7816-3 FSMs as osmo_fsm
This implements ISO 7816-3 T=0 as three finite state machines using
osmo_fsm.

Change-Id: I0145b77e6165d36d33f18ef3a452f2c37913bd73
2019-10-09 17:58:15 +02:00
Harald Welte 6312b444b9 contrib/jenkins.sh: Also build host/gadget code
Change-Id: Ided54d69a776ce2b86f4117a27fc7ad3b7a1a1d2
2019-10-09 17:58:15 +02:00
Harald Welte 13950f5ebe ccid_host/Makefile: Ensure 'make clean' succeeds (rm -f)
Change-Id: Ie4e1fa64b707d86a20582b1b88612e5d268db558
2019-10-09 14:37:56 +02:00
Eric Wild d5eaa9f400 split ccid into common and host-only code
Change-Id: I175c4efdafedc1d8953d3fb03f2d622a7a74af3b
2019-10-09 13:18:21 +02:00