Change in osmo-ccid-firmware[master]: proper sercom config for the other 6 slots

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
Tue Nov 26 18:39:12 UTC 2019


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


Change subject: proper sercom config for the other 6 slots
......................................................................

proper sercom config for the other 6 slots

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



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

diff --git a/sysmoOCTSIM/config/hpl_sercom_config.h b/sysmoOCTSIM/config/hpl_sercom_config.h
index 4526665..bb2bbff 100644
--- a/sysmoOCTSIM/config/hpl_sercom_config.h
+++ b/sysmoOCTSIM/config/hpl_sercom_config.h
@@ -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/+/16240
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: I266014e4d3ff09be9c5cdd5a686d6d2f5668145a
Gerrit-Change-Number: 16240
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/20191126/dfd0a937/attachment.htm>


More information about the gerrit-log mailing list