Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Import Macro Repair
Panel
bgColor#ffffff
titleQ

What optimization , and debug levels and FPU support are available and configurable?

Panel
bgColor#ffffff
titleA

netX Studio offers two default build conditions.

Those are called "debug" and "release" and are part of the hand over parameters between netX Studio and waf.

Via Project > Preferences > C/C++ Build, choosing "[ All configurations ]" in the drop down box and switching to the Behaviour tab, the parameters appear. "${build_type}" specifies one of the conditions from above.

Waf is capable of handling the conditions "debug", "debugrel" and "release". So by editing the build instruction to "--conditions=debugrel" it is possible to get a release build with debug informations.

It is planned to get an aditional condition called "custom" where the optimization and debug flags will not be set by the hilscher extensions and the user has to set them as needed.

The current option to modify is to open the file "C:\ProgramData\Hilscher GmbH\netX Studio CDT\BuildTools\waf\waflib\extras\hilscher_toolchains.py" and edit in the function "configure_device_netx90" the relevant flags as needed.

In this function it is also possible to change from software to hardware floating point calculations.

Panel
bgColor#ffffff
titleSee also...

Filter by label (Content by label)
showLabelsfalse
spaces@self
showSpacefalse
cqllabel = "faq" and space = currentSpace ( )
labelsfaq