Post Go back to editing

About Add-ins in system.svc

Hi,

    Is the Add-ins need to be added to my project since I run my program normally without any add-ins. For example, when I use the SPORTs, I just include some .h files without add the SPORT Driver for SHARC (1.0.0)  in system.svc .

    I wonder what's the difference between the Add-ins and include .h files? Will I get some pitfalls if I don't use the Add-ins ?

    Thanks!

  • Hello,

    The DSP header files contain prototypes for all of the DSP library functions. When the appropriate #include preprocessor command is included in your source, the compiler uses the prototypes to check that each function is called with the correct arguments. So while including .h files, the APIs will be link against the prebuilt device drivers library (libdrv.dlb).

    While using the Add-in in the system configuration (system.svc), it will add the driver sources to the project (system -> drivers) instead of link against the prebuilt library.

    If you are not using the Add-in, it will not cause any issue until you are trying to modify/change the source file.

    Best Regards,
    Santhakumari.K

  • Hi, thank you for reply, the answer is very helpful !