problem with compiling program for pic18f252

  • Varun

    Varun - 2007-12-03

    i am using sdcc to compile a simple program for the pic18f2f2

    the program "servo.c" is as follows-

    #include <pic18fregs.h>

    void main(void)
      unsigned char count;
      TRISA = 0;
      count = 0;
        PORTA = count;

    on giving the command -

    sdcc -mpic16 -p18f252 servo.c

    gives the following error -

    'gpasm' is not recognized as an internal or external command, operable program or batch file. Can anyone help me solve this problem?

    • Sergey A. Borshch

      Download and install gputils.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks