Why do Arduino code not have ICACHE_FLASH_ATTR?
Posted:
Thu Jul 02, 2015 6:22 pm
by helpme
Given that Arduino MCUs are based on Harvard architecture like ESP8266, why do Arduino code not have something similar to ICACHE_FLASH_ATTR that tells the compiler whether to store the code in RAM or flash?
Re: Why do Arduino code not have ICACHE_FLASH_ATTR?
Posted:
Fri Jul 03, 2015 1:00 am
by cal
Moin,
harvard architecture means separation of code/instructions and data.
The attributes defines if code gets loaded from flash or iram before being executed.
If you don't have both you don't need a separation.
Cal