228 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 - 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

...