gmiller
Joined: 07 Mar 2006 Posts: 105 Location: Simi Valley, CA.
|
Posted: Thu Mar 23, 2006 1:27 pm Post subject: Compiling time with Code Composer Studio |
|
|
Q: Why does it take so long to compile and link my Pismo application.
A: Code Composer Studio ( CCS ) using C++ with the CDB file, there is a lot of compiling and linking to be done. This uses a lot of time as it is. Innovative also has many library commands to search through. There is one file that can be copied to your program and included in place of
#include "..\OmniBusModules.h"
Make a new name for this file eg
MyModules.h
*************************************************
Then take out the current #include and replace it with
#include "MyModules.h"
*************************************************
Now open the file and edit the lines of code
#define ALL__ 1
To read
#define ALL__ 0
*************************************************
now find the module or modules you are using and change them to read.(use your moduals in this place)
#define A4D4__ 1
if a second module is present
#define Servo16__ 1
*************************************************
If you have 2 of the same module then only one line with the modual name is required to be changed.
Save the file and now recompile your app. The link time will be much quicker. |
|