204 views
in Embedded Wizard Studio by

Hi Gents,

 I have Bitmap objects as seen below that are for a WebGL build profile only.


And yet when I do a build for iMX_RT I see them showing up in the build eating up memory:

Why isn't this working and what can be done?

Thank you,

 Mike

1 Answer

0 votes
by

Hi Mike,

I assume that the bitmap resources are somehow used within the project for iMX_RT. As soon as there is a reference to these resources, they will be generated - independent from the content of the attribute Generator.

Is there some reference within your GUI project?

Best regards,

Manfred.

by

They are only referenced by a Variant. Which itself is WebGL profile filtered. I must not be understanding something with these Variants....?



The slider config only references the Bitmaps


 

by

Hi Mike,

the VariantCond of the resource variant contains the answer: It is set to WebGL, true. This means, the condition is always true! See description of VariantCond operand value true: The condition is always true regardless of any other operand specified in the attribute. The variant is considered as being permanently active. In other words, the original member is overridden statically.

Set the VariantCond only to WebGL and you should get the expected result.

Best regards,

Manfred.

by
Ah! Yes, that was it. The result of too much tinkering!

Embedded Wizard Website | Privacy Policy | Imprint

...