onsemi IDE Setup
In the onsemi IDE, the swmTrace Library requires that you set at least one of the following configurations in Properties > C/C++ Build > Settings > Cross ARM C Linker > Miscellaneous:
- Check the newlib-nano checkbox to enable newlib-nano.
- Check the Do not use syscalls checkbox.
- In the text-box labelled Other linker flags, enter —specs=rdimon.specs
We strongly recommend that you set up the first configuration enabling newlib-nano, regardless of whether you set the other two. newlib-nano is enabled by default in all RSL15 sample projects. Enabling newlib-nano in the onsemi IDE also minimizes the flash and RAM requirements of applications.