417 views
in System Integration by

Hi, We have integrated EW stack(library) in our system and our system is based on GHS tool-chain. 

After integrating, When we execute, we got some exception in our system from the EW library and the cause is due to the floating point instruction used in the library.

We too have used the floating point instruction in our system application and those instruction doesn't cause any issues.

FYI, GHS compiler options related to floating point operation which we used are -fpu=vfpv5_d16 -fsoft.

Do we need to add any specific compiler / linker option as the library is GCC and our system is GHS?

Do we miss something here in order to run the EW in GHS system? 

Could you please feedback?

 

Thank you!

1 Answer

0 votes
by
Hello,

so far we did not use the GHS compiler. And I cannot confirm if GHS is able to link with GCC (or IAR or KEIL) libraries. For such an environment it might be better to use the source code of Graphics Engine and Runtime Environment.

Depending on the target it might be necessary to use the single-precision FPU setting. Maybe this already helps to solve the issue.

Concerning the compiler settings, please have a look into the provided makefile of our Build Environments (/Application/Project/GCC) - there you can see all used compiler and linker settings.

Best regards,

Manfred.
by
Hi Manfred,

Thanks for your support.

We have now fixed all the exceptions and now the system is running quite stable in GHS compiler.

Now we are facing only one issue where the "Arc path" & "Fill path" alone are not getting updated. Rest of the display items are being displayed and updating according to our design.

Even the corresponding value of the Arc is displayed. Only there is no movements.

Could you please suggest what could be the possible reasons in which arc path and fill path not getting updated?

Best Regards,

Hari
by
Hi Hari,

please check the console output - there must be some error message. Please let me know.

Best regards,

Manfred
by

Hi Manfred,

We don't have any error / warning messages in the log.

Our log contains only the init and system information.

Please find it attached in the following link.

https://ask.embedded-wizard.de/?qa=blob&qa_blobid=15849917189359705904

Is there anything related to arc path and fill path, did we make some mistake during integration? Pls feedback.

Best Regards,

Hari

by
Hi Hari,

can you try the different provided examples - are they working in the same manner as they do with other toolchains?

Did you modify the main-loop?

According to your log - there is a memory pool with only 1 byte. Did you remove the Embedded Wizard heap manager by some other memory manager?

Best regards,

Manfred.

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...