Commit Graph

20394 Commits

Author SHA1 Message Date
lly
eeb9a9bd2c ble_mesh: stack: Update license of esp specific files 2021-10-28 21:20:27 +08:00
shenjun
5532c33be9 esp_wifi_mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared 2021-10-28 20:16:31 +08:00
yuanjm
9f875b8db5 esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request
Closes https://github.com/espressif/esp-idf/issues/7777
2021-10-28 19:53:12 +08:00
Armando
f9fa38463a spi_flash: make 120m config only visible on s3 sdr mode 2021-10-28 19:36:34 +08:00
weitianhua
0ea06fa336 Remove dummy defines of Classic BT 2021-10-28 19:26:46 +08:00
Mahavir Jain
949fc013ff Merge branch 'bugfix/docs_add_tick_hook_iram_note' into 'master'
docs: freertos: add note about tick hooks placement requirement

Closes IDFGH-6056

See merge request espressif/esp-idf!15658
2021-10-28 09:39:02 +00:00
Wang Fang
ba09586a24 docs: replace the module on esp32-devkitc from esp32-wrover to esp32-wroom 2021-10-28 17:29:17 +08:00
Sudeep Mohanty
ac0cbebb89 ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
This commit fixes a bug in no-split and allow-split ring buffers free buffer size calculation.
When the free size available in the buffers less than the size of one item header,
the function prvGetCurMaxSizeNoSplit/AllowSplit() incorrectly returned the maxItemSize instead of 0.
This is due to the comparision between a negative and a positive value
where both operands are treated as unsigned during the comparision operation,
thereby treating the negative operand as a large integer.

Also added new unit tests to test buffer-full and almost-full conditions
where this scenario is likely to be hit.

Closes https://github.com/espressif/esp-idf/issues/7344
Closes https://github.com/espressif/esp-idf/pull/7371
2021-10-28 14:02:18 +05:30
Anton Maklakov
eb50e37a40 Merge branch 'bugfix/ci_fix_using_branch_name' into 'master'
ci: fix using HEAD and SHA since we started using merged result pipelines

See merge request espressif/esp-idf!15694
2021-10-28 07:58:19 +00:00
Anton Maklakov
5be0dfbb7a ci: fix using HEAD and SHA with merged result pipelines 2021-10-28 13:39:26 +07:00
Fu Hanxi
15ed0f1c84 ci: add variable PIPELINE_COMMIT_SHA 2021-10-28 13:32:53 +07:00
Anton Maklakov
b8790cfc85 Revert "ci: fix build_docker for merge result pipelines"
This reverts commit f3bb09e46c.
2021-10-28 13:20:43 +07:00
Sudeep Mohanty
0d81eb9855 Merge branch 'bugfix/ringbuf_send_semaphore_release_order' into 'master'
esp_ringbuf: Fix order of semaphore release in xRingbufferSend

Closes IDFGH-6030 and IDFGH-6036

See merge request espressif/esp-idf!15657
2021-10-28 05:30:31 +00:00
Anton Maklakov
c78900cd86 Merge branch 'feature/ci_runner_failure_retries' into 'master'
ci: runner system failure retries

See merge request espressif/esp-idf!15656
2021-10-28 04:58:32 +00:00
Jiang Jiang Jian
05a618ce10 Merge branch 'feature/decouple_softap_and_8684_support' into 'master'
Feature/decouple softap and 8684 support

See merge request espressif/esp-idf!15564
2021-10-28 04:13:18 +00:00
Fu Hanxi
bf2ca72b25 Merge branch 'ci/fix_build_docker' into 'master'
ci: fix build_docker for merge result pipelines

See merge request espressif/esp-idf!15692
2021-10-28 03:53:39 +00:00
Anton Maklakov
762d1ceffd ci: Add retries on runner system failures 2021-10-28 10:28:12 +07:00
Anton Maklakov
f6fc7269a1 ci: decrease the mistaken big parallel count 2021-10-28 10:23:21 +07:00
Fu Hanxi
f3bb09e46c ci: fix build_docker for merge result pipelines 2021-10-28 11:17:59 +08:00
Omar Chebib
73303e5de0 VFS: select function's timeout is now POSIX compliant
`select` function will now round up the timeout passed as a parameter (if any).
It  makes it POSIX compliant.

* Closes https://github.com/espressif/esp-idf/issues/7514
2021-10-28 02:52:59 +00:00
Fu Hanxi
34234792c4 Merge branch 'ci/fix_pre-commit_in_git_worktree' into 'master'
fix: git ls-files wrong result when call via pre-commit in worktrees

See merge request espressif/esp-idf!15670
2021-10-28 01:03:58 +00:00
simon.chupin
f82309b1df tools: fix bug with idf_size argument archive_details 2021-10-27 16:18:35 +02:00
Chen Jian Xing
4f5ab6be05 Merge branch 'bugfix/fix_phy_usb_issue' into 'master'
esp_phy: fix esp32c3/s3 PHY disable USB & RSSI issue

Closes ESPCS-710 and WIFI-3946

See merge request espressif/esp-idf!15596
2021-10-27 13:16:35 +00:00
weitianhua
497eaca1a3 Make ESP32 Bluetooth stack architecture Doc only visible for ESP32 2021-10-27 20:47:50 +08:00
Mahavir Jain
d05a5bd7a7 Merge branch 'bugfix/define__DOXYGEN__' into 'master'
docs: define __DOXYGEN__ for doxygen builds

Closes IDFGH-6089

See merge request espressif/esp-idf!15622
2021-10-27 08:34:38 +00:00
Mahavir Jain
89466c649e docs: freertos: add note about tick hooks placement requirement
Closes https://github.com/espressif/esp-idf/issues/7740
Closes IDFGH-6056
2021-10-27 14:01:56 +05:30
weitianhua
64aa94d823 Make Classic BT related document links only visible for ESP32 2021-10-27 15:28:47 +08:00
Fu Hanxi
b9aa7182e8 fix: git ls-files wrong result when call via pre-commit in worktrees 2021-10-27 14:20:49 +08:00
Cao Sen Miao
bd2a524a12 Merge branch 'bugfix/esp_timer_before_init' into 'master'
esp_timer: allow querying the timer before esp_timer_init is called

Closes IDF-3570

See merge request espressif/esp-idf!14428
2021-10-27 05:49:06 +00:00
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