hi
i downloaded OKL4 3.0 release and i made it work.
i'm trying to build some examples in iguana project, such as dining_philosopers or producer_consumer and they works fine.
i should use scanf to receive inputs from keyboard. i tried to edit producer_consumer like this:
int n;
printf("Insert a number: ");
scanf ("%d",&n);
printf("The number is%d", n);
I built that with
$ tools/build.py machine=gumstix project=iguana PYFREEZE=False example=producer_consumer
then
$ skyeye -c sdk/skyeye.conf -e build/images/image.sim
and producer_consumer started
OKL4 - (provider: Open Kernel Labs) built on May 4 2009 17:18:06 using gcc version 3.4.4.
Start Producer consumer test #1(0x8)
Producer-Consumer 8 results:
* Semaphore "empty" = 16
* Semaphore "full" = 0
* Total items consumed = 100 (100 = 100)
Producer consumer test #1(0x8) finished
Insert a number:
the problem is: when i try to type something after "Insert a number", nothing happens. it's like if my keyboard is not recognized.
is there anything i could do to get my keyboard working?
thanks a lot for you help