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.

怎么将自定义的软件版本号编译到.cinit段?

例如

#define DSP_VERSION   (0x23456789)

我想讲这个宏定义编译到.cinit段的最初始位置,然后通过hex6x.exe生成的bin文件烧写的flash,这样的话,版本号就会在烧写地址的最初字段。

可是我不知道该怎么将DSP_VERSION变量编译到.cinit段的最初始位置,求指点。

先在这里多谢了?