esp-idf/tools
RichFalk 1222f6dd3a esp_ringbuf: Fix assertion xQueueGenericSend queue.c:818
The release of the semaphore indicating the item was successfully sent must be the last semaphore released.  The receiver may be in another task and may delete the Ringbuffer (such as with a return code across tasks design pattern) if they are through with the Ringbuffer.

The function xRingbufferSendAcquire followed by xRingbufferSendComplete had the semaphores released in the proper order and that same pattern should have been used in xRingbufferSend and xRingbufferSendFromISR.  This commit fixes this order.

Issue (IDFGH-6030) #7716 describes the problem in more detail.

Closes IDFGH-6030, https://github.com/espressif/esp-idf/issues/7716
Closes IDFGH-6036, https://github.com/espressif/esp-idf/pull/7721
2021-10-27 09:54:36 +05:30
..
ble ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests 2021-05-28 19:50:28 +05:30
catch Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
ci esp_ringbuf: Fix assertion xQueueGenericSend queue.c:818 2021-10-27 09:54:36 +05:30
cmake version: starting v5.0.0 development 2021-10-20 22:25:38 +02:00
docker Update Dockerfile working on both x64 / ARM 2021-10-08 17:11:59 +08:00
esp_app_trace style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
esp_prov Change default PoP argument of esp_prov.get_security from None to string 2021-07-15 13:06:53 +05:30
find_build_apps esp32h2: add esp32h2 build target 2021-07-01 19:51:33 +08:00
idf_monitor_base idf.py: add linux target support for idf.py flash and idf.py monitor 2021-10-18 11:50:50 +08:00
idf_py_actions idf.py: add linux target support for idf.py flash and idf.py monitor 2021-10-18 11:50:50 +08:00
idf_size_yaml tools/idf_size: improve readability 2021-10-06 15:28:05 +02:00
kconfig Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
kconfig_new kconfig: ignore nonexistent new names 2021-03-31 19:13:03 +08:00
ldgen components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 2021-09-16 20:26:35 +08:00
mass_mfg docs: update api-reference chapters for C3 2021-03-01 14:58:08 +08:00
mocks [cxx]: simple spi master class 2021-10-25 14:56:59 +08:00
templates/sample_component add new command to idf 2020-09-21 23:38:52 +02:00
test_apps Merge branch 'bugfix/gdbstub_4_c3' into 'master' 2021-10-26 10:16:38 +00:00
test_idf_monitor coredump: update test data for toolchain 2021r2 2021-10-20 22:00:39 +07:00
test_idf_py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
test_idf_size [examples]: removed hyphens 2021-10-09 13:58:24 +08:00
test_idf_tools Update toolchains to esp-2021r2 2021-10-20 22:00:39 +07:00
test_mkdfu tools: Split up large binaries into smaller chunks in the DFU binary 2021-05-19 15:15:50 +02:00
test_mkuf2 style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
unit-test-app gptimer: clean up hal and ll for driver-ng 2021-10-20 18:40:08 +08:00
windows Update toolchains to esp-2021r2 2021-10-20 22:00:39 +07:00
build_apps.py ci: Include context from failed build logs in the CI job log 2021-04-12 05:48:40 +00:00
check_python_dependencies.py Update Dockerfile working on both x64 / ARM 2021-10-08 17:11:59 +08:00
check_term.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
detect_python.fish tools: Prefer python3 during install and export 2021-02-13 11:34:40 +01:00
detect_python.sh tools: Prefer python3 during install and export 2021-02-13 11:34:40 +01:00
eclipse-code-style.xml tools: add code formatter rules for Eclipse 2016-11-03 18:41:00 +08:00
find_apps.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08: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
gdb_panic_server.py tools: gdb_panic_server: enable esp32h2 support 2021-09-15 19:24:14 +08:00
gen_esp_err_to_name.py CI: esp_err_t check: Ignore esp32_mock.h per mdns mock update 2021-07-01 15:45:17 +02:00
idf_monitor.py idf.py: add linux target support for idf.py flash and idf.py monitor 2021-10-18 11:50:50 +08:00
idf_size.py [examples]: removed hyphens 2021-10-09 13:58:24 +08:00
idf_tools.py tools/idf_tools.py: Changed default AppData seeder to seeder pip 2021-09-17 15:36:44 +02:00
idf.py tools: replace _ with - in idf.py 2021-10-13 17:30:38 +08:00
mkdfu.py tools: Split up large binaries into smaller chunks in the DFU binary 2021-05-19 15:15:50 +02:00
mkuf2.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
python_version_checker.py Drop support for unsupported Python versions 2021-06-21 21:48:49 +02: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
toolchain_versions.mk Update toolchains to esp-2021r2 2021-10-20 22:00:39 +07:00
tools_schema.json tools: Installing tools for given IDF_TARGET 2021-07-16 15:03:19 +02:00
tools.json Update toolchains to esp-2021r2 2021-10-20 22:00:39 +07:00