Hi Wayne, > On Nov 2, 2016, at 10:53 AM, Wayne Keenan <[email protected]> wrote: > > I've found that (at least) the stdout, stdin and the assert facility > depends on the console module; I think this is perhaps inverted, but > obviously that depends on your view…
Indeed :) > I wish to use direct UART access and am using the console stub to placate > the noble et. al dependancies. But as a result no assert messages can be > output. I'd also like to wire up a third part library to stdout/in (however > in the version I'm using these seem to be somewhat deserted constructs) > > I've not had a chance to look, but is there a low level UART HAL (perhaps > with basic buffer support) that the console, stdio, assert can all depend > on in more recent development versions of Mynewt? > I recommend having console/full, but not include shell package. This is what some of the sample apps do, like apps/bleprph. Alternatively we could have a knob in console/full that turns off normal I/O, only keeping output when system crashes. Is there something missing from the console/shell interface that you need? I know the blocking APIs for stdin don’t exist yet, I filed a JIRA ticket about that one recently. — M
