esp-idf/tools
Ivan Grokhotkov 710c853adc Merge branch 'bugfix/spi_flash_lock_period' into 'master'
SPI flash operations lock for shorter periods

Based on bug report here:
https://esp32.com/viewtopic.php?f=13&t=1489&p=6816#p6773

Long SPI flash erase (and possibly write/read) cycles block all tasks on both CPUs for an extended period, and can lead to WiFi dissassociation (and general priority inversion.)

This MR inserts preemption breaks into large operations (all erases, writes every 8KB, reads every 16KB).

Overhead of a single spi_flash_guart_start()/spi_flash_guard_end() cycle measured at approx 67us (assuming no preemption.)

See merge request !600
2017-03-24 15:55:42 +08:00
..
kconfig kconfig: Ignore Windows host-compiled executables 2017-02-22 11:59:37 +11:00
unit-test-app unit test: Measure test wall time with CCOUNT, so it includes time w/ interrupts off 2017-03-22 15:35:54 +08:00
windows Build system: Add new BATCH_BUILD flag to disable interactive parts of the build 2017-02-22 11:59:37 +11:00
eclipse-code-style.xml tools: add code formatter rules for Eclipse 2016-11-03 18:41:00 +08:00
format-minimal.sh docs: add style guide 2016-11-03 18:41:00 +08:00
format.sh esp32: ReformatReformat panic.c (remove tabs, etc) 2016-12-07 13:25:56 -08:00
idf_monitor.py idf_monitor: Use ANSI color codes for all output we inject into stderr 2017-03-23 10:41:14 +08:00