Hi,
After I run GPIO example (which blinks LED) on L138 LCDK, C674x side) with L138 StarterWare, I want to run it in BIOS project.
In the SYS/BIOS project, I add all the include path to compiler opotioin and library path to linker cption. The weird thing is that it complains that cannot find these variable/functions:
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv6740 --abi=coffabi -g --display_error_number --diag_warning=225 --diag_wrap=off -z -m"lab6_blink.map" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" -i"C:/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt_ccs/omapl138/drivers/Debug" -i"C:/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt_ccs/utils/Debug" -i"C:/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt_ccs/grlib/Debug" -i"C:/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt_ccs/omapl138/system_config/Debug" -i"C:/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt_ccs/omapl138/lcdkOMAPL138/platform/Debug" -i"C:/ti/OMAPL138_StarterWare_1_10_04_01/binary/c674x/cgt_ccs/omapl138/drivers/Debug" --priority --warn_sections --display_error_number --diag_wrap=off --xml_link_info="lab6_blink_linkInfo.xml" --rom_model -o "lab6_blink.out" -l"./configPkg/linker.cmd" "./main.obj" -l"libc.a" -lsystem_config.lib -lutils.lib -ldrivers.lib -lplatform.lib
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_GPIOBank6Pin12PinMuxSetup ./main.obj
_GPIODirModeSet ./main.obj
_PSCModuleControl ./main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "lab6_blink.out" not built
>> Compilation failure
gmake: *** [lab6_blink.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
I paste the library settings below:
The source file is also attached here:
Where are these variables defined? Why can they be found in the StarterWare project, but not in the SYS/BIOS project?
Thanks,