[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: Forum Rules

    Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
    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 contact us per e-mail.
    The following contact form can be used for this: Contact Us

  • 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: Forum Rules

    Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
    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 contact us per e-mail.
    The following contact form can be used for this: Contact Us