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 working on a project where we need to use 4 eQEP modules for different quadrature encoders. In order to be able to read the 4th encoder, I created a CLB project using the necessary steps as stated in CLB Tool User's Guide (Rev. A) (ti.com) to act as the 4th eQEP. This program is working 100%. The problem occurs when I try to add this project to my existing C++ project.
When I add the syscfg file and follow the steps in Chapter 6 (Enabling CLB Tool In Existing DriverLib Projects) the build log states "Device not found: F28X7X". I then add the device to the project properties, but after this when I build again, it finds "16 errors detected in the compilation of "syscfg/clb_config.c"". I'll attach all the relevant Build logs and problem snippets.
I'm currently using CCS9.3, because we are a few people working on different projects and want to use the same versions. However, I have installed CCS10.3 and the same errors occur as stated above.
My compiler version is: TI v20.2.2.LTS.
Any help will be greatly appreciated.
Kind regards,
Juan
**** Build of configuration BUILD_FLASH for project VNLL Zoom Controller **** "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 12 all -O Building file: "../clb_setup.syscfg" Invoking: SysConfig "C:/ti/ccs930/ccs/utils/sysconfig/sysconfig_cli.bat" -s "C:/ti/c2000/C2000Ware_3_04_00_00/utilities/clb_tool/clb_syscfg/.metadata/product.json" -o "syscfg" "../clb_setup.syscfg" Usage: cli [-o <dir>] [-s <file>] [-u <string>] [-b <name>] [-d <name>] [-p <name>] [-r <name>] [--treatWarningsAsErrors] <script> cli --help cli --version example: cli -s meta_data/sdk.json -d MSP432P401R scripts/two_uarts.js example: -s sdk.json -d MSP432P401R -o ./display_cfg sdk/cfgs/display.syscfg Note that the all arguments other than '--help' and '--version' may also be specified via the script with an embedded @cliArgs comment directive. E.g. // @cliArgs -d MSP432P401R If an argument is embedded in a script and explicitly specified via the CLI then precedence is given to the CLI arguments. Additionally, specifying "--board" or "--device" on the CLI will override any "--board" and "--device" arguments specified in the script. subdir_rules.mk:12: recipe for target 'build-1573666367-inproc' failed Device not found : F28X7X gmake[1]: *** [build-1573666367-inproc] Error 1 subdir_rules.mk:9: recipe for target 'build-1573666367' failed gmake: *** [build-1573666367] Error 2 gmake: Target 'all' not remade because of errors. **** Build Finished ****
Please use an embedded C project and check to see if the project compiles and runs correctly.
Hi Nima, thank you for the reply. I ended up removing all relevant code from the project. Importing the clb/syscfg file and setting it up and then started moving all the code back piece by piece and it worked. I have no idea why this solved the error because it is in essence exactly the same code/program I used above which resulted in the errors.