del Link_result.txt del \Debug\BL_TC277TF.elf del \Debug\BL_TC277TF.hex del \Debug\BL_TC277TF.map @set path=%path%;C:\Program Files\TASKING\TriCore v4.0r2\ctc\bin @set LNKFILE= .\LSLfiles\tc27x.lsl @set SWDL_OPTIONS= -d %LNKFILE% -D__CPU__=tc27x -D__PROC_TC27X__ --core=mpe:vtc -OtxycL --map-file=BL_TC277TF.map echo Linking all Modules.................>>Link_result.txt REM ltc %SWDL_OPTIONS% .\Debug\cstart.obj .\Debug\bt_main.obj .\Debug\bt_scheduler.obj .\Debug\can.obj --library=c -o .\Executables\samplebuild.elf -o .\Executables\samplebuild.hex:IHEX 2>> Link_Result.txt ltc %SWDL_OPTIONS% .\Debug\Obj\sha.obj .\Debug\Obj\libc.obj .\Debug\Obj\DFlash.obj .\Debug\Obj\cstart.obj .\Debug\Obj\bt_fptr.obj .\Debug\Obj\bt_scheduler.obj .\Debug\Obj\bt_swid.obj .\Debug\Obj\can.obj .\Debug\Obj\dg_comn.obj .\Debug\Obj\dg_diag.obj .\Debug\Obj\dg_init.obj .\Debug\Obj\dg_rctrl.obj .\Debug\Obj\dg_secur.obj .\Debug\Obj\dg_tfrdt.obj .\Debug\Obj\dg_updw.obj .\Debug\Obj\nl_init.obj .\Debug\Obj\nl_srvrx.obj .\Debug\Obj\nl_srvtx.obj .\Debug\Obj\tm_timer.obj .\Debug\Obj\pm_init.obj .\Debug\Obj\pm_main.obj .\Debug\Obj\pm_memory.obj .\Debug\Obj\pm_validate.obj .\Debug\Obj\bt_main.obj .\Debug\Obj\bt_var.obj .\Debug\Obj\pm_erase.obj .\Debug\Obj\Second_SL.obj .\Debug\Obj\pm_prog.obj .\Debug\Obj\PM_block_validate.obj .\Debug\Obj\PM_entry.obj .\Debug\Obj\Boot_Info_Block_Cfg.obj .\Debug\Obj\Boot_Info_Blck_MH.obj .\Debug\Obj\Port_Cfg.obj .\Debug\Obj\dg_ctrldtcsetting.obj .\Debug\Obj\dg_comm_control.obj .\Debug\Obj\nl_exe.obj --library=c -o .\Debug\exe\BL_TC277TF.elf 2>> Link_Result.txt REM ltc %SWDL_OPTIONS% .\Debug\cstart.obj --library=c -o .\Executables\samplebuild.elf -o .\Executables\samplebuild.hex:IHEX 2>> Link_Result.txt move BL_TC277TF.map .\Debug\exe REM ---------------Linking End----------------------- pause exit