2021-04-26 08:10 AM
Hi,
I'm using ST25R3911B-DISCO for reading tags, but I'm interested in optimizing my code.
When a search how optimizing codes in C, I see people using #pragma but I don't have the answer in my code after in the proprieties in STMcubeIDE I will go to optimization, but just optimization for debugging works for me. Is It possible to use optimize the speed in that code?
2021-04-26 08:31 AM
Hi GPaiv.1,
So far we used various optimization levels with our code and have not experienced problems.
What do you mean by "just optimization for debugging works for me". What does not work?
Regards, Ulysses
2021-04-26 10:24 AM
Hi,
I'm using the ST25R3911-DISCO to reading a tag, and I search for ways of optimizing my code for one code more fast and small.
when I say " just optimization for debugging works for me " this phrase means when I use the option "Optimize for Debug" my code has better performance and keep works but when to try to use other option like "Optimize(-01)", "Optimize more(-02)", "Optimize most(-03)", "Optimize for size(-0s)" and "Optimized for speed(-0fast)" my code stop to the worker in that case stop to read tags.
2021-04-27 12:13 AM
Hi GPaiv.1,
which software packet are you compiling? Running on which HW platform? Any changes performed by your side on that packet?
Regards, Ulysses