This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Could not open p430x.h file error

Other Parts Discussed in Thread: SYSBIOS

Hi,

      I am using MSP430 with sysbios and i have created timer module instance statically and want to use instance name  in my application. when I include <xdc/cfg/global.h> file then i get error "could not open file Debug/packages/..../cfg/amit_p430x.h file"

How to fix this problem?

Thanks,
Amit Bhorania 

  • Amit,

    I think you are including both msp430.h and xdc/cfg/global.h in the same .c file?  If so, you need to include msp430.h *after* xdc/cfg/global.h.  Some of the redefinitions from msp430.h collide with some XDCtools definitions.  A bug report was recently opened for this.

    If you switch the include order of the two header files, does the error go away?

    Or is it something else?

    Thanks,
    Scott

  • Hi Scott Gary,

                            Your Solution is perfect. I changed the Order and Compilation is successful. Thanks a lot for your kind help.

    Thanks,
    Amit Bhorania