Commit Graph

20177 Commits

Author SHA1 Message Date
Zim Kalinowski
13ab2cd9f9 Merge branch 'bugfix/spiram_abort_allocation_failure' into 'master'
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram

Closes IDFGH-5870

See merge request espressif/esp-idf!15454
2021-11-02 05:36:18 +00:00
Omar Chebib
96391ef62b SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram 2021-11-02 05:36:18 +00:00
Zim Kalinowski
6b3201605e Merge branch 'bugfix/riscv_fix_vector_mcause' into 'master'
RISC-V: fix usage of special register when interrupts are enabled

Closes IDF-3955

See merge request espressif/esp-idf!15370
2021-11-02 05:31:06 +00:00
morris
b2c2e2302b Merge branch 'feature/KSZ8091_support' into 'master'
Add support for Eth PHY KSZ8091

Closes IDFGH-5845

See merge request espressif/esp-idf!15702
2021-11-02 02:37:53 +00:00
Ivan Grokhotkov
f47e8f90ce Merge branch 'bugfix/multi_heap_get_info_impl' into 'master'
heap: fix multi_heap_get_info_impl

See merge request espressif/esp-idf!15470
2021-11-01 21:21:22 +00:00
Mahavir Jain
e6db26cc40 Merge branch 'bugfix/no_yield_for_efuse_virt_mode' into 'master'
spi_flash: Fix, no CPU release time for an erase operation when OS is not running

See merge request espressif/esp-idf!15734
2021-11-01 18:22:29 +00:00
Simon Chupin
5b17d80a89 Merge branch 'bugfix/archive_details_always_run_like_diff' into 'master'
tools: fix bug with idf_size argument archive_details

Closes IDF-4192

See merge request espressif/esp-idf!15579
2021-11-01 17:42:18 +00:00
simon.chupin
8cff2a27e6 change --archive_details output 2021-11-01 17:43:31 +01:00
gaoxiaojie
0028e2c23c heap: fix multi_heap_get_info_impl 2021-11-01 16:08:07 +00:00
Roland Dobai
6cd0ae8cbf Merge branch 'bugfix/ci_copyright_header_ownership' into 'master'
CI: Make the maintainers to be the owners of the copyright header ignore list

See merge request espressif/esp-idf!15761
2021-11-01 15:54:50 +00:00
ma-lalonde
0f754551dd Add support for Eth PHY KSZ8091 2021-11-01 11:11:18 -04:00
KonstantinKondrashov
884a6b17cc spi_flash: No CPU release time for an erase operation when OS is not running
During the early start, the virtual eFuse mode can call erase operations when OS is not yet running.

Possible workaround: CONFIG_SPI_FLASH_YIELD_DURING_ERASE=n

Fixed for the legacy flash driver as well.
2021-11-01 21:49:24 +08:00
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
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