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
chenjianxing
62d4adb482
esp_wifi: fix espnow example add peer fail when config channel
...
Closes https://github.com/espressif/esp-idf/issues/9592
2023-04-13 10:55:53 +08: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
wangjialiang
b9f7049bc5
ble_mesh: stack: Update the heartbeat filter entry add/remove handling
2023-04-12 16:11:24 +08:00
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
Marius Vikhammer
0ec457bcbb
docs: remove link to NS4150 datasheet
2023-04-07 12:00:14 +08:00
Xiao Xufeng
80e4b67fd1
himem: Fixed incorrect out_ptr when calling esp_himem_map range_offset non-zero
...
Closes: https://github.com/espressif/esp-idf/issues/5639
2023-04-06 01:46:20 +08:00
Kapil Gupta
c4941e2e75
wpa_supplicant: Get WPS credential in passphrase format
...
Closes https://github.com/espressif/esp-idf/issues/10339
2023-04-05 16:05:44 +05:30
isha.pardikar@espressif.com
dbeeaf6a21
NimBLE : Fixed config options in esp_nimble_cfg.h
2023-04-04 17:39:18 +05:30
Yuan Mingfu
3cc5ad7ac4
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM
2023-04-04 18:04:12 +08:00
chenjianxing
3f4e4cf964
esp_wifi: fix potential issue when tx fragment pkt.
2023-04-03 17:50:02 +08:00
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
muhaidong
3537da8d85
smartconfig: fix the issue of sending failure and exit
2023-03-31 17:23:31 +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
Kapil Gupta
f44ce0960a
wpa_supplicant: Update WPS API documentation
2023-03-30 20:04:53 +05:30
chenjianxing
97225286ca
esp_wifi: improve tx robust for c2/c3/s3
2023-03-30 21:46:07 +08:00
isha.pardikar@espressif.com
be4fca4fb4
NimbLE: Added multi advertising example.
2023-03-30 17:56:52 +05:30
morris
e06bea0445
rmt: use gpio_num_t to define gpio number
2023-03-30 15:52:08 +08:00
Jin Cheng
02bfc34aa0
Optimized the document for GAP API:
...
`esp_bt_gap_set_cod`
2023-03-30 14:16:02 +08:00
isha.pardikar@espressif.com
a5b20d3d52
NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN
2023-03-30 11:26:52 +05:30
isha.pardikar@espressif.com
9dc5b6b02d
NimBLE: Added configurable option for resolving peer address in bleprph example
...
Closes IDFGH-9552
2023-03-30 11:00:35 +05:30
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
David Cermak
a3ca732e5d
esp-netif: Fix non-lwip build using esp_netif loopback
...
This partially backports 8142a6f9fc633c5f3ef461af41528eb5a6794755.
allowing esp_netif build with loopback only
Closes https://github.com/espressif/esp-idf/issues/10587
2023-03-29 11:35:22 +00: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
David Cermak
98777343bd
lwip:esp_netif: Send Periodic Gratuitous ARP only on valid IPv4
...
It was possible that the device would send a Gratuitous ARP before
acquiring a valid address, advertising it has 0.0.0.0 address.
2023-03-29 07:25:31 +02:00
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