Hello everybody!
I have a complex program for DSP side of the OMAPL137. It consists of few library projects and main executable project.
This program is highly related with the SYS/BIOS, NDK, IPC, PSP, EDMA. Main executable project depends on the RTSC configuration project as usual.
The debug build works fine and there are no problems with compilation and linking.
Now it`s time to launch the optimized release build.
Few words about my hardware and software configuration:
I work with custom board, but it`s similar to the EVMOMAPL137 evaluation board.
I use
ccsv_4.2.0.10018
bios_6.30.02.42
xdc_3.20.03.63
edma3_lld_2.10.03.04
ipc_1.21.02.23
ndk_2.20.00.19
psp_02.10.01
Here are my
questions:
- Some projects of the workspace
failed to compile with the --program_level_compile compiler flag. Compilation doesn`t start, CCS gives an error to the Error log:
2. Some drivers in the PSP have no Release compilation profile in their package.bld and package.xs files. I had to edit those files and rebuild PSP to build the RTSC configuration project properly with Release profile.
3. When I try to build RTSC configuration project with the whole_program profile, linker.cmd file consists of two lines:
"D:/Texas Instruments/Projects/mebius/mebius_cfg_rel/Release/configPkg/package/cfg/mebius_rel.p674.obj"
"D:/Texas Instruments/Projects/mebius/mebius_cfg_rel/Release/configPkg/package/cfg/mebius_rel_p674_x.xdl"
mebius_rel_p674_x.xdl file has very small symbol map (I compare it to the symbol map in the linker.cmd file built with the release profile)
My main executable project fails to link with an error:
unresolved symbol _ti_sysbios_family_c64p_Hwi_enableInterrupt__E first referenced in file D:\Texas Instruments\edma3_lld_02_10_03_04\packages\ti\sdo\edma3\drv\sample\lib\da830\Release\ti.sdo.edma3.drv.sample.a674<sample_da830_int_reg.o674>
When I build RTSC project with the Release profile everything links fine.
4. When I build RTSC project, all sys/bios packages link with the whole_program_debug profile with no relation to the configuration profile (Debug, Release, whole_program). Is it OK?
5. It seems that Referenced Build
Configuration in the Dependences tab doesn`t work at all.
I configured it to build referenced projects with release profile in Release and with debug profile in debug, but that doesn`t work. Referenced projects compile with their current active configuration set in the C/C++ Projects tab.
6. I want to use different RTSC configuration projects for Release and Debug build configurations.
How can I do this?
When I add both projects to referenced projects list with different build configurations it doesn`t work. Adding one for release and another for debug doesn`t work also (both of them added for both configurations).
Thank you for your attention and my apologize for such a big post