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.

CCS编译警告问题?谢谢!



ccs3.3中编译出现如下警告:

<Linking>
>> warning: creating output section csmpasswds without SECTIONS specification
>> warning: creating output section csm_rsvd without SECTIONS specification

请问改warning是什么问题,该如何解决呢?谢谢了!

  • 向下面这样指定一下就好了。

  • 谢谢Forrest老师!

  • 您好,我添加后编译出错,提示:

    Description Resource Path Location Type
    <a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10099.html">#10099-D</a> program will not fit into available memory. placement with alignment/blocking fails for section "csmpasswds" size 0x8 page 1. Available memory ranges: DSP281x_Headers_nonBIOS.cmd /test/Cmd line 99 C/C++ Problem

    不知道您的CSM_PWL是如何分配的。

    /*** Code Security Module Register Structures ***/
    CsmPwlFile : > CSM_PWL, PAGE = 1
    csmpasswds : > CSM_PWL, PAGE = 1    /* 新添加*/

  • Description    Resource    Path    Location    Type<a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/MSP430/10420.html">#10420-D</a>  For FRAM devices, at start up, the GPO power-on default high-impedance mode needs to be disabled to activate previously configured port settings. This can be done by clearing the LOCKLPM5 bit in PM5CTL0 register.    Smart_Vent    C/C++ Problem

    请问上面的警告是什么原因?应该怎么解决?



  • 您好,请问一下这个警告要怎么处理Description Resource Path Location Type
    #10247-D creating output section ".csldata" without a SECTIONS       C/C++ Problem

    第一次简历CCS工程(CCS6建立TMS320V55x工程),其复制代码如下,结构见附件:

    #include "csl.h"
     #include "csl_gpio.h"
      void delay()
      {
               Uint32 j = 0, k = 0;
               for(j = 0; j < 0x0D; j++)
              {
                      for(k= 0; k<0xffff; k++)
                       {}
              }
       }
     void main(void)
     {
          /* 初始化CSL库 */
         CSL_init();
        /* 确定方向为输出 */
        GPIO_pinDirection(GPIO_PIN1, GPIO_OUTPUT);
             /* 循环闪烁 */
                while (1)
               {
                      GPIO_pinWrite(GPIO_PIN1, 1);
                       delay();
                       GPIO_pinWrite(GPIO_PIN1, 0);
                        delay();
                }
     }
  • csl这个头文件是什么内容。你没有对其分配存储空间。

  • 是官方的API开发库文件。。。。。。对于空间分配要怎么分配呢?是.cmd文件里面吗?怎么弄呢?可以给一个CCS6建立一个完整C5000的工程例子吗?万分感谢!!