This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how disable optimalisation in inline asm?

Hello,
I write code in MDR-ARM for any STM32F CPU and need send data over GPIO output on high speed and precise timing. For the sent I want to use inline asm code.
For timig I use nop and /or b .+2 assembler instruction , but commplier defaut optimize and remoce seemingly useless nop or b .+2 instruction.

How disable this optimalizsation for specific asm code?