Wayne Keenan created MYNEWT-469:
-----------------------------------
Summary: Remove OS dependancy on console module
Key: MYNEWT-469
URL: https://issues.apache.org/jira/browse/MYNEWT-469
Project: Mynewt
Issue Type: Wish
Components: OS
Affects Versions: WISHLIST
Environment: all
Reporter: Wayne Keenan
Fix For: WISHLIST
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...
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?
The OOTB MicroPython REPL console code really needs direct access to Serial
TX/RX.
Two key issues are:
cons_tty.c 'mangles' RX data before
stdout depends on console_write
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)