esp-idf/tools
michael fdf983e0c4 spi: fix config break and reduce overhead of the bus lock on SPI1
The SPI bus lock on SPI1 introduces two side effects:

1. The device lock for the main flash requires the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` to be selected, however this
option is disabled by default in earlier IDF versions. Some developers
may find their project cannot be built by their old sdkconfig files.

2. Usually we don't need the lock on the SPI1 bus, due to it's
restrictions. However the overhead still exists in this case, the IRAM
cost for static version of semaphore functions, and the time cost when
getting and releasing the lock.

This commit:

1. Add a CONFIG_SPI_FLASH_BYPASS_MAIN_LOCK option, which will forbid the
space cost, as well as the initialization of the main bus lock.

2. When the option is not selected, the bus lock is used, the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` will be selected explicitly.

3. Revert default value of `CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION`
to `n`.

introduced in 49a48644e4.

Closes https://github.com/espressif/esp-idf/issues/5046
2020-04-22 16:06:13 +08:00
..
ble
catch
ci Merge branch 'bugfix/ci_partition_table_detection' into 'master' 2020-04-22 15:10:11 +08:00
cmake cmake: fix getting component requirements 2020-04-08 05:42:15 +00:00
docker global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
esp_app_trace global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
esp_prov
find_build_apps build_app: make multi target support readable 2020-04-09 16:40:57 +08:00
idf_py_actions idf.py: debug ext prints detailed info/hint on common openocd issues 2020-04-15 09:07:17 +02:00
kconfig global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
kconfig_new
ldgen
mass_mfg
test_apps pppos_client: Add a test application for pppos_client 2020-04-14 21:46:07 +02:00
test_idf_monitor
test_idf_py
test_idf_size global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
test_idf_tools Update toolchain to esp-2020r1 2020-03-27 20:06:53 +07:00
unit-test-app spi: fix config break and reduce overhead of the bus lock on SPI1 2020-04-22 16:06:13 +08:00
windows msys2: add package mingw-w64-i686-gcc for installing python packages 2020-04-07 16:58:26 +02:00
build_apps.py
check_kconfigs.py
check_python_dependencies.py
check_term.py
eclipse-code-style.xml
find_apps.py
format-minimal.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
format.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
gen_esp_err_to_name.py
idf.py
idf_monitor.py idf_monitor: support to re-flash with the using port 2020-04-07 01:44:26 +08:00
idf_size.py
idf_tools.py
set-submodules-to-github.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
test_check_kconfigs.py
toolchain_versions.mk Update toolchain to esp-2020r1 2020-03-27 20:06:53 +07:00
tools.json tools: Updates OpenOCD version to 'v0.10.0-esp32-20200406' 2020-04-06 19:18:26 +03:00
tools_schema.json