[SOLVED] warning: relocation R_RISCV_CALL

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

  • [SOLVED] warning: relocation R_RISCV_CALL

    RISC-V SES v6.34a

    The following warning appears:

    relocation R_RISCV_CALL to non-function symbol pxPortInitialiseStack at .text.prvInitialiseNewTask+012a
    relocation R_RISCV_CALL to non-function symbol xPortStartFirstTask at .text.xPortStartScheduler+0040

    What do these warnings mean? How to eliminate them?

    Thanks
    Images
    • 111222333444.png

      35.87 kB, 616×87, viewed 346 times
  • Hello,

    Thank you for your inquiry.
    The warnings mean that the assembly code from the FreeRTOS RISC-V port is faulty.
    Each function must be declared as one as follows:

    C Source Code

    1. .type \Name, function

    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.