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.
Hi,
I'm receiving the following errors when trying to build the SDK examples:
Console output:
**** Build of configuration Debug for project adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang ****
"C:\\ti\\ccs1200\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
C:/ti/sysconfig_1.12.1/sysconfig_cli.bat -s C:/ti/mcu_plus_sdk/.metadata/product.json --script C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang/example.syscfg -d "AM243x_ALV_beta" --context "r5fss0-0" -o "syscfg" --part ALV --package ALV --compiler ticlang
Running script...
Validating...
Generating Code (example.syscfg)...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_dpl_config.c...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_dpl_config.h...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_config.c...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_config.h...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.c...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.h...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_pinmux_config.c...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_power_clock_config.c...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_config.c...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_config.h...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_open_close.c...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_open_close.h...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_config.c...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_config.h...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_open_close.c...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_open_close.h...
Unchanged C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_enet_soc.c...
C:/ti/ccs1200/ccs/utils/bin/gmake -C C:/ti/mcu_plus_sdk/examples/pru_io/adc/ads85x8/firmware/am243x-evm/icssg0-pru0_fw/ti-pru-cgt -f makefile -k clean MCU_PLUS_SDK_PATH=C:/ti/mcu_plus_sdk CCS_INSTALL_DIR=C:\ti\ccs1200\ccs CCS_PROJECT_DEBUG=C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug
DEL /F "adc_am243x-evm_icssg0-pru0_fw_ti-pru-cgt.hex" "adc_am243x-evm_icssg0-pru0_fw_ti-pru-cgt.out"
DEL /F "main.obj"
DEL /F "main.d"
Could Not Find C:\ti\mcu_plus_sdk\examples\pru_io\adc\ads85x8\firmware\am243x-evm\icssg0-pru0_fw\ti-pru-cgt\adc_am243x-evm_icssg0-pru0_fw_ti-pru-cgt.hex
Could Not Find C:\ti\mcu_plus_sdk\examples\pru_io\adc\ads85x8\firmware\am243x-evm\icssg0-pru0_fw\ti-pru-cgt\main.obj
Could Not Find C:\ti\mcu_plus_sdk\examples\pru_io\adc\ads85x8\firmware\am243x-evm\icssg0-pru0_fw\ti-pru-cgt\main.d
Finished clean
C:/ti/ccs1200/ccs/utils/bin/gmake -C C:/ti/mcu_plus_sdk/examples/pru_io/adc/ads85x8/firmware/am243x-evm/icssg0-pru0_fw/ti-pru-cgt -f makefile -k all MCU_PLUS_SDK_PATH=C:/ti/mcu_plus_sdk CCS_INSTALL_DIR=C:\ti\ccs1200\ccs CCS_PROJECT_DEBUG=C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug
Building file: "C:/ti/mcu_plus_sdk/examples/pru_io/adc/ads85x8/firmware/main.asm"
Invoking: PRU Compiler
"C:/ti/ti-cgt-pru_2.3.3/bin/clpru" -DICSSG0 -DPRU0 -DSLICE0 -v4 --define=SOC_AM243X --include_path="C:\ti\ccs1200\ccs/ccs_base/pru/include" --include_path="C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug/syscfg" --include_path="C:/ti/ti-cgt-pru_2.3.3/include" --include_path="C:/ti/mcu_plus_sdk/source" --include_path="C:/ti/mcu_plus_sdk/source/pru_io/firmware/common" --include_path="C:/ti/mcu_plus_sdk/source/pru_io/firmware/adc/include" --define=_DEBUG_=1 -g --diag_warning=225 --diag_wrap=off --display_error_number --endian=little --preproc_with_compile --preproc_dependency="main.d_raw" "C:/ti/mcu_plus_sdk/examples/pru_io/adc/ads85x8/firmware/main.asm"
makefile:57: recipe for target 'main.obj' failed
process_begin: CreateProcess(NULL, C:/ti/ti-cgt-pru_2.3.3/bin/clpru -DICSSG0 -DPRU0 -DSLICE0 -v4 --define=SOC_AM243X --include_path=C:\ti\ccs1200\ccs/ccs_base/pru/include --include_path=C:\Users\a0491835\workspace_v12\adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug/syscfg --include_path=C:/ti/ti-cgt-pru_2.3.3/include --include_path=C:/ti/mcu_plus_sdk/source --include_path=C:/ti/mcu_plus_sdk/source/pru_io/firmware/common --include_path=C:/ti/mcu_plus_sdk/source/pru_io/firmware/adc/include --define=_DEBUG_=1 -g --diag_warning=225 --diag_wrap=off --display_error_number --endian=little --preproc_with_compile --preproc_dependency=main.d_raw C:/ti/mcu_plus_sdk/examples/pru_io/adc/ads85x8/firmware/main.asm, ...) failed.
gmake[2]: *** [main.obj] Error 2
gmake[2]: Target 'all' not remade because of errors.
gmake[1]: [pre-build] Error 2 (ignored)
makefile:187: recipe for target 'pre-build' failed
Building file: "../adc_functions.c"
Invoking: Arm Compiler
"C:/ti/ccs1200/ccs/tools/compiler/ti-cgt-armllvm_2.1.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"C:/ti/ccs1200/ccs/tools/compiler/ti-cgt-armllvm_2.1.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk/source" -I"C:/ti/mcu_plus_sdk/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk/source/kernel/freertos/config/am243x/r5f" -I"C:/ti/mcu_plus_sdk/source/pru_io/driver" -I"C:/ti/mcu_plus_sdk/examples/pru_io/adc/ads85x8/firmware/am243x-evm/icssg0-pru0_fw/ti-pru-cgt" -DSOC_AM243X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"adc_functions.d_raw" -MT"adc_functions.o" -I"C:/Users/a0491835/workspace_v12/adc_am243x-evm_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"adc_functions.o" "../adc_functions.c"
subdir_rules.mk:9: recipe for target 'adc_functions.o' failed
../adc_functions.c:41:10: fatal error: 'pru_load_bin.h' file not found
#include <pru_load_bin.h> // > PRUFirmware array
^~~~~~~~~~~~~~~~
1 error generated.
gmake[1]: *** [adc_functions.o] Error 1
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
makefile:153: recipe for target 'all' failed
**** Build Finished ****
I assume it may be an environment setup issue, but not sure. I'd appreciate help here. Thanks!
Hi Alexander,
I'm unable to build this example: https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/latest/exports/docs/api_guide_am243x/EXAMPLES_PRU_ADC_ADS85x8.html
I tried building the example from:
I'm also unable to open example.syscfg:
I think this is a bug in the SDK. I'll reach out to the SW Dev team to see if there's a solution. I'll keep you posted on what I find.
Regards,
Frank
Alexander,
It seems this is a known bug: MCUSDK-6986.
The SDK fix version is 08.04.00, which will be released in Sept.
I'm still checking if there is any short-term workaround.
Regards,
Frank
Hi Alexander,
I haven't gotten any feedback concerning a work around in advance of the SDK release. My suggestion is to wait for the release.
Regards,
Frank