• How to print osStatus_t defines easily?
    I am trying to debug a code that was written with little error checking. I want to output via debug printf what the functions have returned, so whether threads were suspended or not. In this case the...
  • Why I can't Build?
    Why I can't Build? Rebuild target 'Target 1' compiling UART_main.c... UART_main.c(107): warning C316: unterminated conditionals compiling ser.c... linking... *** WARNING L16: UNCALLED SEGMENT...
  • why can't const array be in
    const char anarray[5]={1,3,5,7,9}; The above works well. But occupies a lot of mem. const char code anarray[5]={1,3,5,7,9}; Compliled and linked without an error prompt. But works bad....
  • Why I can't Build?
    When I execute Build target, "FATAL ERROR L210:I/O ERROR ON INPUT FILE...." is shown. Why I can't Build? Build target 'Target 1' compiling main.c... MAIN.C(1): warning C500: SERIAL NUMBER EXPIRED...
  • why these codes can't work?
    I want to get a 1000HZ PWM. @15MHz VPB Clock codes like this void ini_pwm() { PINSEL0 =0x02<<14; /* Enable P0.7 as PWM output */ PWMPR=0x00; PWMMCR=0x02; PWMPCR=0x0400; PWMMR0=0x16E360; PWMMR2...