Commit Graph

35395 Commits

Author SHA1 Message Date
Harshit Malpani
1b7d8fafc5
docs: Update restful server example README file
Closes https://github.com/espressif/esp-idf/issues/13230
2024-02-28 16:52:11 +05:30
timoxd7
626aa9f4ca
ci(docker): Added get_idf alias to .bashrc 2024-02-28 10:31:32 +01:00
Peter Dragun
a6c62bdfb6 fix(tools): fix python dependecy test on windows 2024-02-28 10:30:57 +01:00
Laukik Hase
379e02ec9c
refactor(protocomm): Make the protocomm proto-c headers public 2024-02-28 14:35:04 +05:30
Island
28b4ad2b53 Merge branch 'bugfix/ble_update_lib_20240223' into 'master'
update lib on master

Closes BLERP-563, BLERP-567, BLERP-548, BLERP-561, BLERP-569, BLERP-542, BLERP-541, BLERP-543, BLERP-540, BLERP-570, BLERP-571, BLERP-572, and BLERP-573

See merge request espressif/esp-idf!29207
2024-02-28 16:54:14 +08:00
Ivan Grokhotkov
fb95daab06
fix(sdmmc): extend the maximum number of retries of ACMD41
According to the application note in SD Card Physical Specification:

> The host shall set ACMD41 timeout more than 1 second to abort repeat
of issuing ACMD41 when the card does not indicate ready. The timeout
count starts from the first ACMD41 which is set voltage window
in the argument.

Previously, the timeout was exactly one second, and this caused
certain larger-capacity cards to "time out", because they couldn't
finish initialization process in time.
2024-02-28 09:33:24 +01:00
Ivan Grokhotkov
47ba4d639a
fix(sdmmc): use correct argument for ACMD41 in SPI mode
ACMD41 argument is different between SD mode and SPI mode.
In SPI mode, the only non-zero bit may be the HCS bit. Unlike the SD
mode, the bits reflecting the host's OCR should be zero.
Previously, we used to set these bits the same way as for the SD mode.
This has caused certain cards to fail initializing, apparently their
controllers have checked the ACMD41 argument more strictly and refused
to finish initialization, resulting in an error such as

    sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107

(Note that this error may have other causes than the one fixed in
this commit. For example, if the card doesn't have a sufficient and
stable power supply, it may also fail to complete the internal
initialization process, and will never clear the busy flag in R1
response.)

Closes https://github.com/espressif/esp-idf/issues/6686
Closes https://github.com/espressif/esp-idf/issues/10542
2024-02-28 09:33:23 +01:00
Bogdan Kolendovskyy
f02fadda87 Merge branch 'bugfix/ip101_hw_reset_include' into 'master'
fix(esp_eth): explicitly include FreeRTOS headers into ip101 driver

See merge request espressif/esp-idf!29063
2024-02-28 16:20:35 +08:00
Sudeep Mohanty
f65a55952c Merge branch 'bugfix/ulp_rtc_i2c_doesnt_work_with_interrupts' into 'master'
RTC I2C does not work when interrupts are enabled on ULP RISC-V

See merge request espressif/esp-idf!28844
2024-02-28 16:12:34 +08:00
Jin Cheng
20f2207d5f Merge branch 'bugfix/mem_leak_op_dev_name' into 'master'
fix(bt/bluedroid): Avoided possible memory leak in the module of BT device

See merge request espressif/esp-idf!29141
2024-02-28 15:54:24 +08:00
Island
5e658f5d10 Merge branch 'bugfix/fix_ble_max_reconnect' into 'master'
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration

Closes BLERP-568, BLERP-581, and BLERP-582

See merge request espressif/esp-idf!29186
2024-02-28 15:41:02 +08:00
Laukik Hase
2265c0f230
feat(tools/test_apps): Add violation tests for the flash I/DROM region
- For SoCs supporting PMP
2024-02-28 10:54:38 +05:30
Laukik Hase
366e4ee944
refactor(esp_hw_support): Remove redundant PMP entry for ROM region
- The ROM text and data sections share the address range
    (see SOC_I/DROM_MASK_LOW - SOC_I/DROM_MASK_HIGH).
  - Initially, we had two PMP entries for this address range - one marking the
    region as RX and the other as R.
  - However, the latter entry is redundant as the former locks the PMP settings.
  - We can divide the ROM region into text and data sections later when we
    define boundaries marking these regions from the ROM.
2024-02-28 10:54:38 +05:30
Laukik Hase
ff839be31d
fix(esp_hw_support): Fix the I/DCACHE region PMP protection 2024-02-28 10:54:37 +05:30
Song Ruo Jing
98d9f04b00 feat(gdma): add GDMA support for ESP32C5 2024-02-28 12:38:02 +08:00
chenjianhua
7df536d325 fix(bt): Update bt lib for ESP32(2de69f3)
- Fixed HCI command status event send when LLCP busy
2024-02-28 12:09:03 +08:00
Wu Zheng Hui
f3b95059f9 Merge branch 'bugfix/fix_sleep_cache_safe_assertion' into 'master'
fix(esp_hw_support): fix cache safe check function

See merge request espressif/esp-idf!29246
2024-02-28 10:50:52 +08:00
Cao Sen Miao
44e16a6401 fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
The issue is `esp_flash_write_encryped` function in ROM on ESP32C3, ESP32S3
calls legacy implementation, which uses old configuration. And this causes
write fails.
The solution in this commit is to compile and link this function(and related)
in IRAM instead of the ROM one.
The IRAM cost increases around 1.2KB after the fix
2024-02-28 10:07:53 +08:00
zwl
7b8b85e140 bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-27 23:28:25 +08:00
zwl
093bc1a4f5 ble(update):
Update c2 lib to 79be7ec9
Update h2 lib to c6f7cb08
Update c6 lib to c6f7cb08
2024-02-27 23:28:25 +08:00
C.S.M
7cf8cc79a1 Merge branch 'fix/ci_i2c_sleep_retention' into 'master'
fix(i2c): Modify the test memory leak check threshold and add more file pattern

See merge request espressif/esp-idf!29290
2024-02-27 23:00:29 +08:00
zhanghaipeng
3eec662473 fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration 2024-02-27 22:03:37 +08:00
morris
5d812b5ae5 Merge branch 'feature/mipi_dpi_multi_frame_buffer' into 'master'
feat(mipi_dsi): support multiple frame buffers

See merge request espressif/esp-idf!28862
2024-02-27 21:29:36 +08:00
Gao Xu
f3ebfaef53 Merge branch 'feat/add_gpio_fun_sel_api' into 'master'
feat(gpio): add gpio fun select api

See merge request espressif/esp-idf!29198
2024-02-27 21:04:31 +08:00
Darian Leung
3887441b37
fix(usb): Fix bug where usbh_process() misses an event
This commit fixes a bug where if multiple concurrent USBH API calls trigger
multiple events on the same device, some events will be lost. As a result,
those lost events don't get processed by the subsequent usbh_process() call.
2024-02-27 18:22:48 +08:00
Bogdan Kolendovskyy
eb8985886d fix(esp_eth): explicitly include FreeRTOS headers into ip101 driver to ensure availability of vTaskDelay 2024-02-27 18:13:07 +08:00
morris
cf20dfee1d feat(mipi_dsi): support multiple frame buffers 2024-02-27 17:49:04 +08:00
morris
f0342d6b59 feat(dw_gdma): support change link list item connection
by dw_gdma_lli_set_next
2024-02-27 17:49:04 +08:00
Cao Sen Miao
28a0548c67 fix(i2c): Modify the test memory leak check threshold and add more file pattern 2024-02-27 17:30:59 +08:00
wuzhenghui
4e731e8612 fix(esp_hw_support): fix cache safe check function 2024-02-27 17:29:24 +08:00
Fu Hanxi
12de4603c0 Merge branch 'ci/fix_multi_dut_without_param' into 'master'
ci(pytest): fix multi dut wrongly be picked issue

See merge request espressif/esp-idf!28793
2024-02-27 17:02:12 +08:00
gaoxu
e9ce63532b feat(gpio): add gpio fun sellect api 2024-02-27 17:01:53 +08:00
Jiang Jiang Jian
be7fe58971 Merge branch 'feature/improve_coex_connect_compatibility' into 'master'
feat(coex): improve Wi-Fi connecting compatibility at coexistence

Closes WIFI-6362, WIFI-6320, WIFIBUG-216, FCC-60, and FCC-59

See merge request espressif/esp-idf!28195
2024-02-27 16:53:21 +08:00
Konstantin Kondrashov
11d44e82eb Merge branch 'feature/efuse_esp32p4_add_new' into 'master'
feat(efuse): Adds new efuses for esp32p4

See merge request espressif/esp-idf!29085
2024-02-27 15:37:39 +08:00
Chen Yu Dong
0c55596e26 Merge branch 'revert-57955cc1' into 'master'
Revert "Merge branch 'ci/ignore_c6_wifi_two_dut_runners' into 'master'"

See merge request espressif/esp-idf!29280
2024-02-27 14:39:57 +08:00
Chen Yu Dong
6af93c154b Revert "Merge branch 'ci/ignore_c6_wifi_two_dut_runners' into 'master'"
This reverts merge request !28944
2024-02-27 14:24:37 +08:00
liuning
5314cf8aee example: add custom partition table for mesh manual networking 2024-02-27 09:45:21 +08:00
liuning
7440e302be feat(coex): improve Wi-Fi connecting compatibility at coexistence 2024-02-27 09:43:00 +08:00
Martin Vychodil
4cb3a75436 Merge branch 'bugfix/nvs_lock_initi_and_multipage_blob' into 'master'
Bugfix/nvs Improved handling of BLOB during unreliable power environment and concurrent data access scenarios

Closes IDF-8839

See merge request espressif/esp-idf!28843
2024-02-27 04:50:56 +08:00
Alexey Lapshin
04b73368e5 fix(tools): do not use builtin memcpy/memset/strcpy on xtensa chips
Closes https://github.com/espressif/esp-idf/issues/13228
2024-02-27 02:09:54 +08:00
Alexey Lapshin
5eb058ea0f Merge branch 'ci/fix_p4_build_failures' into 'master'
ci: fix ESP32-P4 build failures in CI

See merge request espressif/esp-idf!29249
2024-02-27 02:09:08 +08:00
Harshit Malpani
19104b430f ci: fix ESP32-P4 build failures in CI 2024-02-26 22:59:01 +08:00
Erhan Kurubas
b71dabf08b Merge branch 'register_gcov_tick_hook_once' into 'master'
fix(gcov): avoid multiple tick hook registration

See merge request espressif/esp-idf!29087
2024-02-26 20:47:46 +08:00
Shu Chen
cd3c813aa6 Merge branch 'bugfix/fix_ot_ci_config' into 'master'
fix(openthread): configurations for openthread examples

See merge request espressif/esp-idf!29243
2024-02-26 19:54:30 +08:00
Ondrej Kosta
6013d0e1e6 Merge branch 'ci/bridge_pytest' into 'master'
ci(esp_eth): run iperf over longer period for SPI ETH bridge

See merge request espressif/esp-idf!28842
2024-02-26 19:17:18 +08:00
morris
82c0e18dd8 Merge branch 'refactor/astyle_driver' into 'master'
change(driver): reformat driver component with astyle_py

See merge request espressif/esp-idf!29217
2024-02-26 18:36:31 +08:00
Shu Chen
cda92ca0e9 Merge branch 'fix/openthread_alarm_timer_overflow' into 'master'
fix(openthread): fix openthread alarm timer calculation remaining_us overflow issue

See merge request espressif/esp-idf!29146
2024-02-26 17:25:42 +08:00
Xu Si Yu
fbe6b5f194 fix(openthread): configurations for openthread examples 2024-02-26 17:06:01 +08:00
morris
c65fbbdf71 change(driver): reformat driver component with astyle_py 2024-02-26 11:47:05 +08:00
Mahavir Jain
603bc0536c Merge branch 'fix/support_gcm_soft_fallback_for_non_aes_ciphers' into 'master'
fix(mbedtls/gcm): Add support for software fallback for non-AES ciphers in a GCM operation

Closes IDF-8494

See merge request espressif/esp-idf!28007
2024-02-26 11:18:11 +08:00