Other Parts Discussed in Thread: SYSCONFIG
I am using MCU+ SDK 9.1 or later. When I build a project for a specific core, I see this error output below. How do I fix the error?
CCS output
C:/ti/ti-cgt-armllvm_3.2.1.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ti-cgt-armllvm_3.2.1.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_config.d_raw" -MT"syscfg/ti_drivers_config.o" -I"D:/Test/gpio_led_blink_am64x-sk_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg" -o"syscfg/ti_drivers_config.o" "syscfg/ti_drivers_config.c" subdir_rules.mk:39: recipe for target 'syscfg/ti_drivers_config.o' failed syscfg/ti_drivers_config.c:217:88: error: expected expression rpmsgParams.vringTxBaseAddr[CSL_CORE_ID_R5FSS0_1] = (uintptr_t)(&gIpcSharedMem[]); ^ syscfg/ti_drivers_config.c:218:88: error: expected expression rpmsgParams.vringTxBaseAddr[CSL_CORE_ID_R5FSS1_0] = (uintptr_t)(&gIpcSharedMem[]); ^ syscfg/ti_drivers_config.c:219:88: error: expected expression rpmsgParams.vringTxBaseAddr[CSL_CORE_ID_R5FSS1_1] = (uintptr_t)(&gIpcSharedMem[]); ^ syscfg/ti_drivers_config.c:220:88: error: expected expression rpmsgParams.vringTxBaseAddr[CSL_CORE_ID_M4FSS0_0] = (uintptr_t)(&gIpcSharedMem[]); ^ 4 errors generated. gmake: *** [syscfg/ti_drivers_config.o] Error 1
Makefile build output on Linux
mcu_plus_sdk_am64x_09_01_00_41$ make -s -C examples/drivers/ipc/ipc_rpmsg_echo_linux/am64x-evm/r5fss0-0_freertos/ti-arm-clang/ Generating SysConfig files ... Running script... ... Compiling: am64x:r5fss0-0:freertos:ti-arm-clang ipc_rpmsg_echo_linux.release.out: ../../../ipc_rpmsg_echo.c Compiling: am64x:r5fss0-0:freertos:ti-arm-clang ipc_rpmsg_echo_linux.release.out: ../main.c Compiling: am64x:r5fss0-0:freertos:ti-arm-clang ipc_rpmsg_echo_linux.release.out: generated/ti_drivers_config.c generated/ti_drivers_config.c:193:88: error: expected expression rpmsgParams.vringTxBaseAddr[CSL_CORE_ID_R5FSS0_1] = (uintptr_t)(&gIpcSharedMem[]); ^ generated/ti_drivers_config.c:194:88: error: expected expression rpmsgParams.vringTxBaseAddr[CSL_CORE_ID_R5FSS1_0] = (uintptr_t)(&gIpcSharedMem[]); ^ generated/ti_drivers_config.c:195:88: error: expected expression rpmsgParams.vringTxBaseAddr[CSL_CORE_ID_R5FSS1_1] = (uintptr_t)(&gIpcSharedMem[]); ^ generated/ti_drivers_config.c:196:88: error: expected expression rpmsgParams.vringTxBaseAddr[CSL_CORE_ID_M4FSS0_0] = (uintptr_t)(&gIpcSharedMem[]); ^ 4 errors generated. make: *** [makefile:159: ti_drivers_config.obj] Error 1
This FAQ applies to:
AM64x
AM24x