Change in ...osmo-ccid-firmware[master]: WIP: attempt to use iso7816_fsm + Cuart from firmware

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Oct 9 13:04:02 UTC 2019


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/15724


Change subject: WIP: attempt to use iso7816_fsm + Cuart from firmware
......................................................................

WIP: attempt to use iso7816_fsm + Cuart from firmware

Change-Id: I1d7c9371406ecfadc565fdf047dd935eceeee48f
---
M ccid_host/ccid_slot_sim.c
M sysmoOCTSIM/gcc/Makefile
2 files changed, 6 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/24/15724/1

diff --git a/ccid_host/ccid_slot_sim.c b/ccid_host/ccid_slot_sim.c
index 1bd514a..dc33114 100644
--- a/ccid_host/ccid_slot_sim.c
+++ b/ccid_host/ccid_slot_sim.c
@@ -100,9 +100,10 @@
 {
 	if (enable) {
 		cs->icc_powered = true;
-		/* FIXME: What to do about ATR? */
+		cs->icc_in_reset = false;
 	} else {
 		cs->icc_powered = false;
+		cs->icc_in_reset = true;
 	}
 }
 
diff --git a/sysmoOCTSIM/gcc/Makefile b/sysmoOCTSIM/gcc/Makefile
index 83b127f..a989d0c 100644
--- a/sysmoOCTSIM/gcc/Makefile
+++ b/sysmoOCTSIM/gcc/Makefile
@@ -83,6 +83,10 @@
 	atmel_start.o \
 	ccid_common/ccid_proto.o \
 	ccid_common/ccid_device.o \
+	ccid_common/iso7816_fsm.o \
+	ccid_common/cuart.o \
+	ccid_common/ccid_slot_fsm.o \
+	cuart_driver_asf4_usart_async.o \
 	command.o \
 	dma_m2m/dma_memory.o \
 	driver_init.o \

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/15724
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I1d7c9371406ecfadc565fdf047dd935eceeee48f
Gerrit-Change-Number: 15724
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191009/8cc6cf37/attachment.htm>


More information about the gerrit-log mailing list