This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
I was not able to compile the TI-RTOS projects (I tried most of the examples from C:\ti\simplelink_msp432e4_sdk_4_20_00_12\examples\rtos\MSP_EXP432E401Y) using CCS 12.7. Also, I tried different versions of CCS, but the results were the same. However, I installed CCS 12.7 on another laptop, and it is working fine. I can compile easily.
/* ================ Hwi configuration ================ */
var halHwi = xdc.useModule('ti.sysbios.hal.Hwi');
var m3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
*!Windows Specifications
Edition Windows 10 Pro
Version 21H2
OS build 19044.3086
Experience Windows Feature Experience Pack 1000.19041.1000.0
Error details:
**** Build of configuration Debug for project tirtos_builds_MSP_EXP432E401Y_release_ccs ****
"C:\\ti\\ccs1271\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "../release.cfg"
Invoking: XDCtools
"C:/ti/ccs1271/xdctools_3_62_01_16_core/xs" --xdcpath="C:/ti/simplelink_msp432e4_sdk_4_20_00_12/source;C:/ti/simplelink_msp432e4_sdk_4_20_00_12/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432E401Y -r debug -c "C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS" "../release.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring release.xem4f from package/cfg/release_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/Xct/workspace_v123/tirtos_builds_MSP_EXP432E401Y_release_ccs/src/sysbios/sysbios.aem4f ...
clem4f C:/ti/simplelink_msp432e4_sdk_4_20_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
Build of libraries failed.
subdir_rules.mk:12: recipe for target 'build-90018911-inproc' failed
0 [main] sh 20176 sync_with_child: child 4448(0x228) died before initialization with status code 0xC0000142
12 [main] sh 20176 sync_with_child: *** child state waiting for longjmp
C:/Users/Xct/AppData/Local/Temp/make17772-3.sh: fork: Resource temporarily unavailable
gmake[1]: *** [makefile:61: BIOS.obj] Error 128
gmake: *** [C:/Users/Xct/workspace_v123/tirtos_builds_MSP_EXP432E401Y_release_ccs/src/makefile.libs:57: C:/Users/Xct/workspace_v123/tirtos_builds_MSP_EXP432E401Y_release_ccs/src/sysbios/sysbios.aem4f] Error 2
error: xdc.cfg.SourceDir: "C:/ti/ccs1271/xdctools_3_62_01_16_core/packages/xdc/cfg/SourceDir.xs", line 211: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "C:/ti/ccs1271/xdctools_3_62_01_16_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package.mak:202: package/cfg/release_pem4f.xdl] Error 1
gmake.exe: *** Deleting file 'package/cfg/release_pem4f.xdl'
gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file 'package/cfg/release_pem4f.h'
gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file 'package/cfg/release_pem4f.c'
js: "C:/ti/ccs1271/xdctools_3_62_01_16_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-90018911-inproc] Error 1
Building file: "../release.cfg"
Invoking: XDCtools
"C:/ti/ccs1271/xdctools_3_62_01_16_core/xs" --xdcpath="C:/ti/simplelink_msp432e4_sdk_4_20_00_12/source;C:/ti/simplelink_msp432e4_sdk_4_20_00_12/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432E401Y -r debug -c "C:/ti/ccs1271/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS" "../release.cfg"
configuring release.xem4f from package/cfg/release_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/Xtc/workspace_v123/tirtos_builds_MSP_EXP432E401Y_release_ccs/src/sysbios/sysbios.aem4f ...
clem4f C:/ti/simplelink_msp432e4_sdk_4_20_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
Build of libraries failed.
subdir_rules.mk:12: recipe for target 'build-90018911-inproc' failed
0 [main] sh 8908 sync_with_child: child 16928(0x228) died before initialization with status code 0xC0000142
19 [main] sh 8908 sync_with_child: *** child state waiting for longjmp
C:/Users/Xtc/AppData/Local/Temp/make6008-3.sh: fork: Resource temporarily unavailable
gmake[1]: *** [makefile:61: BIOS.obj] Error 128
gmake: *** [C:/Users/Xtc/workspace_v123/tirtos_builds_MSP_EXP432E401Y_release_ccs/src/makefile.libs:57: C:/Users/Xtc/workspace_v123/tirtos_builds_MSP_EXP432E401Y_release_ccs/src/sysbios/sysbios.aem4f] Error 2
error: xdc.cfg.SourceDir: "C:/ti/ccs1271/xdctools_3_62_01_16_core/packages/xdc/cfg/SourceDir.xs", line 211: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "C:/ti/ccs1271/xdctools_3_62_01_16_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_62_01_16_core\gmake.exe: *** [package.mak:202: package/cfg/release_pem4f.xdl] Error 1
xdctools_3_62_01_16_core\gmake.exe: *** Deleting file 'package/cfg/release_pem4f.xdl'
xdctools_3_62_01_16_core\gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file 'package/cfg/release_pem4f.h'
xdctools_3_62_01_16_core\gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file 'package/cfg/release_pem4f.c'
js: "C:/ti/ccs1271/xdctools_3_62_01_16_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[2]: *** [build-90018911-inproc] Error 1
gmake[1]: *** [build-90018911] Error 2
gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
gmake: *** [all] Error 2
subdir_rules.mk:9: recipe for target 'build-90018911' failed
makefile:127: recipe for target 'all' failed
**** Build Finished ****
Hi,
I tried different versions of CCS, but the results were the same. However, I installed CCS 12.7 on another laptop, and it is working fine. I can compile easily.
I'm not sure what the problem is as to why it works on one machine but not others. All RTOS examples depend on tirtos_builds_MSP_EXP432E401Y_release_ccs project. Look for this project in your workspace. Below is the log file when I tried to rebuild it using CCS12.6. The highlighted line in red in my log shows where mine was able to compile the BIOS.c successfully while yours failed. I will suggest you create a new workspace and then then import a simple RTOS project again and see if you start from a fresh workspace will resolve the problem.
**** Clean-only build of configuration Debug for project tirtos_builds_MSP_EXP432E401Y_release_ccs ****
"C:\\ti\\ccs1260\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O
cleaning ../src/sysbios ...
DEL /F "tirtos_builds_MSP_EXP432E401Y_release_ccs.lib" "configPkg\linker.cmd" "configPkg\compiler.opt"
RMDIR /S/Q "configPkg"
Could Not Find C:\Users\..\Documents\CCS\MSP432E\My CCS12 MSP432E4 LaunchPad\tirtos_builds_MSP_EXP432E401Y_release_ccs\Debug\tirtos_builds_MSP_EXP432E401Y_release_ccs.lib
Finished clean
**** Build Finished ****
**** Build of configuration Debug for project tirtos_builds_MSP_EXP432E401Y_release_ccs ****
"C:\\ti\\ccs1260\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "../release.cfg"
Invoking: XDCtools
"C:/ti/ccs1260/xdctools_3_62_01_16_core/xs" --xdcpath="C:/ti/simplelink_msp432e4_sdk_4_20_00_12/source;C:/ti/simplelink_msp432e4_sdk_4_20_00_12/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432E401Y -r release -c "C:/ti/ccs1260/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS" "../release.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring release.xem4f from package/cfg/release_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/../DOCUME~1/CCS/MSP432E/MYCCS1~2/tirtos_builds_MSP_EXP432E401Y_release_ccs/src/sysbios/sysbios.aem4f ...
clem4f C:/ti/simplelink_msp432e4_sdk_4_20_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
asmem4f C:/ti/simplelink_msp432e4_sdk_4_20_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
asmem4f C:/ti/simplelink_msp432e4_sdk_4_20_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
asmem4f C:/ti/simplelink_msp432e4_sdk_4_20_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
asmem4f C:/ti/simplelink_msp432e4_sdk_4_20_00_12/kernel/tirtos/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
arem4f BIOS.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
Build of libraries done.
clem4f package/cfg/release_pem4f.c ...
Finished building: "../release.cfg"
1 file(s) copied.
making ../src/sysbios/sysbios.aem4f ...
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Nothing to be done for 'configPkg/linker.cmd'.
making ../src/sysbios/sysbios.aem4f ...
gmake[2]: Nothing to be done for 'all'.
**** Build Finished ****
same results also with the version 12.6. I installed it in different folders and also changed the workspace. Is there any portable IDE for MSP432E4?
Hi,
Can you try to uninstall MSP432E SDK and then reinstall it? Will it make a difference?
Can you show your log on the working machine that you said it is building the project fine?
What is the difference between the working and non-working machines? What are their Windows OS versions?