Change in osmo-ccid-firmware[master]: sercom config for t1

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/.

Hoernchen gerrit-no-reply at lists.osmocom.org
Wed Nov 27 18:44:07 UTC 2019


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


Change subject: sercom config for t1
......................................................................

sercom config for t1

t0 doesn't work

Change-Id: Ie6cb7ec51036f1de15c83b59d130f3cb85309594
---
M sysmoOCTSIM/config/hpl_sercom_config.h
1 file changed, 14 insertions(+), 14 deletions(-)



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

diff --git a/sysmoOCTSIM/config/hpl_sercom_config.h b/sysmoOCTSIM/config/hpl_sercom_config.h
index beac040..bb2bbff 100644
--- a/sysmoOCTSIM/config/hpl_sercom_config.h
+++ b/sysmoOCTSIM/config/hpl_sercom_config.h
@@ -52,7 +52,7 @@
 // <i> Number of stop bits in USART frame
 // <id> usart_stop_bit
 #ifndef CONF_SERCOM_0_USART_SBMODE
-#define CONF_SERCOM_0_USART_SBMODE 0
+#define CONF_SERCOM_0_USART_SBMODE 1
 #endif
 
 // <o> Baud rate <1-3000000>
@@ -70,7 +70,7 @@
 // <i> Define ISO7816 protocol type as 0.
 // <id> usart_iso7816_type
 #ifndef CONF_SERCOM_0_USART_ISO7816_PROTOCOL_T
-#define CONF_SERCOM_0_USART_ISO7816_PROTOCOL_T 0x1
+#define CONF_SERCOM_0_USART_ISO7816_PROTOCOL_T 0x0
 #endif
 
 // <o> ISO7816 Inhibit Not Acknowledge
@@ -324,7 +324,7 @@
 // <i> Number of stop bits in USART frame
 // <id> usart_stop_bit
 #ifndef CONF_SERCOM_1_USART_SBMODE
-#define CONF_SERCOM_1_USART_SBMODE 0
+#define CONF_SERCOM_1_USART_SBMODE 1
 #endif
 
 // <o> Baud rate <1-3000000>
@@ -342,7 +342,7 @@
 // <i> Define ISO7816 protocol type as 0.
 // <id> usart_iso7816_type
 #ifndef CONF_SERCOM_1_USART_ISO7816_PROTOCOL_T
-#define CONF_SERCOM_1_USART_ISO7816_PROTOCOL_T 0x1
+#define CONF_SERCOM_1_USART_ISO7816_PROTOCOL_T 0x0
 #endif
 
 // <o> ISO7816 Inhibit Not Acknowledge
@@ -596,7 +596,7 @@
 // <i> Number of stop bits in USART frame
 // <id> usart_stop_bit
 #ifndef CONF_SERCOM_2_USART_SBMODE
-#define CONF_SERCOM_2_USART_SBMODE 0
+#define CONF_SERCOM_2_USART_SBMODE 1
 #endif
 
 // <o> Baud rate <1-3000000>
@@ -614,7 +614,7 @@
 // <i> Define ISO7816 protocol type as 0.
 // <id> usart_iso7816_type
 #ifndef CONF_SERCOM_2_USART_ISO7816_PROTOCOL_T
-#define CONF_SERCOM_2_USART_ISO7816_PROTOCOL_T 0x1
+#define CONF_SERCOM_2_USART_ISO7816_PROTOCOL_T 0x0
 #endif
 
 // <o> ISO7816 Inhibit Not Acknowledge
@@ -868,7 +868,7 @@
 // <i> Number of stop bits in USART frame
 // <id> usart_stop_bit
 #ifndef CONF_SERCOM_3_USART_SBMODE
-#define CONF_SERCOM_3_USART_SBMODE 0
+#define CONF_SERCOM_3_USART_SBMODE 1
 #endif
 
 // <o> Baud rate <1-3000000>
@@ -886,7 +886,7 @@
 // <i> Define ISO7816 protocol type as 0.
 // <id> usart_iso7816_type
 #ifndef CONF_SERCOM_3_USART_ISO7816_PROTOCOL_T
-#define CONF_SERCOM_3_USART_ISO7816_PROTOCOL_T 0x1
+#define CONF_SERCOM_3_USART_ISO7816_PROTOCOL_T 0x0
 #endif
 
 // <o> ISO7816 Inhibit Not Acknowledge
@@ -1140,7 +1140,7 @@
 // <i> Number of stop bits in USART frame
 // <id> usart_stop_bit
 #ifndef CONF_SERCOM_4_USART_SBMODE
-#define CONF_SERCOM_4_USART_SBMODE 0
+#define CONF_SERCOM_4_USART_SBMODE 1
 #endif
 
 // <o> Baud rate <1-3000000>
@@ -1158,7 +1158,7 @@
 // <i> Define ISO7816 protocol type as 0.
 // <id> usart_iso7816_type
 #ifndef CONF_SERCOM_4_USART_ISO7816_PROTOCOL_T
-#define CONF_SERCOM_4_USART_ISO7816_PROTOCOL_T 0x1
+#define CONF_SERCOM_4_USART_ISO7816_PROTOCOL_T 0x0
 #endif
 
 // <o> ISO7816 Inhibit Not Acknowledge
@@ -1412,7 +1412,7 @@
 // <i> Number of stop bits in USART frame
 // <id> usart_stop_bit
 #ifndef CONF_SERCOM_5_USART_SBMODE
-#define CONF_SERCOM_5_USART_SBMODE 0
+#define CONF_SERCOM_5_USART_SBMODE 1
 #endif
 
 // <o> Baud rate <1-3000000>
@@ -1430,7 +1430,7 @@
 // <i> Define ISO7816 protocol type as 0.
 // <id> usart_iso7816_type
 #ifndef CONF_SERCOM_5_USART_ISO7816_PROTOCOL_T
-#define CONF_SERCOM_5_USART_ISO7816_PROTOCOL_T 0x1
+#define CONF_SERCOM_5_USART_ISO7816_PROTOCOL_T 0x0
 #endif
 
 // <o> ISO7816 Inhibit Not Acknowledge
@@ -1684,7 +1684,7 @@
 // <i> Number of stop bits in USART frame
 // <id> usart_stop_bit
 #ifndef CONF_SERCOM_6_USART_SBMODE
-#define CONF_SERCOM_6_USART_SBMODE 0
+#define CONF_SERCOM_6_USART_SBMODE 1
 #endif
 
 // <o> Baud rate <1-3000000>
@@ -1702,7 +1702,7 @@
 // <i> Define ISO7816 protocol type as 0.
 // <id> usart_iso7816_type
 #ifndef CONF_SERCOM_6_USART_ISO7816_PROTOCOL_T
-#define CONF_SERCOM_6_USART_ISO7816_PROTOCOL_T 0x1
+#define CONF_SERCOM_6_USART_ISO7816_PROTOCOL_T 0x0
 #endif
 
 // <o> ISO7816 Inhibit Not Acknowledge

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16265
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: Ie6cb7ec51036f1de15c83b59d130f3cb85309594
Gerrit-Change-Number: 16265
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191127/c26ba8cf/attachment.htm>


More information about the gerrit-log mailing list