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
Zhang Jun Hao
a568b4fddf
esp_wifi: support station only mode for code size down
2021-10-27 11:48:22 +08:00
Island
8037e2462f
Merge branch 'bugfix/heartbeat_filter_with_acceptlist' into 'master'
...
ble_mesh: stack: Fix heartbeat filter with accept list error
See merge request espressif/esp-idf!14529
2021-10-27 02:50:00 +00:00
David Čermák
bcbef9a8db
Merge branch 'bugfix/ping_sock_0_valid' into 'master'
...
lw-ip: Fix ping socket create to allow for fd=0
See merge request espressif/esp-idf!15644
2021-10-26 14:27:45 +00:00
Ivan Grokhotkov
b549523152
Merge branch 'docs/blink_update_supported_targets_on_readme' into 'master'
...
example: Update on the README file to change from ESP32-S3-Addax-1 to ESP32-S3-DevKitC-1
See merge request espressif/esp-idf!15604
2021-10-26 13:14:01 +00:00
Ivan Grokhotkov
1561fbd2c5
Merge branch 'ci/minimum_pipeline_for_revert_branch' into 'master'
...
ci: minimum pipeline for 'revert-' branches
Closes IDFCI-920
See merge request espressif/esp-idf!15592
2021-10-26 12:14:30 +00:00
Cao Sen Miao
b0123199da
esp_timer: init rtc timer and system timer in early init
2021-10-26 19:07:34 +08:00
Ivan Grokhotkov
249abb3fe8
esp_timer: allow querying the timer before esp_timer_init is called
2021-10-26 19:07:34 +08:00
Anton Maklakov
e525964f67
Merge branch 'bugfix/gdbstub_4_c3' into 'master'
...
Add missing function for C3
See merge request espressif/esp-idf!15538
2021-10-26 10:16:38 +00:00
Fu Hanxi
4cc18e9582
ci: minimum pipeline for 'revert-' branches
2021-10-26 17:55:58 +08:00
Alexey Gerenkov
e777653222
Merge branch 'feature/esp32s3_apptrace' into 'master'
...
apptrace/trax: Adds ESP32-S3 support
Closes IDF-1785
See merge request espressif/esp-idf!14857
2021-10-26 09:50:40 +00:00
lly
fc97277e2f
ble_mesh: stack: Update the license of provisioner_main.c
2021-10-26 17:44:36 +08:00
wangjialiang
0578c3a126
ble_mesh: stack: Fix heartbeat filter with accept list
2021-10-26 17:43:53 +08:00
Mahavir Jain
152d819707
Merge branch 'feature/sync_github_pr_to_gitlab' into 'master'
...
Sync approved Github PRs to Gitlab (ESP-IDF)
Closes RDT-58
See merge request espressif/esp-idf!15064
2021-10-26 09:32:25 +00:00
Ivan Grokhotkov
569440bd3c
Merge branch 'bugfix/highint_hdl_link_gnumake' into 'master'
...
esp_system: fix high level interrupt handler not linked for GNU Make
Closes IDFGH-5728 and IDFGH-6078
See merge request espressif/esp-idf!15615
2021-10-26 09:25:34 +00:00
chenjianxing
5918bb73d9
esp_phy: fix esp32c3/s3 phy USB & RSSI issue
2021-10-26 15:22:01 +08:00
Kevin (Lao Kaiyao)
bc1cebe042
Merge branch 'bugfix/i2s_ws_polarity_in_tdm' into 'master'
...
i2s: fix ws signal polarity in tdm mode
Closes IDF-4140
See merge request espressif/esp-idf!15534
2021-10-26 07:13:49 +00:00
Fu Hanxi
42405604af
idf.py gdb: autoload prefix_map_gdbinit when exists in project_description.json
2021-10-26 14:20:40 +08:00
David Cermak
7b91343ca7
lwip: Fix ping socket create to allow for fd=0
...
0 is a valid socket description, so should be accepted after we create a
socket. In IDF, though, it's just a theoretical issue, as customers have
to configure:
* FD_SETSIZE = CONFIG_LWIP_MAX_SOCKETS (from makefiles)
* CONFIG_VFS_SUPPORT_IO = n (from menuconfig)
(this configuration is currently broken, but if we adjust the IDF here
and there we could reproduce the issue)
2021-10-26 08:19:26 +02:00
Laukik Hase
995b398165
gh_action: Sync approved Github PRs to Gitlab
...
- Checks for forbidden files modification (.gitlab/.github) and PR approver access level
- Approver decides the approach for PR merging (Rebase or direct Merge)
2021-10-26 12:46:42 +08:00
Armando (Dou Yiwen)
5f0c8f57c6
Merge branch 'feature/add_flash_psram_config_guide' into 'master'
...
doc: add flash and psram configuration guide on esp32s3
Closes IDF-3949
See merge request espressif/esp-idf!15221
2021-10-26 04:34:24 +00:00
Armando
d41da2792a
doc: add flash and psram configuration doc in programming guide
2021-10-26 11:49:36 +08:00
laokaiyao
f37595dee9
i2s: fix ws signal polarity in tdm mode
2021-10-26 11:12:30 +08:00
Fu Hanxi
ea1005b740
build: create BUILD_DIR/prefix_map_gdbinit when enable reproducible build
...
add project property BUILD_COMPONENT_DIRS
2021-10-26 10:55:00 +08:00
Jakob Hasse
04dc51732b
Merge branch 'feature/spi_cxx' into 'master'
...
[cxx]: simple spi master class
Closes IDF-3750
See merge request espressif/esp-idf!13363
2021-10-26 02:44:35 +00:00
Fu Hanxi
9919b75ec1
build: add CONFIG_APP_REPRODUCIBLE_BUILD menuconfig option to produce reproducible binaries
2021-10-26 10:43:15 +08:00
Fu Hanxi
a65de0ab1f
ldgen: generate ld files with fixed order of entries
2021-10-26 10:43:15 +08:00
Anton Maklakov
c670e17383
Merge branch 'feature/add_esp32-h2_esp32-c6_to_ttfw' into 'master'
...
tools: update ttfw to support ESP32-H2 and ESP32-C6 chips
See merge request espressif/esp-idf!15443
2021-10-26 02:35:29 +00:00
Fu Hanxi
92d7e47ef6
Merge branch 'ci/enable_s3_example_test' into 'master'
...
ci: run example test for c3 as well
Closes IDFCI-921
See merge request espressif/esp-idf!15602
2021-10-26 00:59:56 +00:00
Anton Maklakov
d16038e181
Merge branch 'fix/enable_http2_request_example_test' into 'master'
...
Enable the example test for http2_request example
Closes IDF-3558
See merge request espressif/esp-idf!15380
2021-10-25 13:53:55 +00:00
Mahavir Jain
d33ce7cb59
Merge branch 'bugfix/docs_update_anti_rollback_note' into 'master'
...
docs: ota: fix note about security version efuse size
See merge request espressif/esp-idf!15620
2021-10-25 11:30:38 +00:00
Wei Tian Hua
23dd7a4a29
Merge branch 'bugfix/remove_assert_when_inq_done' into 'master'
...
component_bt: fix crash after inquiry has finished
Closes IDFGH-4967 and IDFGH-5850
See merge request espressif/esp-idf!13505
2021-10-25 10:03:28 +00:00
Mahavir Jain
cc284f1d87
docs: ota: fix note about security version efuse size
2021-10-25 14:40:43 +05:30
Harshit Malpani
47b17f6c99
Enable the example test for http2_request example
2021-10-25 16:38:08 +08:00
Omar Chebib
0f6f3c0ece
RISC-V: fix usage of special register when interrupts are enabled
2021-10-25 16:31:34 +08:00
Wang Meng Yang
ae39bf1cfe
Merge branch 'demo/controller_hci_uart_rename_and_README' into 'master'
...
[document] add README.md for demo controller_hci_uart_esp32
Closes BT-1619
See merge request espressif/esp-idf!15450
2021-10-25 08:09:16 +00:00
Guo Jia Cheng
a928411ab3
Merge branch 'feature/mdns-subtype' into 'master'
...
mdns: support service subtype
Closes IDFGH-3560
See merge request espressif/esp-idf!15467
2021-10-25 07:50:49 +00:00
Dmitry
1457c42f6f
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2.
2021-10-25 10:30:50 +03:00
Jakob Hasse
7efb01846f
[cxx]: simple spi master class
...
* spi cxx unit test (CATCH-based, on host)
* added portmacro.h to driver mocking
* added simple testing app to write/read SPI,
using an MPU9250
2021-10-25 14:56:59 +08:00
Marius Vikhammer
83554054c2
docs: define __DOXYGEN__ for doxygen builds
...
Some docs depended on __DOXYGEN__ but this was never defined anywhere.
2021-10-25 13:48:33 +08:00
Mahavir Jain
c499fe5fa5
Merge branch 'add_agressive_revoke' into 'master'
...
secure_boot: Added Kconfig option for aggressive key revoke
See merge request espressif/esp-idf!14957
2021-10-25 04:00:20 +00:00
Jakob Hasse
912d831dfa
Merge branch 'docs/update_mock_doc' into 'master'
...
[docs]: Updated mocking documentation
Closes IDF-3687 and IDFGH-3714
See merge request espressif/esp-idf!15493
2021-10-25 02:21:25 +00:00
Ivan Grokhotkov
265038bea3
esp_system: fix high level interrupt handler not linked for GNU Make
...
In 4972605
, high-level interrupt handler hook was renamed from
ld_include_highint_hdl to ld_include_panic_highint_hdl. However the
change wasn't applied in GNU Make based build system. As a result,
the default interrupt handler was linked and features which depended
on the high-level interrupt didn't work.
Closes https://github.com/espressif/esp-idf/issues/7759
Closes https://github.com/espressif/esp-idf/issues/7447
2021-10-24 11:08:40 +02:00
Darian
e5f5eb3cbb
Merge branch 'refactor/freertos_deprecate_critical_nested_macros' into 'master'
...
freertos: Deprecate critical nested macros
Closes IDF-4036
See merge request espressif/esp-idf!15539
2021-10-23 07:42:15 +00:00
Darian
1591c4eb33
Merge branch 'feature/freertos_static_allocation_task_memory_callbacks' into 'master'
...
freertos: Add memory hooks for static IDLE and Timer tasks
Closes IDF-2243 and IDFGH-5804
See merge request espressif/esp-idf!15545
2021-10-23 07:20:30 +00:00
Darian
a1a125ec85
Merge branch 'bugfix/freertos_prvTaskIsTaskSuspended' into 'master'
...
freertos: Fix prvTaskIsTaskSuspended check
Closes IDFGH-5865
See merge request espressif/esp-idf!15369
2021-10-23 07:08:21 +00:00
Alexey Gerenkov
111ba5bbe6
trax: Adds ESP32-S3 support
2021-10-22 23:36:28 +03:00
Alexey Gerenkov
5911eb3f3e
apptrace: Adds ESP32-S3 support
2021-10-22 23:24:00 +03:00
Ivan Grokhotkov
edf48bbad8
Merge branch 'bugfix/modbus_fix_copyright_headers' into 'master'
...
Bugfix/modbus fix copyright headers
See merge request espressif/esp-idf!15576
2021-10-22 17:23:03 +00:00
Alex Lisitsyn
bdf0298009
Bugfix/modbus fix copyright headers
2021-10-23 01:23:03 +08:00