Altera_Forum
Honored Contributor
16 years agoconsole driver
For starters, my experience with operating systems is predicated around vxWorks. That said consider the contrived program:
# include <iostream>
bool done = false ;
static
void display() {
std::cout << "." ;
done = true ;
}
int main() {
while ( !done ) {}
}
vxWorks has a 'console driver' that allows the user to type the static funciton "display" and observe - in this case the output. The question: How can I write a console driver for microC that'll achieve the same objective? Of course if a member on this board has a driver available and is willing to share, then by all means feel free to contact me. I have JTAG and UART to work with.