I'm looking at creating a fd mapped to memory ala the example in the NNDK Prog Man.
But then I will need to swap this fd with stdio before i use it. i really don't like having
to swap back and forth so i can use stdio too. some(?) of the Show...() functions
have fShow...() versions. i could add fShow...() versions for some of the others, but
am i doing this the hard way?
Grabbing the output from the Show...() functions
Re: Grabbing the output from the Show...() functions
Looking at EFFS-STD as a possible workaround...I saw references to ramdrv - is that what
I'm looking for? an EFFS on RAM rather than built-in flash? does it exist?
I'm looking for? an EFFS on RAM rather than built-in flash? does it exist?
Re: Grabbing the output from the Show...() functions
At some level you need to decide what you want.
You can redirect stdio to a custom fd, or you can change the shows to fshows both are valid approaches.
You can also create other versions of the shows....
I'm personally partial to syslog for this sort of stuff.
Use SysLog( const char *format, ... ); just like printf....
Then use udpterminal to monitor port 514.
Just like a serial terminal without burning a serial port.
Paul
You can redirect stdio to a custom fd, or you can change the shows to fshows both are valid approaches.
You can also create other versions of the shows....
I'm personally partial to syslog for this sort of stuff.
Use SysLog( const char *format, ... ); just like printf....
Then use udpterminal to monitor port 514.
Just like a serial terminal without burning a serial port.
Paul