<p>Kévin Redon <strong>uploaded patch set #10</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/13677">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">add async library with ring on TX<br><br>the standard async library expected the caller to wait until the<br>transmission was complete (by counting using the transmit callback<br>or checking using usart_async_get_status) before freeing/reusing<br>the memory holding the data to be transmitted.<br>this is not practical when using stdio on top of the peripheral<br>since printf returns directly and reuses the memory.<br>the new USART async library has a ring buffer for the data to be<br>transmitted (similar to the data being received).<br><br>WARNING: write is blocking when the TX buffer is full.<br>this prevents loosing data.<br><br>Change-Id: Iafd5295b90ef9f428f640314c24f6c31ee82c9d6<br>---<br>M sysmoOCTSIM/gcc/Makefile<br>A sysmoOCTSIM/hal/include/hal_usart_async_rings.h<br>A sysmoOCTSIM/hal/src/hal_usart_async_rings.c<br>3 files changed, 768 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/77/13677/10</pre><p>To view, visit <a href="https://gerrit.osmocom.org/13677">change 13677</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/13677"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ccid-firmware </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Iafd5295b90ef9f428f640314c24f6c31ee82c9d6 </div>
<div style="display:none"> Gerrit-Change-Number: 13677 </div>
<div style="display:none"> Gerrit-PatchSet: 10 </div>
<div style="display:none"> Gerrit-Owner: Kévin Redon <kredon@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>