Hi Ki,.
thanks for replying.
Compilation of gpioLEDBLink in release mode failed due to incorrect pathes.
I corrected the pathes at Properties->ARM Compiler -> Include Options. That reduced the error messages to "No rule to make target".
At Properties->Resource->Linked Resources I found that the missing resource gpioLEDBlink.c had the path
PROJECT_LOC\..\..\..\..\..\..\examples\beaglebone\gpio\gpioLEDBlink.c.
But PROJECT_LOC is in workspace(C:\Pr\TI\Workspace\gpioLEDBink) and the relative path for gpioLEDBlink.c cannot be correct.
I chaged it to C:\Pr\TI\AM335X_StarterWare_02_00_01_01\examples\beaglebone\gpio\gpioLEDBlink.c and ignored the warning that it is an absolute path.
Besides that path EXTERNAL_BUILD_ARTIFACT (the location for gpioLEDBlink.out) is empty.
So I modified it to
"${PROJECT_LOC}\${ProjName}\${ConfigName}"
(The workspace folder already has a folder named "Release")
Furthermore the pathes to the libraries caused error messages:
- error #10008-D: cannot find file
"../../../../../../../binary/armv7a/cgt_ccs/am335x/drivers/Release/drivers.lib"
- error #10008-D: cannot find file
"../../../../../../../binary/armv7a/cgt_ccs/am335x/system_config/Release/system.lib"
- error #10008-D: cannot find file
"../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/platform/Release/platform.lib"
- error #10008-D: cannot find file
"../../../../../../../binary/armv7a/cgt_ccs/utils/Release/utils.lib"
- error #10198-D: no input section is linked in
I changed them and used absolute pathes.
At Properties->Build->ARM Linker->Basic Options I changed the output filename from
"../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/gpio/${ConfigName}/${ProjName}.out"
to an absolute path to.
This is the build result:
**** Build of configuration Release for project gpioLEDBlink ****
"C:\\Pr\\TI\\CCS\\ccsv5\\utils\\bin\\gmake" -k -j 4 -s all
'Building file: C:/Pr/TI/AM335X_StarterWare_02_00_01_01/examples/beaglebone/gpio/gpioLEDBlink.c'
'Invoking: ARM Compiler'
'Finished building: C:/Pr/TI/AM335X_StarterWare_02_00_01_01/examples/beaglebone/gpio/gpioLEDBlink.c'
' '
'Building target: C:\Pr\TI\AM335X_StarterWare_02_00_01_01/binary/armv7a/cgt_ccs/am335x/beaglebone/gpio/Release/gpioLEDBlink.out'
'Invoking: ARM Linker'
<Linking>
'Finished building target: C:\Pr\TI
\AM335X_StarterWare_02_00_01_01/binary/armv7a/cgt_ccs/am335x/beaglebone/gpio/Release/gpioLEDBlink.out'
' '
error: failed to read
"../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/gpio/Release/gpioLEDBlink.out"
Use of uninitialized value in pattern match (m//) at XML_TI_OFD.pm line 2138.
Use of uninitialized value in hash element at XML_TI_OFD.pm line 1317.
Unexpected target: unknown at script/mkhex4bin.pl line 261.
fatal error: cannot open input file
"../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/gpio/Release/gpioLEDBlink.out": No such file or directory
The system cannot find the path specified.
' '
**** Build Finished ****
Also there is a warning that compiler 5.1.2 is used instead of 5.0.4, which I ignored.
At this point I will stop, because so many changes have been made that cannot be intentional.
My guess is that something is wrong with the relative pathes.
Is there a special place where Starterware should be located? Perhaps directly within the workspace folder?
Can you see anything that is obviously wrong with the procedure described above?
By the way, my board is a BeagleBone_Black vs. A6 and CCSv.5.5 is running under Windows7.
Thanks for your trouble!
Regards,
Martin