MC-3020 supports the integration of user supplied source
code (.c
and .h
files)
and libraries (.a
and
.dll
). To add additional source code and
libraries to the generated and compiled system, simply deposit
files into the src
folder within the project
folder.
CDT will detect these source files and libraries anywhere
within the project except within the
gen
folder and within the
models
folder. It is recommended that the
user create sub-folders within the src
folder
to organize the added source code and libraries.
Note that the naming conventions used by the source code and libraries being added should differ substantially from the naming conventions used in the MC-3020 generated code. Careful naming will avoid name collisions and conflicts between generated code and added code.