[SOLVED] embOS/IP trial software for the Atmel SAMA5D3x-MB board compile erros

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

  • [SOLVED] embOS/IP trial software for the Atmel SAMA5D3x-MB board compile erros

    I’m trying to run the demo but I’m getting compile errors:

    In SEGGERDEMO.c, lines 186 & 187
    OS_INTERWORK __arm void OS_VFP_SaveRegs (void *pData);
    OS_INTERWORK __arm void OS_VFP_RestoreRegs(const void *pData);

    expected '=', ',', ';', 'asm' or '__attribute__' before 'void'


    Any ideas?
    Carroll
  • Hello Carroll,

    Thank you for your inquiry.
    What demo are you referring to?
    It looks like some kind of IAR demo.
    What IDE are you using to compile the project?

    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.
  • Hello Carroll,

    Embedded Studio uses another compiler than IAR so some code is not directly compatible, so you need to change the affected code lines manually.
    For general importing Embedded Studio offers a project importer for IAR which imports the main project structure, project settings etc.
    So you can use that and then manually edit the files that are still creating compiler errors.
    A guide on how to import a project into Embedded Studio with troubleshooting tips can be found here: wiki.segger.com/How_to_port_pr…to_SEGGER_Embedded_Studio

    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.