Well, IF you ask yourself a question like that, I reckon I have done a pretty good job ;) THAT's the primary purpose of these videos. Now, go ahead and try that and please let me and everybody else know ;) It's a good question.
That would almost be another video. Try it yourself - the Debug optimization is the fastests - always. -O1 -O2 and even the one that should be the fastests are all slower. I have NOT figured out why and I guess the only way is to analyze the resulting assembler code.
Somewhat interesting discovery.
Yeah
Thx. I wander if callbacks could be inlined the same way.
HAL_ADC_ConvCpltCallback()
Well, IF you ask yourself a question like that, I reckon I have done a pretty good job ;) THAT's the primary purpose of these videos. Now, go ahead and try that and please let me and everybody else know ;) It's a good question.
I just quickly tried with the dac and it made no difference. Need to dig into this a bit further.
Shouldn't aggressive compiler optimization setting also do this?
That would almost be another video. Try it yourself - the Debug optimization is the fastests - always. -O1 -O2 and even the one that should be the fastests are all slower. I have NOT figured out why and I guess the only way is to analyze the resulting assembler code.
Hi!
Hi