Skip to main content
zliu.1
Visitor II
December 14, 2022
Solved

(AEK-AUD-D903V1)&um2719

  • December 14, 2022
  • 1 reply
  • 1219 views

0693W00000WKyagQAD.pngHi Dear

I try to build a test setup with AEK-AUD-D903V1 and AEK-MCU-C1MLIT1 follow the user manual um2719, when I modifed the "application.ld" document, an error was generatered.

    .sounddb : ALIGN(16)

    {

        __sounddb_start__ = .;

        *(.sounddb)

        *(.sounddb.*)

        *(.gnu.linkonce.s.*)

            KEEP(*(.sounddb))  // the error line

        __sounddb_end__ = .;

    } > sound

I located the error line, if  "KEEP(*(.sounddb))" line was deleted, the project will be compiled competely, or failed.

The error indicator was attached. Could you please me to solve this issue, thanks.

    This topic has been closed for replies.
    Best answer by ATROI

    Hi Zliu,

    I tried to reproduce the error you showed in the attached picture, but without success.

    What I can suggest is to import the "SPC582Bxx_RLA AEK_AUD_D903V1 - Test Application" demo project from AutodevKit.

    Within this project there are three files called:

    • user_freegcc.ld
    • user_ghs.ld
    • user_hightec.ld

    you can use one of these files by copying and pasting the contents in the application.ld file according to the compiler you are using and then recompile the project.

    0693W00000WL5qbQAD.jpg 

    If you are using the GCC compiler, the file to use is user_freegcc.ld

    1 reply

    ATROI
    ATROIBest answer
    ST Employee
    December 15, 2022

    Hi Zliu,

    I tried to reproduce the error you showed in the attached picture, but without success.

    What I can suggest is to import the "SPC582Bxx_RLA AEK_AUD_D903V1 - Test Application" demo project from AutodevKit.

    Within this project there are three files called:

    • user_freegcc.ld
    • user_ghs.ld
    • user_hightec.ld

    you can use one of these files by copying and pasting the contents in the application.ld file according to the compiler you are using and then recompile the project.

    0693W00000WL5qbQAD.jpg 

    If you are using the GCC compiler, the file to use is user_freegcc.ld