Commit Graph

20206 Commits

Author SHA1 Message Date
Jakob Hasse
f82e69d595 Merge branch 'ci/simple_MR_template' into 'master'
RFC: Add minimal MR template

See merge request espressif/esp-idf!15719
2021-11-01 05:55:27 +00:00
Jakob Hasse
c81f8b7e17 feat (ci): Added minimal MR template 2021-11-01 12:47:10 +08:00
Shubham Kulkarni
33e6549597 Merge branch 'bugfix/http_client_breaking_changes' into 'master'
esp_http_client: v5.0 specific breaking changes

Closes IDFGH-4777 and IDF-2985

See merge request espressif/esp-idf!15639
2021-10-31 04:53:26 +00:00
Mahavir Jain
a89d56082f Merge branch 'bugfix/memprot_bad_esp_restart_check' into 'master'
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()

See merge request espressif/esp-idf!15414
2021-10-29 12:17:32 +00:00
Chinmay Chhajed
da0234ca01 Merge branch 'bugfix/ble_conn_latency_max_value' into 'master'
BLE: Set connection max latency value to 499.

Closes BT-2025

See merge request espressif/esp-idf!15706
2021-10-29 12:16:55 +00:00
Shubham Kulkarni
5bf49e1cd6 esp_http_client: Support handling larger content lengths
Closes https://github.com/espressif/esp-idf/issues/6580
2021-10-29 18:14:22 +08:00
Shubham Kulkarni
436249de4f esp_http_client: Disable HTTP digest auth by default 2021-10-29 18:14:22 +08:00
Island
c33db5d4f5 Merge branch 'bugfix/ble_mesh_update_license' into 'master'
ble_mesh: stack: update license of esp specific files

See merge request espressif/esp-idf!15603
2021-10-29 09:56:33 +00:00
Chinmay Chhajed
7caa6ca45f BLE: Set connection max latency value to 499. 2021-10-29 14:24:45 +05:30
Martin Vychodil
dffb92e45f System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
esp_restart()/panic_restart() never resets the Digital system (so far required only by the Memprot feature) as there's a typo in the corresponding #define:
it checks CONFIG_ESP_SYSTEM_CONFIG_MEMPROT_FEATURE instead of CONFIG_ESP_SYSTEM_MEMPROT_FEATURE.
Issue fixed.

IDF-4094
2021-10-29 16:28:28 +08:00
Shu Chen
546a66c65e Merge branch 'bugfix/fix_esp32h2_efuse_get_ext_mac' into 'master'
efuse: fix esp32h2 get ext_mac

See merge request espressif/esp-idf!15682
2021-10-29 08:20:28 +00:00
Zim Kalinowski
57bf4eb612 Merge branch 'feature/update-freertos-folder-structure-to-match-upstream' into 'master'
freertos: update freertos folder structure to match upstream

Closes IDF-3718

See merge request espressif/esp-idf!15271
2021-10-29 06:56:09 +00:00
Sudeep Mohanty
4846222102 freertos: update freertos folder structure to match upstream
The following changes have been made:
1. All FreeRTOS kernel source files are now placed in the
   freertos/FreeRTOS-Kernel folder to match with the upstream folder structure.
2. All kernel include files are now placed in freertos/FreeRTOS-Kernel/include.
3. All port files are now placed in freertos/FreeRTOS-Kernel/portable.
4. All additions/customizations are placed in freertos/esp_additions.
5. All other miscellaneous files (README, License files etc.) are moved to
   freertos/FreeRTOS-Kernel folder to match with the upstream.
6. Updated esp-cryptoauthlib to latest commit to resolve FreeRTOS
   include dependencies.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-10-29 12:05:13 +08:00
Sudeep Mohanty
a3db2dd4a8 Merge branch 'bugfix/ringbuf_read_pointer_wrap' into 'master'
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers

Closes IDFGH-5624 and IDFGH-5649

See merge request espressif/esp-idf!15373
2021-10-29 03:59:21 +00:00
Chen Yu Dong
f58e2a396a Merge branch 'ci/add_esp32s3_ssc_build_jobs' into 'master'
CI: add esp32s3 SSC build jobs

See merge request espressif/esp-idf!15587
2021-10-29 03:11:08 +00:00
Wei Tian Hua
347e04cf73 Merge branch 'doc/make_classic_bt_API_ref_only_for_esp32' into 'master'
Doc/Make Classic BT related document links only visible for ESP32

Closes IDFGH-5008, IDFGH-6022, and AUD-3378

See merge request espressif/esp-idf!15635
2021-10-29 02:27:24 +00:00
Yuan Jian Min
633c6d4017 Merge branch 'bugfix/fix_http_head_request' into 'master'
esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request

Closes IDFGH-6098

See merge request espressif/esp-idf!15707
2021-10-29 02:07:53 +00:00
Wang Fang
1e2d3748f6 Merge branch 'docs/update_the_pinout_figure_of_esp32_devkitc' into 'master'
docs: update the module on esp32-devkitc from esp32-wrover to esp32-wroom

Closes DOC-2155

See merge request espressif/esp-idf!15701
2021-10-29 02:06:34 +00:00
KonstantinKondrashov
f45d25d380 efuse_table_gen: Fixes wrong joining fields with omitted names
The issue is related to the non-sequential way of description when
such fields going together sequential.

Related to esp32h2 chip for eFuses: MAC_FACTORY and MAC_EXT.
The issue is in wrong indexes of MAC_EXT.
MAC_EXT got indexes like it is joined to MAC_FACTORY.

const esp_efuse_desc_t* ESP_EFUSE_MAC_FACTORY[] = {
    &MAC_FACTORY[0],
    &MAC_FACTORY[1],
    &MAC_FACTORY[2],
    &MAC_FACTORY[3],
    &MAC_FACTORY[4],
    &MAC_FACTORY[5],
    NULL
};

const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
    &MAC_EXT[6],
    &MAC_EXT[7],
    NULL
};

This commit fixed it to:

const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
    &MAC_EXT[0],
    &MAC_EXT[1],
    NULL
};
2021-10-28 23:53:38 +08:00
zhangwenxu
55fd8cb685 efuse: fix esp32h2 get ext_mac 2021-10-28 23:53:38 +08:00
lly
eeb9a9bd2c ble_mesh: stack: Update license of esp specific files 2021-10-28 21:20:27 +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