Commit Graph

26508 Commits

Author SHA1 Message Date
wuzhenghui
46a1253022 bugfix: fix deepsleep saradc leakage 2023-04-20 11:45:58 +08:00
Li Shuai
d84cdace52 sleep: fix sleep current issue caused by sar adc 2023-04-20 11:45:58 +08:00
Fu Hanxi
2a3ee80fba ci: add missing sdkconfig files 2023-04-20 10:35:16 +08:00
Armando
85980884d7 adc: improve adc power logic 2023-04-20 10:34:37 +08:00
Armando
1ebeea7763 sdmmc: I/O phase adjustments
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
   with the TRM.
2. Choose input and output phases to satisfy typical timing
   requirements.
3. Move use_hold_reg setting into the host driver, since it is related
   to timing.

Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-19 15:38:57 +08:00
Fu Hanxi
15a76983a8 ci: add missing sdkconfig files 2023-04-19 15:38:53 +08:00
Peter Dragun
9c4282ac5f feat(esptool): allow to set force for write_flash 2023-04-18 13:47:09 +02:00
Sudeep Mohanty
dc53189e46 esp_ringbuf: Added functions to linker.lf file which can be placed in Flash
This commit adds symbols from the ringbuf.c file which can be placed in
Flash in order to free up IRAM space.
2023-04-17 16:11:23 +02:00
Frantisek Hrbata
8be7a05487 tools: fix progress output in asyncio.run with zero terminal width
Currently the forced progress in RunTool is trying to fit the output
line into a terminal width, but it doesn't take into an account a
situation when the terminal width is reported as zero. This manifests
when running in docker image with redirected output and can be seen
in the github workflow output for esp-idf-ci-action.

docker run --rm -t my_ubuntu_esp python3 -c 'import os,sys; print(os.get_terminal_size(), sys.stdout.isatty())'
os.terminal_size(columns=238, lines=59) True

vs

docker run --rm -t my_ubuntu_esp python3 -c 'import os,sys; print(os.get_terminal_size(), sys.stdout.isatty())' | tee
os.terminal_size(columns=0, lines=0) True

Since the output is reported as tty and the terminal width as 0, the
fit_text_in_terminal() function returns empty string. I also verified this
by running idf.py build inside a testing docker image.

This fix adjusts the fit_text_in_terminal() function to return original
line if the terminal width is zero.

Also simplify the progress print and use same approach as ninja
https://github.com/ninja-build/ninja/blob/master/src/line_printer.cc#L66

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-04-15 12:22:37 +02:00
Mahavir Jain
1a389f4ebb
Fix coverity warning in esp-tls component
The regressions was introduced in the commit: 0abd1cb51f
2023-04-12 17:23:47 +05:30
Mark H. Spatz
ee403a1bb6
[esp-tls] Add addr_family option to esp_tls_cfg_t 2023-04-12 16:02:18 +05:30
liqigan
93c8e1ff5a tools: Update idf-py hints with Bluedroid HFP AG info 2023-04-11 20:38:57 +08:00
hasheddan
5cdc107a90 Make custom bootloader message match actual output
Fixes the custom bootloader README.md so that the example output matches
what will actually be output by default in the custom bootloader.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2023-04-11 13:41:30 +08:00
Fu Hanxi
307c454757 ci: add missing sdkconfig files 2023-04-11 10:53:06 +08:00
Shyamal Khachane
2fe39f79d1 wpa_supplicant : Fix association response processing in OWE 2023-04-07 11:44:23 +05:30
morris
3afa39b408 spi_lcd: don't release bus if acquire failed
Closes https://github.com/espressif/esp-idf/issues/10952
2023-04-03 13:15:28 +08:00
laokaiyao
3c4c1fe010 lcd_i2c: reduce recommended link size
Closes: https://github.com/espressif/esp-idf/issues/11015
2023-04-03 09:41:18 +08:00
morris
5d11967f2e rmt: calarify the meaning of mem_block_symbols in DMA and non-DMA mode 2023-03-31 09:59:32 +08:00
morris
e06bea0445 rmt: use gpio_num_t to define gpio number 2023-03-30 15:52:08 +08:00
Jakob Hasse
d0b8fcb371 bugfix: made C code C++ compatible 2023-03-30 11:28:23 +08:00
Kampi
e66a1755df bugfix: Change namespace variable to nvs_namespace (C++ compatibility)
Closes https://github.com/espressif/esp-idf/pull/11028
2023-03-30 11:28:23 +08:00
Jiang Jiang Jian
ef4b1b7704 Merge branch 'contrib/github_pr_10997_v5.0' into 'release/v5.0'
i2s: intrerrupt fix (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22953
2023-03-30 09:35:10 +08:00
Jiang Jiang Jian
5919c3fba5 Merge branch 'bugfix/usb_host_enumeration_delay_v5.0' into 'release/v5.0'
USB Host: SetAddress recovery interval + menuconfig configuration (backport v5.0)

See merge request espressif/esp-idf!22711
2023-03-30 09:34:32 +08:00
Jiang Jiang Jian
834ca549a2 Merge branch 'feature/remove-cxx-experimental-v5.0' into 'release/v5.0'
cxx: removed cxx experimental components (v5.0)

See merge request espressif/esp-idf!22531
2023-03-30 09:34:01 +08:00
Jiang Jiang Jian
bb43066205 Merge branch 'feature/phy_write_blob_v5.0' into 'release/v5.0'
NimBLE: Demo of using write blob in ble phy example (v5.0)

See merge request espressif/esp-idf!22973
2023-03-30 09:33:32 +08:00
Jiang Jiang Jian
7d5c6b9b0a Merge branch 'bugfix/fix_systimer_stall_issue_in_lightsleep-esp32c2_espnow_enter_modem_sleep_unexpectly_v5.0' into 'release/v5.0'
fix: systimer_stall_issue_in_lightsleep & esp32c2_espnow_enter_modem_sleep_unexpectly (v5.0)

See merge request espressif/esp-idf!22983
2023-03-30 04:14:51 +08:00
Jiang Jiang Jian
e3778fa2a9 Merge branch 'bugfix/add_unregister_wpa3_cb_v5.0' into 'release/v5.0'
wpa_supplicant : Fix issues encountered in WFA testing (v5.0)

See merge request espressif/esp-idf!22891
2023-03-30 00:56:59 +08:00
Jiang Jiang Jian
63994a2f52 Merge branch 'bugfix/sta_sa_query_process_v5.0' into 'release/v5.0'
esp_wifi: Improve station SA query procedure handling and other bugfixes (Backport v5.0)

See merge request espressif/esp-idf!22903
2023-03-30 00:12:42 +08:00
liuning
dfb4a3daa0 esp_wifi: fix espnow unexpectly enter modem sleep on esp32c2 2023-03-29 21:20:33 +08:00
liuning
6b5bc6304a rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3 2023-03-29 21:19:21 +08:00
Jiang Jiang Jian
f944418ca4 Merge branch 'bugfix/delay_report_memory_leak_v5.0' into 'release/v5.0'
bugfix: fixed memory leak in AVDT delay report (v5.0)

See merge request espressif/esp-idf!22885
2023-03-29 19:14:40 +08:00
Jiang Jiang Jian
c35de0c0c7 Merge branch 'feature/gatt_server_improvements_v5_0' into 'release/v5.0'
NimBLE: Added custom GATT server functionality and encryption (v5.0)

See merge request espressif/esp-idf!22740
2023-03-29 19:14:12 +08:00
Jiang Jiang Jian
273b1b3bc5 Merge branch 'feature/add_ext_adv_instance_check' into 'release/v5.0'
NimBLE: Added ble_gap_ext_adv_active() to check if extended advertising instance is active or not.

See merge request espressif/esp-idf!22837
2023-03-29 19:11:45 +08:00
isha.pardikar@espressif.com
c7fa23b7b4 NimBLE: Demo of using write blob in ble phy example 2023-03-29 14:23:13 +05:30
Marius Vikhammer
ee70990288 Merge branch 'docs/ledc_datasheet_v5.0' into 'release/v5.0'
docs: update readme links to ledstrip datasheet (v5.0)

See merge request espressif/esp-idf!22958
2023-03-29 16:05:09 +08:00
Jiang Jiang Jian
fa4dccbe68 Merge branch 'bugfix/remove_Wno_format_in_esp_phy_esp_wifi_and_wpa_supplicant_components_v5.0' into 'release/v5.0'
Remove -Wno-format in esp_phy, esp_wifi, part of wpa_supplicant components(Backport v5.0)

See merge request espressif/esp-idf!22829
2023-03-29 15:49:14 +08:00
KonstantinKondrashov
76291d0095 efuse: Fix load_efuses_from_flash when FE is on
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.

Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.

Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-29 14:58:50 +08:00
Sarvesh Bodakhe
fd19fc9343 esp_wifi: Improve station SA query procedure handling and other bugfixes
1. Disable SA query timers when station disconnect and other SA query related improvements
2. Send appropriate reason code in 4 way handshake failure
2023-03-29 11:15:50 +05:30
yn386
6cfc016dc5 esp_psram: fix compile error for SPI PSRAM 2T mode 2023-03-29 11:42:51 +08:00
Jiang Jiang Jian
2048d1e0c0 Merge branch 'mesh/bugfix_fix_bugs_for_mesh_network_v5.0' into 'release/v5.0'
wifi_mesh: fix bugs for mesh network (backport v5.0)

See merge request espressif/esp-idf!22902
2023-03-29 10:45:49 +08:00
Marius Vikhammer
9eea794f8e docs: update readme links to ledstrip datasheet 2023-03-29 10:16:26 +08:00
Mahavir Jain
30058e3b31 Merge branch 'bugfix/enable_security_example_for_c2_v5.0' into 'release/v5.0'
examples: enable security example for ESP32-C2 (v5.0)

See merge request espressif/esp-idf!22947
2023-03-29 10:06:26 +08:00
dizcza
7bfc40b5fb i2s interrupt fix
Merges: https://github.com/espressif/esp-idf/pull/10997
2023-03-28 18:37:48 +08:00
Jiang Jiang Jian
c86f48ad80 Merge branch 'feature/ble_mesh_console_stack_update_v5.0' into 'release/v5.0'
ble_mesh: stack: Miscellaneous fixes and updates(v5.0)

See merge request espressif/esp-idf!22922
2023-03-28 15:19:22 +08:00
lly
f92ee6d70b ble_mesh: stack: Minor fix for provisioner provisioning timeout 2023-03-28 04:29:07 +00:00
wangjialiang
353eade320 ble_mesh: add BQB LOG 2023-03-28 04:29:07 +00:00
luoxu
d63bcc75a4 ble_mesh: stack: forward rfu dst for the case NODE/RLY/BV-01 2023-03-28 04:29:07 +00:00
luoxu
d63200c0b4 ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg 2023-03-28 04:29:07 +00:00
luoxu
0f87363e3e ble_mesh: stack: for the case MESH/PVNR/PBADV/BV-01, add the close link reason before reset link 2023-03-28 04:29:07 +00:00
Mahavir Jain
72a20d8c7f
examples: enable security example for ESP32-C2
Tested that example could work with flash encryption enabled case

Closes IDF-6959
2023-03-28 09:52:08 +05:30