OVMS3-idf/components
Ivan Grokhotkov 47b8f78cb0 Merge branch 'bugfix/flash_op_deadlock' into 'master'
spi_flash: fix race condition in s_flash_op_complete access

Flash operation complete flag was cleared by the CPU initiating flash operation. If the other core was running an ISR, then IPC task could be late to enter the loop to check `s_flash_op_complete` by the time next flash operation started. This would cause a deadlock, as the IPC task would still be waiting for `s_flash_op_complete` to be set (which was already cleared by the next flash operation), while the flash operation task would be blocked waiting for IPC task to set `s_flash_op_can_start`.

If the flag is cleared on the CPU waiting on this flag, then the race condition can not happen.

See merge request !615
2017-03-31 16:02:26 +08:00
..
app_update app_update: fix logic error when update ota info 2017-02-22 10:26:04 +11:00
aws_iot AWS IoT Device SDK Support 2017-03-13 17:23:29 +08:00
bootloader make: don’t override TEST_COMPONENTS 2017-03-09 19:43:39 +08:00
bootloader_support Merge branch 'feature/docs_partition_ota_flash' into 'master' 2017-03-03 11:27:01 +08:00
bt Merge branch 'bugfix/minor_fixes' into 'master' 2017-03-23 17:57:28 +08:00
coap coap: Initialise/update the libcoap submodule 2017-01-10 11:12:02 +11:00
cxx cxx: add iostreams test 2017-01-11 15:03:14 +08:00
driver Fix timing adjustment needed for higher speeds of SPI master bus. 2017-03-28 11:31:59 +08:00
esp32 Add WiFi static and dynamic tx buffer choice 2017-03-30 21:25:44 +08:00
espcoredump bugfix: fixed path to esptool when there is no compiled python module for it 2017-03-21 13:30:38 +03:00
esptool_py idf_monitor: Small fixes (baud rate, EOL, /dev/tty.X on macOS, Ctrl-T on failure) 2017-03-21 16:00:32 +08:00
ethernet ethernet: Fix typo in log message 2017-03-22 15:22:27 +08:00
expat Build system: Raise warning level 2016-11-16 15:57:34 +11:00
fatfs fatfs: Support for Long Filenames 2017-03-08 09:54:40 +11:00
freertos Fix finding location of ISR stack space for CPU1 2017-03-28 15:50:10 +08:00
idf_test CI: add script for parsing unit test cases for CI from test files 2017-01-18 17:08:20 +08:00
jsmn Add jsmn JSON parser component 2017-03-07 10:18:47 +11:00
json cJSON:Add float format process 2017-01-09 17:51:48 +08:00
log log: fix esp_log_level_set function name in docs 2017-01-16 02:37:10 +08:00
lwip Merge branch 'feature/lwip_numbers' into 'master' 2017-03-06 22:37:12 +08:00
mbedtls Merge branch 'bugfix/mbedtls_non_blocking_sockets' into 'master' 2017-03-15 10:39:53 +08:00
mdns mdns: add simple dns-sd meta query support 2017-03-29 11:48:19 +11:00
micro-ecc micro-ecc: Add submodule dependency 2016-11-17 09:18:51 +11:00
newlib Merge branch 'feature/deep_sleep_wakeup_from_touch' into 'master' 2017-03-08 14:27:58 +08:00
nghttp components/coap: Add libcoap port for ESP32 platform 2016-12-30 15:05:26 +08:00
nvs_flash nvs: print page state as text in nvs_dump 2017-03-15 17:28:07 +08:00
openssl components/openssl : Fix compilation error when openssl debugging is enabled 2017-02-20 09:45:50 +08:00
partition_table partition_table: update unit test 2017-03-04 17:45:04 +08:00
sdmmc esp32: add [ignore] tag to some unit test cases for CI 2017-01-18 17:08:20 +08:00
spi_flash spi_flash: fix race condition in s_flash_op_complete access 2017-03-28 01:34:17 +08:00
tcpip_adapter Merge branch 'bugfix/github_small_fixes' into 'master' 2017-03-03 12:58:22 +08:00
ulp ulp: add build system integration and example 2017-03-27 12:41:00 +08:00
vfs docs: use custom roles to generate GitHub links 2017-01-20 17:22:47 +08:00
wpa_supplicant wpa2 enterprise: change the type macro to platform default macro ESP_PLATFORM. 2016-11-25 16:56:09 +08:00
xtensa-debug-module build system: Refactor component.mk to not need component_common.mk 2016-11-10 15:52:22 +11:00