Change in osmo-ccid-firmware[master]: increase the uart ring buffer size

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:08 UTC 2019


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


Change subject: increase the uart ring buffer size
......................................................................

increase the uart ring buffer size

must be be a power of 2, and should be at least as large as the largest
transfer that we might be waiting for - revisit this, is 256 enough?

Change-Id: Id4b4691dd32d465f627ba42c0ba3d509dcf8f42c
---
M sysmoOCTSIM/driver_init.c
1 file changed, 7 insertions(+), 7 deletions(-)



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

diff --git a/sysmoOCTSIM/driver_init.c b/sysmoOCTSIM/driver_init.c
index 620ed6c..c373dc2 100644
--- a/sysmoOCTSIM/driver_init.c
+++ b/sysmoOCTSIM/driver_init.c
@@ -12,25 +12,25 @@
 #include <hal_init.h>
 
 /*! The buffer size for USART */
-#define SIM0_BUFFER_SIZE 16
+#define SIM0_BUFFER_SIZE 512
 
 /*! The buffer size for USART */
-#define SIM1_BUFFER_SIZE 16
+#define SIM1_BUFFER_SIZE 512
 
 /*! The buffer size for USART */
-#define SIM2_BUFFER_SIZE 16
+#define SIM2_BUFFER_SIZE 512
 
 /*! The buffer size for USART */
-#define SIM3_BUFFER_SIZE 16
+#define SIM3_BUFFER_SIZE 512
 
 /*! The buffer size for USART */
-#define SIM4_BUFFER_SIZE 16
+#define SIM4_BUFFER_SIZE 512
 
 /*! The buffer size for USART */
-#define SIM5_BUFFER_SIZE 16
+#define SIM5_BUFFER_SIZE 512
 
 /*! The buffer size for USART */
-#define SIM6_BUFFER_SIZE 16
+#define SIM6_BUFFER_SIZE 512
 
 /*! The buffer size for USART */
 #define UART_DEBUG_BUFFER_SIZE 256

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16268
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: Id4b4691dd32d465f627ba42c0ba3d509dcf8f42c
Gerrit-Change-Number: 16268
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/5cbbe3a9/attachment.htm>


More information about the gerrit-log mailing list