I've been able to download and link to my project the psp tools for SYS/BIOS on OMAPL138. I am trying to #include the clsr but it does not show up under /biospsp_03_00_01_00/drivers in my includes path. I figured I needed to build it as referenced in the user's guide:
Execute the following commandC:\Program Files\Texas Instruments\biospsp_xx_yy_zz_aa> gmake cslr
I've had quite the trouble trying to build this to include it in my project.
The directory I have all my packages in is C:/ti/ because the spaces in "Program Files/Texas Instruments" were not playing nicely. This is where biospsp v188.8.131.52 and xdctools v3.23.00.32 are located.
I first "set ROOTDIR=C:\ti\biospsp_03_00_01_00". I assume cygwin must be used because all the makefiles are written for UNIX. Below is the error I receive:
$ gmake cslr# Configuring XDC packages for cslr_evm6748_example_uart:c6xdsp:debugC:/ti/xdctools_3_23_00_32/gmake -C C:/ti/biospsp_03_00_01_00/cslr\evm6748\examples\uart xdc_configuro PLATFORM=c6748-evm CORE=c6xdsp PROFILE_c6xdsp=debuggmake: Entering directory `C:/ti/biospsp_03_00_01_00/cslr/evm6748/examples/uart'# Invoking configuro...a+x maketemp_configuro_cmd_c6xdsp.batmaketemp_configuro_cmd_c6xdsp.batC:\ti\biospsp_03_00_01_00\cslr\evm6748\examples\uart>C:/ti/xdctools_3_23_00_32/xs xdc.tools.configuro --generationOnly -o obj/c6748-evm/c6xdsp/debug/cslr_evm6748_example_uart_configuro -t ti.targets.elf.C674 -p ti.platforms.evm6748 -r whole_program -c C:/ti/C6000C~1.1 -b C:/ti/biospsp_03_00_01_00/config.bld uartExample.cfgmaking package.mak (because of package.bld) ...js: "C:\ti\xdctools_3_23_00_32\packages\xdc\tools\configuro\template\compiler.opt.xdt", line 66: Error: template generation of 'compiler.opt' failed: Error: C:/ti/C6000C~1.1 cannot be found. Ensure that rootDir for the C674 target is set correctly in ./config.bld "./package.bld", line 60xdctools_3_23_00_32\gmake.exe: *** Deleting file `package.mak'xdctools_3_23_00_32\gmake.exe: *** No rule to make target `linker.cmd'. Stop.Warning: directory "C:/ti/edma3_lld_02_11_02_04/packages" on package path does not existjs: "C:/ti/xdctools_3_23_00_32/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.gmake: *** [xdc_configuro] Error 1gmake: Leaving directory `C:/ti/biospsp_03_00_01_00/cslr/evm6748/examples/uart'gmake: *** [cslr_evm6748_example_uart] Error 2
I can't find any clues in config.bld or the C6000 folder in xdctools on what needs to be done next. This all seems very unusual to be jumping through all these hoops to get CSLR in my project - am I even on the right track here?
//edit for formatting, this was not very user friendly :(
I failed to mention some edits I had to make in C:/ti/biospsp_03_00_01_00/env.mk
I adjusted INTERNAL_SW_ROOT to be C:/ti/biospsp_03_00_01_00
I adjusted EXTERNAL_SW_ROOT to be C:/ti
I adjusted UTILS_INSTALL_DIR to be C:/ti/xdctools_3_23_00_32
I just recently discovered:
# DSP - Since same toolchain does not support COFF and ELF, there are two entries# This would go away when one version supports both formatsCODEGEN_PATH_DSP = $(EXTERNAL_SW_ROOT)/C6000C~1.1CODEGEN_PATH_DSPELF = $(EXTERNAL_SW_ROOT)/C6000C~1.1
Which looks related to my problem.
Marshall Schiring I am trying to #include the clsr but it does not show up under /biospsp_03_00_01_00/drivers in my includes path.
The cslr is placed under the /biospsp_03_00_01_00/ directory.
Please refer the "C6748_BIOSPSP_Userguide" regarding all the tools required and environment variable setting. Accordingly, modify the env.mk file of the biospsp package. If you refer section 184.108.40.206 it explains about setting environment variable "CGTOOLS"; Make sure the CG tools is installed and the appropriate directory is specified in the "CGTOOLS" environment variable.
Hope this helps..
Does this help with your question? If not, please send back more information. If it answers your question, please click the Verify Answer button below.
So I just have to add another distinct include path for cslr... which will need to be updated every revision of psp.
I don't get why it wasn't just included by default when you include the psp under project->properties->general->RTSC?
Either way, thanks for the clarification Raghavendra.
None of this sys/bios and psp stuff is as straightforward as it should be.
Help make the forums a better place. Please click "Verify Answer" when someone helps solve your issue.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.