dsp bios下
#pragma DATA_SECTION(RAD_tab,".RAD_data") short RAD_tab[4096]; 不初始化RAD_tab 编译不报错。。
但是一初始化 short RAD_tab[]= {xxxxx,x,x,x....}
编译就报错,什么问题啊。。帮着看看
cmd文件如下
-l codec_bioscfg.cmd
MEMORY { PAGE 1: PROGDATA: origin=0xc000, length=0x1000
PAGE 1: PROGDATA2: origin=0xd000, length=0x1000
PAGE 1: PROGDATA3: origin=0x5000, length=0x1000 PAGE 1: PROGDATA4: origin=0xA000, length=0x1000
PAGE 1: PROGDATA5: origin=0xb000, length=0x100 PAGE 1: PROGDATA6: origin=0xb200, length=0x200 PAGE 1: PROGDATA7: origin=0xb400, length=0x200 PAGE 1: PROGDATA8: origin=0xb600, length=0x200
PAGE 1: PROGDATA9: origin=0x2000, length=0x100
PAGE 1: PROGDATA10: origin=0xe000, length=0x1000
PAGE 1: PROGDATA11: origin=0xb800, length=0x100 PAGE 1: PROGDATA12: origin=0xb900, length=0x100 PAGE 1: PROGDATA13: origin=0xba00, length=0x100 PAGE 1: PROGDATA14: origin=0xbb00, length=0x200 PAGE 1: PROGDATA15: origin=0xbd00, length=0x200 PAGE 1: PROGDATA16: origin=0xf000, length=0x200
PAGE 2: PROGDATA21: origin=0x8000, length=0x200 PAGE 2: PROGDATA22: origin=0x8200, length=0x200 PAGE 2: PROGDATA23: origin=0x8400, length=0x200 PAGE 2: PROGDATA24: origin=0x8600, length=0x200 PAGE 2: PROGDATA25: origin=0x8800, length=0x200 PAGE 2: PROGDATA26: origin=0x8a00, length=0x200
}
SECTIONS { .fftdata: >PROGDATA PAGE 1, align(32) .dftdata: >PROGDATA2 PAGE 1, align(32)
.sintab_data: >PROGDATA3 PAGE 1, align(32) .RAD_data: >PROGDATA4 PAGE 1, align(32)
.coeffs: >PROGDATA5 PAGE 1 .dbuffer:>PROGDATA6 PAGE 1 .coeffs2: >PROGDATA7 PAGE 1 .coeffs3: >PROGDATA8 PAGE 1 .commu_addr: >PROGDATA9 PAGE 1
.rand_noise_coef16k:>PROGDATA14 PAGE 1 .rand_noise_lp_recv_filter_coe16k: >PROGDATA15 PAGE 1 .rand_noise_hp_recv_cof16k: >PROGDATA16 PAGE 1
.rand_noise_coef8k:>PROGDATA11 PAGE 1 .rand_noise_lp_recv_filter_coe8k: >PROGDATA12 PAGE 1 .rand_noise_hp_recv_cof8k: >PROGDATA13 PAGE 1 }
|