Other Parts Discussed in Thread: SYSCONFIG,
Tool/software: Code Composer Studio
Hi!
I am very new to code composer studio (using v10). I watched many tutorial videos and tried the examples.
At the examples is where I got stuck by now.
I got the hello world TI-RTOS example to run (from the simplelink CC2640R2 SDK - 4.10.00.10). Build and debug work out of the box. :-)
Next in the TI-RTOS tutorial it is suggested that I change the content of the main file (hello.c) and also edit the syscfg-file.
=> There is no syscfg-file in that project. Only a hello.cfg is there which seems to be editable by normal text editor in ccs.
So I created an empty syscfg file and ccs asked me whether this shozuld be used in the current project, which I answered with yes.
I set the target device and package and enabled the TI-RTOS and power modules.
When I try to build that it tells me that some things got redefined - which I can understand, since now 2 config files are in the project:
error #10056: symbol "Board_init" redefined: first defined in "./CC2640R2_LAUNCHXL.obj"; redefined in "./syscfg/Board.obj"
error #10056: symbol "PINCC26XX_hwAttrs" redefined: first defined in "./CC2640R2_LAUNCHXL.obj"; redefined in "./syscfg/Board.obj"
error #10056: symbol "PowerCC26XX_config" redefined: first defined in "./CC2640R2_LAUNCHXL.obj"; redefined in "./syscfg/Board.obj"
error #10056: symbol "BoardGpioInitTable" redefined: first defined in "./CC2640R2_LAUNCHXL.obj"; redefined in "./syscfg/Board.obj"
error #10010: errors encountered during linking; "hello_CC2640R2_LAUNCHXL_tirtos_ccs.out" not built
>> Compilation failure
makefile:152: recipe for target 'hello_CC2640R2_LAUNCHXL_tirtos_ccs.out' failed
gmake[1]: *** [hello_CC2640R2_LAUNCHXL_tirtos_ccs.out] Error 1
makefile:148: recipe for target 'all' failed
gmake: *** [all] Error 2
Next I tried to simply remove the hello.cfg file and got another error message when trying to build:
Buildfile generation error occurred..
This project does not contain a buildable RTSC Configuration (.cfg) file. In order for it to build, this project must contain one RTSC Configuration file that is not excluded from build.
Build stopped..
What can I do to get the tutorial to run properly?
Thanks for any pointers in advance!
Cheers
Jean