Hi all,
I am working DM6446 system with below development envirionment.
- DSP : DM6446.
- Montavista, DSPLINK.
- base example : readwrite.
I want to add a section to command file. in Windows environment , it is very easy.
But in Linux, I can not solve this problem.
created cmd file in below directory is automatically generated and i can't modify it.
z:\dvsdk_2_00_00_22\dsplink-1_61_03-prebuilt\packages\dsplink\dsp\BUILD\DM6446GEM_0\RDWR\BIOS_REL\readwritecfg.cmd
this is my test code. I want to add .mysect to the SECTIONS.
//=======mytest.c
#pragma DATA_SECTION (mybuf, ".mysect")
BYTE mybuf[10];
//=========readwritecfg.cmd
SECTIONS {
.bss: {} > DDR2
............................
//==============
in another forum in Google, one answered which you make your own cmd file and include it to automatically generated cmd file.
But in my think, cmd file in Linux is erased firstly and then it is generated. thus i can't include my self cmd file to readwritecfg.cmd file.
Thank you.