Sure, no problem!

Looking at the code, someone along the way changed the first calling parameter in that function from "FAR SCREEN *sp" to "FAR SCREEN *s". In my older copy of the NuttX code, the first parameter is "FAR SCREEN *sp".

Since I know the code pretty well, I can pull down the Apache NuttX head and try to compile it.

Ken

On 1/22/21 11:31 AM, Grr wrote:
Thank you for your response

I searched menuconfig according to your instructions and found it.
Compilation crashed with

nuttx/pdcdisp.c:840:19: error: 'sp' undeclared (first use in this
function); did you mean 's'?

but it's a matter of debugging it. Maybe a lacking option, I'll research it

Thanks again
Grr


El vie, 22 ene 2021 a las 13:11, Ken Pettit (<petti...@gmail.com>) escribió:

Grr,

Actually, pdcurses has a mode that will work over serial using
System->Termcurses.  This is a terminal based extension to pdcurses that
I added a few years back.  It supports VT-100 / ANSI escape codes.  I
haven't tested it in the Apache NuttX framework to validate it still
works though.

If you don't define CONFIG_SYSTEM_TERMCURSES, then yes, you will get an
error about the graphic fb creation.

Ken

On 1/22/21 11:02 AM, Grr wrote:
Hello all

Is there a way to have formatted text output over serial? I want to
create
some testing utility that runs from nsh and has some screen organization
to
ease use

I tested pdcurses examples but they seem to depend on fb (haven't
analyzed
code) and all exited or crashed with "initscr(): Unable to create SP"

Is there a builtin way to do such thing?

TIA
Grr



Reply via email to