Other Parts Discussed in Thread: FFTLIB
Tool/software:
Hello,
I am trying to use the FFTLIB on the C71x DSP from the TDA4VM. To test the library, I created a simple project with only a main
function and included the FFTLIB headers. I am using Code Composer Studio (CCS) and have configured the project settings according to the documentation.
However, when I try to build the project, I get the following compilation errors:
"C:\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 "C:\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 "C:\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 "C:\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 "C:\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 "C:\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 "C:\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 "C:\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 "C:\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 "C:\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 "C:\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 "C:\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 "C:\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
It looks like these identifiers (__HWA_CONFIG_REG_v1
, __HWA_OFFSET_REG
, etc.) are missing. I suspect there might be a missing dependency or preprocessor definition.
Additional Information:
- Processor: C71x (TDA4VM)
- SDK Version: ti-processor-sdk-rtos-j721e-evm-10_00_00_05
- IDE: Code Composer Studio
- Project Configuration: I have added the FFTLIB include paths and linked the necessary libraries in the project properties.
Questions:
- Do I need to include any additional headers or define specific macros to use FFTLIB properly?
- Is there a dependency (e.g., HWA or another library) that must be included for FFTLIB to work?
Any guidance would be greatly appreciated. Thanks in advance!