This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6748 固化数据



你好,

我在main.c程序中定义:

#pragma DATA_SECTION(play_wav, ".cmd_buffer")
unsigned int play_wav[1024*1024*1];

在cmd文件中添加 .cmd_buffer >  DDR2

最终在map文件中,有  

run origin      load origin   length           init length attrs members

c0001000    c0001000    00400000   00000000    rw- .cmd_buffer

我想在固化程序的时候,同时把一个声音文件.wav也固化到数组play_wav[]的位置,即c0001000。

请问怎么实现?