Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2013 22:44:24 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
To:        freebsd-arm@FreeBSD.org
Subject:   Re: stm32flash under FreeBSD?
Message-ID:  <20130919224424.d3f1a8ae8048da982ca3863b@getmail.no>
In-Reply-To: <20130919110656.5F9E197257B@macavity.inf.ed.ac.uk>
References:  <20130919110656.5F9E197257B@macavity.inf.ed.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Sep 2013 12:06:56 +0100 (BST)
Richard Tobin <richard@inf.ed.ac.uk> wrote:

> > Then it mangles the error reporting to make it
> > look like the tty device was the thing not found.
> 
> It appears to call perror(device) if serial_setup() returns an error,
> even though that can fail without setting errno.

To me (but I am no expert) it looks like it never reaches serial_setup(), it fails after serrial_open().

-- 
Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130919224424.d3f1a8ae8048da982ca3863b>