{
int32_t tpi; /* test parameter index */
/* Test Parameters */
canny_testParams_t *prm;
canny_getTestParams(&prm, &test_cases); //extern int32_t test_cases;在VLIB_test.h中定义
}只有这么一小段,调用更多vlib函数或有更多类似的错误
Allen35065:
你的代码用的near的内存模型,但是这个symbol被放在了far段,你把你整个project的内存访问模型改成far就可以了。
user1212849:
回复 Allen35065:
如何将内存模型将near改为far?
Thomas Yang1:
回复 user1212849:
请参考C6000编译器手册的说明
The C6000 C/C++ compiler extends the C/C++ language with the near and far keywords to specify how
global and static variables are accessed and how functions are called.Syntactically, the near and far keywords are treated as storage class modifiers. They can appear before,after, or in between the storage class specifiers and types. With the exception of near and far, two storageclass modifiers cannot be used together in a single declaration. The following examples are legalcombinations of near and far with other storage class modifiers:far static int x;static near int x;static int far x;far int foo();static far int foo();