• run error when use __weak to define function
    HI,i want use __weak to define function and create a project like follow: in file main.c void weakFunctioin(void){ logInfo("print nonWeakFunction\r\n"); return; } int main(void){ logInit...
  • error for a reentrant function when generate assembler source file option is active
    Hi, I've used the following code for onecyle delays : #pragma asm nop;//;simple delay #pragma endasm So in the options tab of the file that contains the function I checked "generate assembler...
  • why and when to use Static Function
    Dear friend, can anybody explain me why this kind of Static function used and when it should be used? static void delay (unsigned long cnt) { while (cnt--); }
  • Errors when including header file at89x051
    Hi, i'm kinda new to this so you'll have to excuse my ignorance. I'm using the MC AT89C4051 and I need to program it, so I got the at89x051.h and when I compile my program (with the #include<at89x51...
  • Error message when trying to build hex file
    I am writing some code for the nanomodul-164 based on the C164CI microcontroller. when I select 'Build Target' from the 'Project' menu I get the following error: C166 FATAL-ERROR - ACTION: PREPROCESSING...