OVMS3-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 CI: raise import error instead of exit for ble tools 2019-12-07 10:34:54 +08:00
catch move Catch framework header into tools directory 2017-04-17 11:01:18 +08:00
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 Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID 2020-03-16 08:20:37 +00:00
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 Tools: Add tests for confgen.py 2020-02-25 17:15:46 +01:00
ldgen esp32, esp32s2: move panic handling code to new component 2020-03-10 19:56:24 +08:00
mass_mfg Docs: Encourage to used Python 3 2020-02-24 12:55:55 +01:00
test_apps pppos_client: Add a test application for pppos_client 2020-04-14 21:46:07 +02:00
test_idf_monitor espcoredump: fix idf_monitor test artifacts 2020-03-24 11:48:18 +01:00
test_idf_py tools: fix double builds with idf.py 2020-03-02 07:18:22 +05:00
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 tools: add {find,build}_apps.py, scripts to build multiple apps 2019-11-21 15:36:06 +01:00
check_kconfigs.py Update kconfiglib to upstream version and replace mconf-idf 2019-10-29 10:40:04 +01:00
check_python_dependencies.py check_python_dependencies: If overriding requirements.txt path, provide a pip command line 2020-02-07 16:37:45 +11:00
check_term.py Give info and warnings about the TERM environment variable 2019-12-02 09:49:21 +01:00
eclipse-code-style.xml tools: add code formatter rules for Eclipse 2016-11-03 18:41:00 +08:00
find_apps.py tools: add {find,build}_apps.py, scripts to build multiple apps 2019-11-21 15:36:06 +01:00
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 tools: updated generator of error codes to names to ignore tcpip_adapter 2019-11-13 12:36:26 +01:00
idf.py Use component manager if available as python package 2019-12-19 16:48:36 +01:00
idf_monitor.py idf_monitor: support to re-flash with the using port 2020-04-07 01:44:26 +08:00
idf_size.py tools: Support showing differences of MAP files in JSON format 2020-03-23 12:04:07 +01:00
idf_tools.py tools: check if idf_tools.py install-python-env is called from a venv 2020-02-26 14:03:38 +01:00
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 ci: kconfig rules: Allow any file starting with KConfig.* to be sourced 2019-08-14 16:50:30 +10:00
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 tools: add metadata file and idf_tools.py 2019-05-24 17:04:23 +08:00