This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PC-Lint and RTX166

Hello,

has anyone already succesfully configured the wonderful PC-Lint tool for RTX166? I mean, configured so that it does recognize the RTX166 specific sintax for task functions declaration...
Thanks- Stefano Costa

Parents
  • Hi Stefano,

    I did a port from existing LNT file to
    that for XC16x.
    But for Tasks may be you can use as I did
    for interrupts.

    //lint -e20 -e745 -e10
    void NMI_Trap(void)interrupt NMIIRQ=NMI_TRAP
    		{
      		NMI_SWITCH_PRESSED=1;
      		TFR=0;
    		}
    //lint +e20 +e745 +e10
    
    This causes lint to supress some error messages, which are definitely
    wrong at these functions, since the IDE requires such a syntax.

    Stefan

Reply
  • Hi Stefano,

    I did a port from existing LNT file to
    that for XC16x.
    But for Tasks may be you can use as I did
    for interrupts.

    //lint -e20 -e745 -e10
    void NMI_Trap(void)interrupt NMIIRQ=NMI_TRAP
    		{
      		NMI_SWITCH_PRESSED=1;
      		TFR=0;
    		}
    //lint +e20 +e745 +e10
    
    This causes lint to supress some error messages, which are definitely
    wrong at these functions, since the IDE requires such a syntax.

    Stefan

Children