Skip to end of banner
Go to start of banner

Optimization, Debug Level and FPU

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Q

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

A

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 additional platforms called "netx90_app", "netx90_app_softfp" and "netx90_app_hardfp" where the compiler specific software and hardware floating point support is compiled in.

The legacy option to modify compiler flags on your own 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.

  • No labels