38 views
in Embedded Wizard Studio by

Using Embedded Wizard Pro 13.05, I am trying to print which of the 3 profiles I am using. 
In the Project composer the profiles are named like this : STM32, Win32, Win32Simulator.
Here is the code I'm using to print the selected platform, nothing special :

$if $prototyper && $platform == *.STM32.*
  trace "STM32";
$endif
$if $prototyper && $platform == *.Win32.*
  trace "Win32";
$endif
$if $prototyper && $platform == *.Win32Simulator.*
  trace "Win32simulator";
$endif

The problem is that the only one that gets printed is "STM32", while the others are ignored.

1 Answer

0 votes
by

Hello,

in version 12 the naming of Windows platform packages has been reworked. See the Release Notes 12 and the screenshot below. The platform contains now .Windows. in its name and not .Win32.. The platform containing .Win32Simulator. in its name is unknown to me. Possibly you are mixing the platform package name with profile name? See also $platform and $profile.

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

...