阅读:1297回复:2
dsp一个问题求教
5000系列的dsp中:c语言定义一个变量,
如何设置变量的起始地址为一个固定的值? |
|
沙发#
发布于:2004-11-02 21:44
很简单,看一看gel,里面有简单的用法
|
|
板凳#
发布于:2004-11-18 11:55
define a data section in cmd. Then use pragma to allocate the variable in that section:
#pragma DATA_SECTION (symbol, “section name”) You can check the C-compiler manual for that. Please note, the pragma has a differnet format in C++ code |
|