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.

warning: creating output section "ramfuncs" without a SECTIONS specification

Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

这个警告应该怎么消除啊?这个段是在asm文件中定义的,我尝试在CMD文件里面添加了此段的分配,但是警告并没有消除

.sect "codestart"

code_start:
    .if WD_DISABLE == 1
        LB wd_disable       ;Branch to watchdog disable code
    .else
        LB _c_int00         ;Branch to start of boot.asm in RTS library
    .endif

  • 这个报错的原因比较多,有可能是编译器版本的问题(可以尝试更换编译器版本),也可能是cmd文件的问题。不知道你用的cmd文件来源是哪里?可以在controlSUITE和C2000WARE中寻找替代的官方文件。
    另,warning的出现不会影响程序运行,一般都可以忽略不做处理。
x 出现错误。请重试或与管理员联系。