Change in osmo-ccid-firmware[master]: the magic sauce that makes it work

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
Thu Nov 28 15:23:47 UTC 2019


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16288 )

Change subject: the magic sauce that makes it work
......................................................................

the magic sauce that makes it work

1mio concurrent select mf transfers, 5mhz, fi/di 512/32

Change-Id: Ica8539e4428ca3e3eb3e8ca9f5a5b50eb738ca8d
---
M sysmoOCTSIM/hpl/sercom/hpl_sercom.c
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/sysmoOCTSIM/hpl/sercom/hpl_sercom.c b/sysmoOCTSIM/hpl/sercom/hpl_sercom.c
index 272fb07..7373962 100644
--- a/sysmoOCTSIM/hpl/sercom/hpl_sercom.c
+++ b/sysmoOCTSIM/hpl/sercom/hpl_sercom.c
@@ -589,6 +589,8 @@
 
 	if (hri_sercomusart_get_interrupt_DRE_bit(hw) && hri_sercomusart_get_INTEN_DRE_bit(hw)) {
 		hri_sercomusart_clear_INTEN_DRE_bit(hw);
+		hri_sercomusart_read_DATA_reg(hw);
+		hri_sercomusart_clear_INTFLAG_RXC_bit(hw);
 		device->usart_cb.tx_byte_sent(device);
 	} else if (hri_sercomusart_get_interrupt_TXC_bit(hw) && hri_sercomusart_get_INTEN_TXC_bit(hw)) {
 #if 0
@@ -598,6 +600,8 @@
 				gpio_set_pin_level(PIN_PB12, false);
 #endif
 		hri_sercomusart_clear_INTEN_TXC_bit(hw);
+		hri_sercomusart_read_DATA_reg(hw);
+		hri_sercomusart_clear_INTFLAG_RXC_bit(hw);
 		device->usart_cb.tx_done_cb(device);
 	} else if (hri_sercomusart_get_interrupt_RXC_bit(hw)) {
 		if (hri_sercomusart_read_STATUS_reg(hw)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16288
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: Ica8539e4428ca3e3eb3e8ca9f5a5b50eb738ca8d
Gerrit-Change-Number: 16288
Gerrit-PatchSet: 4
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191128/d781b02d/attachment.htm>


More information about the gerrit-log mailing list