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.

Problem of using the function of sqrt()

Other Parts Discussed in Thread: HALCOGEN

Hi, TI.

I used to RM48 & ccs4.

I want to using of sqrt().

But, The rebuild of using ccs4 is resulted to warning.

What's problem.?

thanks for TI.

  • Hello,

    Can you send the warning?

    Regards,

    TI Forum Support

  • Hi.

    The warning message of followed below.

    ------------------------------------------------------------------------------------------------------------------------------------------

    Warnings(3items)

    creating ".sysmem" section with default size of 0x800; use the -heap option to change the default size

    creating output section ".sysmem" without a SECTIONS specification

    function declared implicitly.

    ------------------------------------------------------------------------------------------------------------------------------------------

    Thanks TI.

  • Lyoo,

    The problem you are facing has an issue fix.

    Open your linker command file (sys_link.cmd) and add red ligne as showed in the following example.

    /*----------------------------------------------------------------------------*/
    /* Section Configuration                                                      */

    SECTIONS
    {
        .intvecs : run = VECTORS , load = VECTORS_
        .text    : run = FLASH   , load = FLASH_
        .const   : run = FLASH   , load = FLASH_
        .cinit   : run = FLASH   , load = FLASH_
        .pinit   : run = FLASH   , load = FLASH_
        .bss     : {} > RAM
        .data    : {} > RAM

    /* USER CODE BEGIN (4) */
        .sysmem  : {} > RAM
    /* USER CODE END */
    }

    /* USER CODE BEGIN (5) */
    /* USER CODE END */

    Some of the code in the Real Time Library are using a section named .sysmem.
    This section has to be mapped in RAM.

    In this example, the sys_link.cmd was generated by Halcogen,
    In order to be sure Halcogen will not remove this new statement, it as to be placed in between a pair of
    /* USER CODE BEGIN (x) */
    and /* USER CODE END(x) */

    Best Regards,

    Jean-Marc

  • Thank you for your help.

     

    ^^