Page 2 of 2

Re: attribute register or DRAM_ATTR

Posted: Thu Jul 27, 2023 8:47 pm
by stoumk
Indeed, the compiler optimizes.

Code: Untitled.c Select all


//global
volatile uint32_t start = 111;
volatile uint32_t start2 = 111;
volatile uint32_t startDiff = 111;
Now showing 16 ticks