166 views
in Embedded Wizard Studio by
Hi Team,

Getting below error while building profile with Application profile.

[1.11.2022  9:35:49] Information : Generating code for the profile 'iMX_RT' ...
[1.11.2022  9:35:49] Warning Test::Timer.VariantCond (1:1) : Unknown macro $Test found. Possibly the macro $Test is not defined in the currently selected profile. Assume the macro is empty.
[1.11.2022  9:35:49] Warning Test::Event.VariantCond (1:1) : Unknown macro $Test found. Possibly the macro $Test is not defined in the currently selected profile. Assume the macro is empty.
[1.11.2022  9:35:49] Warning Test::Outline.VariantCond (1:1) : Unknown macro $Test found. Possibly the macro $Test is not defined in the currently selected profile. Assume the macro is empty.
[1.11.2022  9:35:49] Warning Test::SlideTouchHandler.VariantCond (1:1) : Unknown macro $Test found. Possibly the macro $Test is not defined in the currently selected profile. Assume the macro is empty.
[1.11.2022  9:35:49] Warning Test::Effect.VariantCond (1:1) : Unknown macro $Test found. Possibly the macro $Test is not defined in the currently selected profile. Assume the macro is empty.
[1.11.2022  9:35:49] Warning Test::HelpersInclude.Generator (1:1) : Unknown macro $Test found. Possibly the macro $Test is not defined in the currently selected profile. Assume the macro is empty.

 

Kindly help.

1 Answer

+1 vote
by

Hi Thushar,

To decide if some variants are used for testing (only), the Test Framework uses the $Test macro.

In case you introduce new profiles, you need to create this $Test macro (and maybe some more) within.

In your situation: Do a double click on the "iMX_RT"-profile (on project composer), add a new macro "Test" and set its Content to false.

(Reference to documentation of macros: https://doc.embedded-wizard.de/macro-member)

Hope this helps,
Chris

by
Thank you Chris for the update.

Embedded Wizard Website | Privacy Policy | Imprint

...