Monday, May 21st 2018, 7:10am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

CarrollAz1

Beginner

Date of registration: Jun 17th 2016

Posts: 2

1

Monday, January 29th 2018, 11:38pm

[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

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 1,048

2

Tuesday, January 30th 2018, 1:23pm

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: https://www.segger.com/about-us/contact-us/


CarrollAz1

Beginner

Date of registration: Jun 17th 2016

Posts: 2

3

Tuesday, January 30th 2018, 5:05pm

I'm using Segger Studio, I guess their not compatible, oh well, thanks

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 1,048

4

Wednesday, January 31st 2018, 9:02am

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: https://wiki.segger.com/How_to_port_proj…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: https://www.segger.com/about-us/contact-us/