-->
Page 1 of 1

ICACHRE_RAM_ATTR loaded to the ram (text)

PostPosted: Thu Nov 24, 2016 4:58 pm
by sohialsadiq
Hi,
can someone help how to do ICACHRE_RAM_ATTR into loaded to the ram (text).

i am using flow sensor it stop randomly i check esp8266 interrupt handler it says
All interrupt handlers must not have the ICACHE_FLASH_ATTR decorator and any code which executes very often should not have the decorator.

pl guide how can i do this.

Thanks

Re: ICACHRE_RAM_ATTR loaded to the ram (text)

PostPosted: Fri Nov 25, 2016 10:54 am
by martinayotte
Simply apply this attribute to your handler.
Code: Select allvoid ICACHE_RAM_ATTR myIntHandler() { ... }