[ABANDONED] SES link command syntax error (maybe ?)

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [ABANDONED] SES link command syntax error (maybe ?)

    Hello,


    I am trying to clean an old NRF project: I recreated a SES project and solution, fixing every issue whie porting, and end up stuck at the linking step.
    I get a "syntax error" while issuing a build (see picture attached).

    Doing an export build I noticed a weird thing in the linking command:

    " [...]
    --gc-sections -TC:/Users/JossMARCIALIS/Desktop/KTv1_nouveau_firmware/Output/Debug/Obj/KTv1/KTv1.ld
    [...] "

    The -T option is not separated from the file path, hence the syntax error on the new project.
    Is this normal ? If not, how can I possibly edit this command or solve the problem ?


    Thanks in advance
    Images
    • Capture d’écran 2022-09-28 151254.png

      46.27 kB, 892×406, viewed 489 times
  • Hello,

    Thank you for your inquiry.

    jmarcialis wrote:

    The -T option is not separated from the file path, hence the syntax error on the new project.
    Is this normal ?
    Yes that is fine.


    jmarcialis wrote:

    If not, how can I possibly edit this command or solve the problem ?
    Most likely the command is not the problem but the content of the linker script itself.
    You can switch to a more verbose output by chaning the view in the Output Window from Tasks to Output in the drop down and in the window settings (Gears symbol to the right) select all three options:
    * Echo Build Command
    * Show Raw Error Output
    * Show Build Information

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.