• charger.c(174): error C141: syntax error near ''
    this is my source code #include <REG51F.H> sbit sl1=P2^0; sbit sl2=P2^1; sbit sl3=P2^2; sbit led1=P2^3; sbit led2=P2^4; sbit led3=P2^5; sbit Rl1=P1^0; sbit Rl2=P1^1; bit kp1; bit kp2; bit kp3;...
  • intrinsic _bfld_ error
    I am using PK166 V7.04 and an Infineon XE167G CPU. When I try to use the _bfld_() intrinsic I get the following error message during compilation. Source\main_cmc300.c(32): error C167: intrinsic ...
  • intrinsic functions
    The GNU compiler can define intrinsic functions. Is there a mechanism in Keil library or whatever, to allow you to create a function in assembly and tag it as intrinsic? How can you pop a couple...
  • Static declaration error
    Code: static unsigned int timer[num_timers]; Error: TIMER_MODULE.C(6): error C221: non-constant case/dim expression An error has been generated while declaring an array in static. Or else...