Part Number: CCSTUDIO-SAFETY
Tool/software: Code Composer Studio
My post-build command is set to the following:
${PROJECT_LOC}\..\..\..\..\..\..\..\..\ECP_Targets\TMS570LC4357\ECP_HAL_TMS570LC4357\data\trunk\Tools\CRC_Post_Process\postprocess.bat ${ProjName}.out ${ProjName}.map
The post build command fails with the following message:
C:/_HendersonSync/Workspaces/workspace_ECP_ALM_svn/Embedded_Controller_Platform/ECP/ECP_Modules/ECP_Data_Concentrator_Variants/ECP_DC_TMS570LC4357/data/trunk/Source/build/dc_bsp/../../../../../../../..\ECP_Targets\TMS570LC4357\ECP_HAL_TMS570LC4357\data\trunk\Tools\CRC_Post_Process\postprocess.bat dc_bsp.out dc_bsp.map makefile:194: recipe for target 'post-build' failed process_begin: CreateProcess(NULL, C:/_HendersonSync/Workspaces/workspace_ECP_ALM_svn/Embedded_Controller_Platform/ECP/ECP_Modules/ECP_Data_Concentrator_Variants/ECP_DC_TMS570LC4357/data/trunk/Source/build/dc_bsp/../../../../../../../..\ECP_Targets\TMS570LC4357\ECP_HAL_TMS570LC4357\data\trunk\Tools\CRC_Post_Process\postprocess.bat dc_bsp.out dc_bsp.map, ...) failed. gmake[2]: [post-build] Error 2 (ignored)
Note: the above command works in the command line when run from the Debug build folder of the project.
When I hard code the path in the post-build steps, it works with no error.
Is there some limitation on the path length in CreateProcess or something?