1
\$\begingroup\$

I've downloaded source code of an application note from Microchip's web site (AN1307). In order to try it, I created a new project in MPLABX. Then I added all source and header files that I've downloaded to the project. When I built the project it gave an error because header file uart.h was not included. But there was no uart.h file in the source code that I've downloaded from the web site.

What should I do? Where can I find that header file? Should I write it on my own?

\$\endgroup\$

2 Answers 2

1
\$\begingroup\$

The uart.h should be part of your MPLABX installation. According to the makefile it is looking for it in:

../../program files/microchip/mplab c30/support/peripheral_30F_24H_33F/UART.h
\$\endgroup\$
0
\$\begingroup\$

We must have downloaded .exe of related peripheral libraries (PLIBS) from microchips compiler download page. That .exe automatically installs essential files (included uart.h) into the ...\support\peripheral_30F_24H_33F directory.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.