54 views
in Platform Packages by

Hi, 

Currently, we have successfully developed the EwLoadExternBitmap interface to handle external bitmaps, and its definition is written within the following path:

\platform-package\imxrt\RTE\ewresource.c

The implementation works as expected. However, we are exploring the possibility of relocating this definition outside of ewresource.c. Could you kindly advise on the best approach for this? 

Specifically, we are looking for guidance on where and how to define this function in an external location while maintaining the desired functionality.

Your input on this would be greatly appreciated.

Thanks in Advance.

1 Answer

0 votes
by

Hello Vignesh,

modifying the provided sources (e.g. ewresource.c) is not recommended. Please create a new C file and add it to your make/build process. Then you can move the implementation of EwLoadExternBitmap() to this file. To satisfy the C compiler you will need to add #include directives. See the description in chapter Extern Bitmap interface.

Best regards

Paul Banach

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

...