Post Go back to editing

Disable automatic generation of LDF files

Category: Software
Product Number: ADSP-SC587

I'm working with CCES 2.7.0, and I need to manually modify the ldf file to adjust the range of some memory segments. This cannot be done using the "Startup Code/LDF" Add-in , nor by inserting anything in $VDSG sections. So I want to use my own custom LDF file.

I'm currently using "Startup Code/LDF" for both startup and ldf files generation. Is there a way to disable LDF generation only? (possibly by modifying the svc file)

  • Hi,

    You can use custom LDF file by renaming that file like "custom.app.ldf" and add to project by browsing into -T switch, which is available by go to Project > Properties > C/C++ Build > Settings > Tools Settings > CrossCore SHARC Linker > General.

    -T switch directs the compiler to use the specified linker description file (.ldf) as control input for linking. Try using the below command to add custom_app.ldf

    "${ProjDirPath}/system/startup_ldf/custom_app.ldf". If the custom LDF is not specified, then the default LDF for your processor is used.

    Hope this helps.

    Regards,
    Santhakumari.K