Rebuilding the libpic30 Library

By default, the Support Libraries helper functions were written to work with the sim30 simulator. The header file simio.h defines the interface between the library and the simulator. It is provided so you can rebuild the libraries and continue to use the simulator. However, your application should not use this interface since the simulator will not be available to an embedded application.

The helper functions must be modified and rebuilt for your target application. The libpic30-omf.a library can be rebuilt with the batch file named makelib.bat which has been provided with the sources in src\pic30. Execute the batch file from a command window. Be sure you are in the src\pic30 directory, then copy the newly compiled file (libpic30-omf.a) into the lib directory.