OVMS3-idf/docs/en
Michael (XIAO Xufeng) 8cddfa35b8 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-11-20 13:07:13 +08:00
..
api-guides Merge branch 'feature/linker_script_generator' into 'master' 2018-11-19 12:43:27 +08:00
api-reference spi: fix the crash when callbacks are not in the IRAM 2018-11-20 13:07:13 +08:00
contribute doc:update_creating_example_cn 2018-11-07 17:18:51 +08:00
get-started Docs: Change makes Eclipse setup inline with Mac OS and Linux. 2018-11-19 12:15:53 +08:00
get-started-cmake Merge branch 'doc/translation_eclipse-setup_wangfang' into 'master' 2018-11-19 14:04:04 +08:00
hw-reference Added CN version of 'Getting Started' guides for 'ESP32-DevKitC' and 'ESP-WROVER-KIT' 2018-10-22 09:10:58 +08:00
security Secure Boot & Flash encryption: Support 3/4 Coding Scheme 2018-10-16 16:24:10 +11:00
about.rst Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
cmake-pending-features.rst cmake: add ulp components build support 2018-09-13 14:54:59 +08:00
cmake-warning.rst docs: Copy CMake docs to a separate set of directories 2018-08-13 15:37:03 +10:00
conf.py doc: Move non-language-specific RTD/Sphinx config to conf_common.py 2018-03-16 12:00:01 +11:00
COPYRIGHT.rst MQTT: Integrate esp-mqtt library into idf 2018-09-12 08:00:59 +02:00
index.rst Merge branch 'bugfix/guide-download' into 'master' 2018-10-15 16:27:44 +08:00
languages.rst There are now visible links to change between English and Chinese version of documentation. Therefore information on the home page how to switch between languages has been removed. Added 'Download' link to the menu to provide a more visible access to documentation in PDF format for people who prefer to read it offline. 2018-09-12 04:48:50 +02:00
Makefile docs: Combine the common en/zh_CN Makefiles to one common file 2018-08-09 11:08:03 +10:00
resources.rst Docs: Renamed download links to clearly state they are to download documentation. Fixed incorrectly linked documentation build badge. 2018-09-17 01:19:45 +00:00
versions.rst docs: fix git submodule update command 2018-10-26 12:42:38 +08:00