OVMS3-idf/docs/en/api-reference/peripherals
Michael (XIAO Xufeng) 3387d751d9 spi: fix the crash when callbacks are not in the IRAM
Introduced in 9c23b8e5 and 4f87a62f. To get higher speed, menuconfig
options are added to put ISR and other functions into the IRAM.  The
interrupt flag ESP_INTR_FLAG_IRAM is also mistakenly set when the ISR is
put into the IRAM. However callbacks, which are wrote by the user, are
called in the master and slave ISR. The user may not be aware of that
these callbacks are not disabled during flash operations. Any cache miss
during flash operation will cause panic.

Essentially IRAM functions and intrrupt flag ESP_INTR_FLAG_IRAM are
different, the latter means not disabling the ISR during flash
operations.  New bus_config flag intr_flags is offered to help set the
interrupt attribute, including priority level, SHARED, IRAM (not
disabled during flash operations).  It introduced a small BREAK to
IDFv3.1 (but the same as IDFv3.0) that the user has to manually set IRAM
flag now (therefore he's aware of the IRAM thing) to void the ISR being
disabled during flash operations.
2018-12-05 10:25:57 +08:00
..
adc.rst docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com 2018-06-19 11:23:33 +00:00
dac.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
esp_slave_protocol.rst doc(sdio_slave): documentation for SDIO slave driver 2018-05-21 23:48:56 +08:00
gpio.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
i2c.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
i2s.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
index.rst doc(sdio_slave): documentation for SDIO slave driver 2018-05-21 23:48:56 +08:00
ledc.rst Restored back original 'zh_CN' version files and updated links between versions 2018-03-13 21:57:08 +01:00
mcpwm.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
pcnt.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
rmt.rst Restored back original 'zh_CN' version files and updated links between versions 2018-03-13 21:57:08 +01:00
sdio_slave.rst doc(sdio_slave): documentation for SDIO slave driver 2018-05-21 23:48:56 +08:00
sdmmc_host.rst docs: update SDMMC and SDSPI documentation 2018-04-11 11:07:13 +08:00
sdspi_host.rst docs: update SDMMC and SDSPI documentation 2018-04-11 11:07:13 +08:00
sigmadelta.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
spi_master.rst spi: fix the crash when callbacks are not in the IRAM 2018-12-05 10:25:57 +08:00
spi_slave.rst Moved files into separate folders per 'en' and 'zh_CN' language version and linked 'zh_CN' files back to 'en' files if translation is not yet available 2018-03-13 21:57:08 +01:00
timer.rst docs: explicitly note that timer alarms are not recurring 2018-03-19 11:56:57 +08:00
touch_pad.rst Provided links to 'Touch Sensor Application Note' and 'Guide for ESP32-Sense Development Kit' 2018-05-21 19:29:36 +02:00
uart.rst Allow VFS file descriptors in select() 2018-05-18 08:06:33 +02:00