04-24-2018 02:59 PM
I am using SDK 2017.4
I have a microblaze design and am trying to create a standalone app for this.
I exported the hardware spec and created a new application project but when I try to build the project, I get a sequence of errors which I think are related to profiling. How do I fix these or disable profiling in the short term? And why doesn't the sample project work out of the box, i.e. what setting do I have which is causing this?
The first error was missing xtmrctr_l.h. Not knowing any better, I worked around this by copying it to the bsp from the sdk install location. The next error is CPU_FREQ_HZ undeclared in _profile_init.c. If I hack a definition in here, I then get a further cavalcade of errors. (attached).
Thanks.
04-24-2018 10:28 PM
Hi @jlaudolff,
To disable profiling:
2. Remove -pg flag in BSP.
3. Untick profiling in C/C++ build settings of the application.
04-24-2018 10:28 PM
Hi @jlaudolff,
To disable profiling:
2. Remove -pg flag in BSP.
3. Untick profiling in C/C++ build settings of the application.
04-25-2018 07:42 AM
Thanks Arpan. That helps a lot.