355 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 - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...