• os_tsk_prio in interrupt rutine
    Hello! I was wandering, is it safe to call os_tsk_prio()inside a interrupt rutine? Are any os_ functions safe to call from interrupts or are only isr_ functions allowed? Thanks for your answers...
  • The worst comment ever?
    Just running through some code written by someone no longer involved in the project and came across this: JobInProgress = true; // Obviously! Undoubtedly, comment style and reasoning can vary...
  • lpc2387 timer0 irq works only once
    I'm trying to blink diode, using timer0 MR0 irq. The problem is that the irq works only one time. I see diode is just blinking once and nothing else. I localized the issue and here's the code:...
  • RTX51-full - os_wait for ever
    Hello all. Can anyone help me with the following one? My target is working under RTX51-full. I have an interrupt function (void mc12comm() interrupt 0 using 3) that calls other regular function, and...
  • never, ever increments
    a very, very odd thing.... #define BUFFER_SZ 64 unsigned char sBuf0tail; sBuf0tail = ((sBuf0tail + 1) % BUFFER_SZ); .. this increments a circular buffer index just fine. #define BUFFER_SZ 64...