From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7289 invoked by alias); 31 May 2007 22:20:26 -0000 Received: (qmail 7280 invoked by uid 22791); 31 May 2007 22:20:25 -0000 X-Spam-Check-By: sourceware.org Received: from mail.cipher.com (HELO cipher.com) (198.107.56.73) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 31 May 2007 22:20:23 +0000 Received: from [10.0.0.98] ([10.0.0.98]) by cipher.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 31 May 2007 15:20:21 -0700 Message-ID: <465F4A25.8070407@cipher.com> Date: Thu, 31 May 2007 23:17:00 -0000 From: Jim Seymour User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] AT91 Serial Receive: asserts when buffer fills up X-SW-Source: 2007-05/txt/msg00224.txt.bz2 In the serial DSR in at91_serial.c, there is a CYG_FAIL() macro if the receive buffer fills up. (Line #612) Is this appropriate? We like to run with asserts turned on (at least during development), but in our application, overflowing the receive buffer is not that big of a deal. It appears that all the other serial drivers quietly throw away characters if their receive buffer is full. Any complaints if I submit a patch to do the same in the AT91 driver? -- Jim Seymour, Cipher Systems, Inc., 503-617-7447, http://www.cipher.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss