Colway Solutions
Modbus Member Logo

Add Source Code to your Project

 

The first step in using MSPL-C is to add its source files to your project. The procedure for this step differs from one compiler or IDE to other. The following section describes this procedure with relevant screen shots for the Silicon Laboratories IDE. Procedure for other IDE's will be similar.

 

i.     

Create a new group called "MSPL" by right-clicking on the project name and choosing "Add Groups to project <proj name>" as shown below. Note that this step is optional.

 

ii.    Right-click the mouse on the MSPL group created above. If the above step was skipped, right-click on any other group to which you intend to add MSPL-C files. Click on item "Add file to group <group name>". A File Open dialog box appears.

 

iii.  

Browse to the folder containing the MSPL-C files and select all .c files. Click "Open".

 

iv.  Press and hold the CTRL key and select all .c MSPL files. Right-click and choose "Add to build". This step is necessary to include the MSPL-C files in the compilation and build process.

 

Back to Index

 

Privacy Policy Site Map FAQ Contact Us