const uint8 MyArr[1024] ICACHE_RODATA_ATTR = {0};voidMyFun() ICACHE_FLASH_ATTR { } 这种ICACHE 开头的宏作的用就是因为esp8266的ram有限,所以在启动的时候就不可能把所有的数据都载入ram,只能是先载入必要的数据,其他数据保留在Flash中,在需要的时候读取。esp8266的固件有5个有效段,分别是:.data,....
in alchemy_clk_setup_cpu regulator: ti-abb: Fix array out of bound read access on the first transition xfs: revert "xfs: fix rmap key and record comparison functions" libfs: fix error cast of negative value in simple_attr_write() powerpc/uaccess-flush: fix missing includes in kup-radix...
@@ -122,7 +135,7 @@ static void ICACHE_RAM_ATTR deinitTimer() { extern "C" { // Set a callback. Pass in NULL to stop it void setTimer1Callback(uint32_t (*fn)()) { void setTimer1Callback_weak(uint32_t (*fn)()) { waveform.timer1CB = fn; std::atomic_thread_fence(std...
} >default_rodata_seg .flash.text : { _stext = .; _text_start = ABSOLUTE(.); *(EXCLUDE_FILE(*libxtensa.a:stdatomic.* *libxtensa.a:eri.* *libhal.a *libspi_flash.a:spi_flash_rom_patch.* *libspi_flash.a:memspi_host_driver.* *libspi_flash.a:spi_flash_chip_mxic.* ...