Part Number: EVMK2G
Other Parts Discussed in Thread: 66AK2G02, SYSBIOS
Tool/software: Code Composer Studio
Hello, I generated a PDK example as follows:
C:\ti\PDK_K2~1\packages>pdkProjectCreate.bat K2G all little gpio
=========================================================================
Configuration:
SOC : K2G
BOARD : all
ENDIAN : little
MODULE : gpio
PROJECT_TYPE : all
PROCESSOR : arm
PDK_SHORT_NAME : C:\ti\PDK_K2~1\packages\
=========================================================================
Checking Configuration...
Complete
=========================================================================
PDK_PARTNO : 66AK2G02
PDK_ECLIPSE_ID : com.ti.pdk.k2g
RTSC_PLATFORM_NAME : ti.platforms.evmTCI66AK2G02
RTSC_TARGET : gnu.targets.arm.A15F
CCS_DEVICE : "Cortex A.66AK2G02"
*****************************************************************************
Detecting all projects in PDK and importing them in the workspace C:\ti\PDK_K2~1\packages\\MyExampleProjects
Detected Test Project: GPIO_LedBlink_evmK2G_armTestProject
--------------------------------------------------------------------------------
Creating project 'GPIO_LedBlink_evmK2G_armTestProject'...
Done!
Copying macro.ini
1 file(s) copied.
Detected Test Project: GPIO_LedBlink_iceK2G_armTestProject
--------------------------------------------------------------------------------
Creating project 'GPIO_LedBlink_iceK2G_armTestProject'...
Done!
Copying macro.ini
1 file(s) copied.
No projects detected
Project generation complete
*****************************************************************************
I've imported the project into CCS 7, and when I try to build, I get the following errors:
**** Build of configuration Debug for project GPIO_LedBlink_evmK2G_armTestProject ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O
gmake[1]: Entering directory 'C:/Users/kevin/workspace_v7/GPIO_LedBlink_evmK2G_armTestProject/Debug'
'Building file: C:/ti/pdk_k2g_1_0_7/packages/ti/drv/gpio/test/led_blink/k2g/armv7/bios/gpio_arm.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_50_03_33_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/pdk_k2g_1_0_7/packages;C:/ti/edma3_lld_2_12_05_29/packages;C:/ti/ipc_3_46_02_04/packages;C:/ti/ndk_2_25_01_11/packages;C:/ti/uia_2_00_06_52/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A15F -p ti.platforms.evmTCI66AK2G02 -r debug -c "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update" "C:/ti/pdk_k2g_1_0_7/packages/ti/drv/gpio/test/led_blink/k2g/armv7/bios/gpio_arm.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring gpio_arm.xa15fg from package/cfg/gpio_arm_pa15fg.cfg ...
generating custom ti.sysbios library makefile ...
Linking with library ti.drv.uart:./lib/k2g/a15/release/ti.drv.uart.aa15fg
Linking with library ti.drv.gpio:./lib/k2g/a15/release/ti.drv.gpio.profiling.aa15fg
Linking with library ti.utils.profiling:./lib/a15/release/ti.utils.profiling.aa15fg
Linking with library ti.board:./lib/evmK2G/a15/release/ti.board.aa15fg
Linking with library ti.drv.i2c:./lib/k2g/a15/release/ti.drv.i2c.aa15fg
Linking with library ti.csl:./lib/k2g/a15/release/ti.csl.aa15fg
Linking with library ti.osal:./lib/tirtos/k2g/a15/release/ti.osal.aa15fg
Starting build of library sources ...
making C:/ti/pdk_k2g_1_0_7/packages/ti/drv/gpio/test/led_blink/k2g/armv7/bios/src/sysbios/sysbios.aa15fg ...
gmake[1]: Entering directory `C:/ti/pdk_k2g_1_0_7/packages/ti/drv/gpio/test/led_blink/k2g/armv7/bios/src/sysbios'
asma15fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm_gnu.asm ...
gmake[1]: Leaving directory `C:/ti/pdk_k2g_1_0_7/packages/ti/drv/gpio/test/led_blink/k2g/armv7/bios/src/sysbios'
Build of libraries failed.
subdir_rules.mk:19: recipe for target 'build-483467569-inproc' failed
0 [main] sh 10500 sync_with_child: child 13776(0x20C) died before initialization with status code 0xC0000142
11 [main] sh 10500 sync_with_child: *** child state waiting for longjmp
C:/Users/kevin/AppData/Local/Temp/make14468-1.sh: fork: Resource temporarily unavailable
gmake[1]: *** [arm_IntrinsicsSupport_asm_gnu.o] Error 128
gmake: *** [C:/ti/pdk_k2g_1_0_7/packages/ti/drv/gpio/test/led_blink/k2g/armv7/bios/src/sysbios/sysbios.aa15fg] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_50_03_33_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "C:/ti/xdctools_3_50_03_33_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/gpio_arm_pa15fg.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/gpio_arm_pa15fg.xdl'
gmake.exe: *** [package/cfg/gpio_arm_pa15fg.xdl] Deleting file `package/cfg/gpio_arm_pa15fg.h'
gmake.exe: *** [package/cfg/gpio_arm_pa15fg.xdl] Deleting file `package/cfg/gpio_arm_pa15fg.c'
js: "C:/ti/xdctools_3_50_03_33_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-483467569-inproc] Error 1
gmake: *** [build-483467569] Error 2
gmake[1]: Leaving directory 'C:/Users/kevin/workspace_v7/GPIO_LedBlink_evmK2G_armTestProject/Debug'
subdir_rules.mk:16: recipe for target 'build-483467569' failed
gmake: Target 'all' not remade because of errors.
**** Build Finished ****