Other Parts Discussed in Thread: SYSBIOS, MSP432E401Y
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 ****