attribute register or DRAM_ATTR

stoumk
Posts: 13
Joined: Tue May 24, 2022 10:54 am

Re: attribute register or DRAM_ATTR

Postby stoumk » Thu Jul 27, 2023 8:47 pm

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

Who is online

Users browsing this forum: Baidu [Spider], ChatGPT-User, Corand and 12 guests