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.
debug是报警告:
>> D:\Users\sony\Desktop\FIR\FIR\Debug\FIR.obj: warning:
linking incompatible formats: file compiled without -mf
仿真运行时报错:
Can't Run Target CPU
不知道是不是.cmd文件的问题
下面是我的.cmd文件:
-c
-stack 0x400
-heap 0x400
-lrts_ext.lib
MEMORY
{
PAGE 0: P_DARAM47: origin = 0x18000, len = 0x8000
VECT: origin = 0xff80, len = 0x80
PAGE 1: USERREGS: origin = 0x60, len = 0x1c
BIOSREGS: origin = 0x7c, len = 0x4
D_DARAM03: origin = 0x80, len = 0x7f80
D_DARAM47: origin = 0x8000, len = 0x8000
}
SECTIONS
{
.text: {} > P_DARAM47 PAGE 0
.cinit: {} > P_DARAM47 PAGE 0
.stack: {} > D_DARAM03 PAGE 1
.bss: {} > D_DARAM03 PAGE 1
.const: {} > D_DARAM03 PAGE 1
.sysmem: {} > D_DARAM03 PAGE 1
.cio: {} > D_DARAM03 PAGE 1
}
谢谢拉