Performance Optimization of software
I am using STM32F070 controller. Currently, I am in need of improving performance of the software. I tried to do some measures such as optimization of my code itself and raising the optimization level of compiler to -Ofast. However, I need to gain more performance but currently finding no way to do it further more.
Can anybody suggest me what could I try to gain some performance?
I am using Atollic studio 9.2 for my development. I am running processor at 20Mhz. I can not increase clock beyong this. I am running all code from flash. The vector table is also in Flash.
Will moving some code into RAM bring any benefit in speed, considering that I have 0 wait states on Flash?
Appreciate any suggestion on this topic. Thanks.