Commit Graph

20628 Commits

Author SHA1 Message Date
Roland Dobai
93faf8fb95 CI: Make the maintainers to be the owners of the copyright header ignore list 2021-11-01 14:08:07 +01:00
Roland Dobai
2606f3101b Merge branch 'bugfix/xtensa_clang_version_regex' into 'master'
fix(tool): export.sh cannot export xtensa-clang if installed

See merge request espressif/esp-idf!15751
2021-11-01 11:26:31 +00:00
Cao Sen Miao
049349a087 Merge branch 'feature/usb_serial_default_option' into 'master'
usb_serial_jtag: Add secondary menu to support using usb_serial port to print when primary is uart

Closes IDF-3525 and IDF-3555

See merge request espressif/esp-idf!14554
2021-11-01 11:22:35 +00:00
Martin Vychodil
8a86434ece Merge branch 'feature/fatfs_disk_status_implementation' into 'master'
fatfs: Implementation of disk_status for SD/MMC card

Closes IDF-4125

See merge request espressif/esp-idf!15488
2021-11-01 09:48:59 +00:00
Armando (Dou Yiwen)
742517bcea Merge branch 'bugfix/fix_120m_sdr_flash_config_on_non_s3_bug' into 'master'
spi_flash: make 120m config only visible on s3 sdr mode

See merge request espressif/esp-idf!15704
2021-11-01 09:06:13 +00:00
Cao Sen Miao
adfb7bed96 vfs_usb_serial: set secondary selection for making usb port can output under default menu 2021-11-01 15:48:36 +08:00
Jan Procházka
fb22c1f182 fatfs: Implementation of disk_status nad disk_initialize for SD/MMC card
FATFS provides a disk status and disk initialize callback which were not
implemented. Implementation has very low impact on SD/MMC speed and
fixes issues, when trying to open file when SD card was removed from
slot and not deinited.

If disk_status returns STA_NOINIT, it will always continue with
disk_initialize. If that returns 0, it will continue like everything is
working normally. So there has to be the same check as in disk_status.
Return of disk_initialize is always checked like this for STA_NOINIT or
STA_PROTECT so if command fails, we return the STA_NOINIT.

stat = disk_initialize(pdrv);
if (stat & STA_NOINIT) return FR_NOT_READY;
if (stat & STA_PROTECT) return FR_WRITE_PROTECTED;

Closes IDF-4125
2021-11-01 15:11:40 +08:00
Omar Chebib
5206afe755 Merge branch 'bugfix/fix_select_timeout' into 'master'
VFS: `select` function's timeout is now POSIX compliant

Closes IDFGH-5807

See merge request espressif/esp-idf!15374
2021-11-01 07:01:20 +00:00
Fu Hanxi
6c7100cce0 fix(tool): export.sh cannot export xtensa-clang if installed issue 2021-11-01 14:59:11 +08:00
Steinbart Andreas (HAU-EDS)
f9d6fa2b84 esp-eth: emac: Reset Tx DMA channel owner on init
Reset ethernet TX DMA descriptors sets owner to CPU, so re-installing the ethernet driver will now not result in packet loss

Merges https://github.com/espressif/esp-idf/pull/7752
2021-11-01 06:16:59 +00:00
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
Li Shuai
9ac58e32a2 substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC 2021-10-29 21:24:09 +08: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
Lv Xin Yue
48f7ae266d docs:update the link to esp32-s3-wroom-1 datasheet 2021-10-29 20:05:12 +08: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
baohongde
e6ceedf3a0 component/bt: Power down bluetooth module when deinit 2021-10-29 10:42:23 +08: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
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