From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14016 invoked by alias); 24 Jun 2014 13:17:17 -0000 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 Received: (qmail 14004 invoked by uid 89); 24 Jun 2014 13:17:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL autolearn=no version=3.3.2 X-HELO: gateway03.websitewelcome.com Received: from gateway03.websitewelcome.com (HELO gateway03.websitewelcome.com) (69.93.38.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 24 Jun 2014 13:17:15 +0000 Received: by gateway03.websitewelcome.com (Postfix, from userid 5007) id 8F3B796662396; Tue, 24 Jun 2014 08:16:27 -0500 (CDT) Received: from ham04.websitewelcome.com (ham04.websitewelcome.com [184.173.232.33]) by gateway03.websitewelcome.com (Postfix) with ESMTP id E881196654062 for ; Tue, 24 Jun 2014 08:16:14 -0500 (CDT) Received: by ham04.websitewelcome.com (Postfix, from userid 500) id DD62F462F5DE5; Tue, 24 Jun 2014 08:16:14 -0500 (CDT) X-Spam-Flag2999: NO X-Spam-Level2999: X-Spam-Status2999: "No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.1 Received: from montecarlo.websitewelcome.com (montecarlo.websitewelcome.com [192.185.12.42]) by ham04.websitewelcome.com (Postfix) with ESMTP id 6C341462F5CA3 for ; Tue, 24 Jun 2014 08:16:13 -0500 (CDT) Received: from [89.185.213.209] (port=42418 helo=[192.168.2.99]) by montecarlo.websitewelcome.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.82) (envelope-from ) id 1WzQa4-0007V0-Ve for ecos-discuss@ecos.sourceware.org; Tue, 24 Jun 2014 08:16:13 -0500 Message-ID: <53A97A1A.40102@siva.com.mk> Date: Tue, 24 Jun 2014 13:17:00 -0000 From: Ilija Stanislevik User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org References: <53A7E6E3.7030109@unicore.co.ua> In-Reply-To: <53A7E6E3.7030109@unicore.co.ua> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BWhitelist: no X-Exim-ID: 1WzQa4-0007V0-Ve X-Source-Sender: ([192.168.2.99]) [89.185.213.209]:42418 X-Source-Auth: ilijas+siva.mk X-Email-Count: 2 X-Source-Cap: c2l2YW1rO2JpYmltYW47bW9udGVjYXJsby53ZWJzaXRld2VsY29tZS5jb20= X-IsSubscribed: yes Subject: Re: [ECOS] ecos hardware flow control for just one serial port X-SW-Source: 2014-06/txt/msg00020.txt.bz2 On 06/23/2014 10:35 AM, Oleg Uzenkov wrote: > Dear All, > > I have a custom board with STM32F4 which has multiple serial ports. Is > there a way in eCos to enable Hardware Flow Control for just one > serial port? Or, if enabled, Hardware Flow Control applies to all > serial port drivers? > > Thanks in advance, > > Oleg > Enabling CYGPKG_IO_SERIAL_FLOW_CONTROL and CYGOPT_IO_SERIAL_FLOW_CONTROL_HW only gives you a possibility to use hardware flow control. Then you can use cyg_io_set_config() to activate flow control on particular serial port. Ilija -- Ilija Stanislevik SIvA doo ul. Mladinska 43 lok. 6 p.f. 53 MK-2400 Strumica Macedonia www.siva.mk -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss