Other Parts Discussed in Thread: FFTLIB,
Tool/software:
Hello,
I am encountering issues while trying to use the FFTLIB library included in the TI Processor SDK RTOS (version: 10.00.00.05) on the C71x DSP of my TDA4VM. Below, I’ll describe the steps I followed and the errors I encountered:
-
First Attempt (Code Composer Studio):
- I created a simple C project with an empty
main()
function, only calling the library. - I am using the ti-cgt-c7000_4.1.1.LTS compiler, and I configured it as follows:
- Added the FFTLIB path to the compiler’s include directories.
- Set the DSP C71x as the compilation target.
- When trying to compile, I encountered the following errors:
>> Compilation failure subdir_rules.mk:7: recipe for target 'main.obj' failed "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 393: error #20: identifier "__HWA_CONFIG_REG_v1" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 395: error #20: identifier "__HWA_CONFIG_REG_v1" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 396: error #20: identifier "__HWA_CONFIG_REG_v1" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 397: error #20: identifier "__HWA_CONFIG_REG_v1" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 398: error #20: identifier "__HWA_CONFIG_REG_v1" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 400: error #20: identifier "__HWA_CONFIG_REG_v1" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 401: error #20: identifier "__HWA_CONFIG_REG_v1" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 402: error #20: identifier "__HWA_CONFIG_REG_v1" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 403: error #20: identifier "__HWA_CONFIG_REG_v1" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 405: error #20: identifier "__HWA_OFFSET_REG" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 406: error #20: identifier "__HWA_OFFSET_REG" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 407: error #20: identifier "__HWA_OFFSET_REG" is undefined "/home/heverton-sds/ti/ti-processor-sdk-rtos-j721e-evm-10_00_00_05/fftlib/src/common/FFTLIB_types.h", line 408: error #20: identifier "__HWA_OFFSET_REG" is undefined 13 errors detected in the compilation of "../main.c".
- I created a simple C project with an empty
-
Second Attempt (following the FFTLIB User Guide):
- I followed the FFT library User Guide instructions to build and run the library tests using CMake.
- I used one of the example
cmake
commands provided in the guide, and I was able to configure the project without errors. - However, when running the build command (
cmake --build build
), I encountered the following error:
Notes:
- I was able to successfully use the DSPLIB (also included in this SDK) on the DSP C71x using Code Composer Studio with the same ti-cgt-c7000_4.1.1.LTS compiler, without needing to use CMake.
- I did not make any modifications to FFTLIB or the examples provided in the User Guide.
My question:
- Is there any additional configuration or dependency I might be missing to use FFTLIB on the DSP C71x?
- Any idea what might be causing the above-mentioned errors?
Thank you in advance for your help!