Frantisek Hrbata
9fe4ceafc7
fix: make idf_size.py compatible with python3.8
...
Previous 6caa4a17ac
("fix: display correct help in the idf_size.py wrapper")
introduced a regression, because it uses exit_on_error parameter for
argparse.ArgumentParser, which was added in python3.9, making
idf_size.py incompatible with idf.py minimal required python3.8.
The objective is to inspect the arguments of idf_size.py using a wrapper
argparse to determine whether the legacy or refactored version should be
initiated, while always displaying help for the underlying version. The
exit_on_error function was previously utilized to prevent argparse from
exiting and displaying help/usage. This replaces exit_on_error with a
workaround that makes the --format argument optional. Since this is the
sole instance where the wrapper argparse might fail, it achieves the
same outcome as using exit_on_error.
Fixes: 6caa4a17ac
("fix: display correct help in the idf_size.py wrapper")
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-08 11:21:10 +02:00
Roman Leonov
7b7b8680ca
Merge branch 'refactor/usb_host_usbh_api_prereq_for_enum_driver' into 'master'
...
refactor(usbh): Updated USBH api for ENUM driver
Closes IDF-9723
See merge request espressif/esp-idf!29913
2024-05-08 15:02:08 +08:00
Kirill Chalov
40ec44473c
Merge branch 'docs/update_alerts_in_readmes_to_gfm_format' into 'master'
...
docs: Update alerts in READMEs to GFM format
See merge request espressif/esp-idf!30628
2024-05-08 10:38:42 +08:00
Island
705c21d38e
Merge branch 'feat/display_ble_controller_init_status' into 'master'
...
feat(ble/controller): Display BLE controller init status for ESP32 and ESP32-C3/S3
Closes BLERP-728
See merge request espressif/esp-idf!30651
2024-05-08 10:28:31 +08:00
Ivan Grokhotkov
1680c2fe33
Merge branch 'bugfix/pytest_build_dir_arg' into 'master'
...
fix(pytest): respect --build-dir argument from pytest-embedded
See merge request espressif/esp-idf!30609
2024-05-07 21:12:57 +08:00
Roman Leonov
596672fdcd
refactor(usbh): Updated USBH api (enum driver)
2024-05-07 15:07:51 +02:00
Martin Vychodil
4ecba50c8a
Merge branch 'fix/coverity_vfs_fat_mem_overlapping' into 'master'
...
fix(vfs): fix coverity issue copy of overlapping memory in vfs_fat.c
Closes IDF-9833
See merge request espressif/esp-idf!30629
2024-05-07 20:48:35 +08:00
Shen Meng Jing
ebeff9aef1
Merge branch 'docs/translate_esp_eth' into 'master'
...
docs: Provide CN translation for esp_eth
Closes IDF-9057
See merge request espressif/esp-idf!30080
2024-05-07 19:34:39 +08:00
Zhang Xiao Yan
32e0f60de0
Merge branch 'docs/fix_clock_sources_esp32c6' into 'master'
...
docs: fix clock sources for esp32c6
See merge request espressif/esp-idf!29256
2024-05-07 18:55:00 +08:00
shenmengjing
8815d1a8be
docs: Provide CN translation for esp_eth
2024-05-07 18:05:10 +08:00
Fu Hanxi
6354a793e0
Merge branch 'fix/pytest_session_dir' into 'master'
...
ci: apply new fix in pytest-embedded 1.10
See merge request espressif/esp-idf!30660
2024-05-07 18:01:20 +08:00
Linda
52cfd1bf24
docs: fix clock sources for esp32c6
2024-05-07 17:35:39 +08:00
Fu Hanxi
948fdfcc2c
ci: apply new fix in pytest-embedded 1.10
2024-05-07 17:28:28 +08:00
Fu Hanxi
6a4db9c07b
ci: update mypy check for python 3.12, check under python 3.8 rules
2024-05-07 17:28:28 +08:00
Roland Dobai
01c13a72a6
Merge branch 'set_gdb_remotetimeout' into 'master'
...
tools(gdbinit): set remote timeout for the gdb connection
See merge request espressif/esp-idf!30644
2024-05-07 17:22:17 +08:00
Wu Zheng Hui
badb22bc2e
Merge branch 'fix/fix_esp_pm_case_high_fail_ratio' into 'master'
...
fix(esp_pm): fix esp_pm test cases high fail ratio
Closes IDFCI-2143
See merge request espressif/esp-idf!30653
2024-05-07 16:54:14 +08:00
zhanghaipeng
fc9290d8a2
fix(ble/bluedroid): Fixed BLE spelling error in word
2024-05-07 16:24:27 +08:00
wuzhenghui
1c9986501b
fix(esp_pm): fix esp_pm test cases high fail ratio
2024-05-07 16:20:19 +08:00
Jiang Jiang Jian
a5165ea1fc
Merge branch 'bugfix/wpa_wpa2_wpa3_mixed_mode' into 'master'
...
fix(wifi): Fix issue in scan when AP advertises WPA and WPA2 with SAE AKM
Closes WIFIBUG-496
See merge request espressif/esp-idf!30627
2024-05-07 16:17:15 +08:00
Roland Dobai
cbdb4de892
Merge branch 'fix/idf_size_help' into 'master'
...
fix: display correct help in the idf_size.py wrapper
Closes IDF-9881
See merge request espressif/esp-idf!30639
2024-05-07 16:00:32 +08:00
zhanghaipeng
b270f0abc3
feat(ble/bluedroid): Add BLE memory allocation failure message
2024-05-07 15:32:11 +08:00
Island
5a09fce7e4
Merge branch 'bugfix/fix_ble_scan_back_off' into 'master'
...
fix(ble/controller): Update esp32 bt-lib (b79d7e2)
Closes IDFCI-2016
See merge request espressif/esp-idf!30582
2024-05-07 14:14:42 +08:00
Rahul Tank
5791913b85
Merge branch 'bugfix/disable_mbedtls_options' into 'master'
...
fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used
See merge request espressif/esp-idf!30497
2024-05-07 12:37:42 +08:00
morris
797ce920a7
Merge branch 'test/gdma_fetch_data_in_flash' into 'master'
...
test(gdma): can read data from flash rodata
See merge request espressif/esp-idf!30479
2024-05-07 12:23:45 +08:00
zhanghaipeng
24e7d9b1cb
feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3
2024-05-07 11:00:03 +08:00
Island
498cf723f0
Merge branch 'bugfix/fix_ble_pktlen_change' into 'master'
...
Bugfix/fix ble pktlen change
Closes BLERP-726
See merge request espressif/esp-idf!30630
2024-05-07 09:28:27 +08:00
Alexey Lapshin
c30e49c718
Merge branch 'fix/reduce-binary-size' into 'master'
...
Reduce binary size
Closes IDF-9718
See merge request espressif/esp-idf!30485
2024-05-07 05:21:42 +08:00
Erhan Kurubas
810adf2dcc
change(gdbinit): set remote timeout for the gdb connection
2024-05-06 22:06:18 +02:00
Jakob Hasse
8c51cc6ae2
Merge branch 'bugfix/linux_target_mac' into 'master'
...
fix(linux): fixed build errors on MacOS
Closes IDF-9791
See merge request espressif/esp-idf!30525
2024-05-07 01:13:19 +08:00
Mahavir Jain
f311c23145
Merge branch 'feat/enable_and_fix_app_update_test_app' into 'master'
...
feat: Enable test app for app_update component
Closes IDF-9803 and IDF-9804
See merge request espressif/esp-idf!30496
2024-05-06 20:50:21 +08:00
sonika.rathi
a1e06ebab0
fix(vfs): fix coverity issue copy of overlapping memory in vfs_fat.c
2024-05-06 13:57:08 +02:00
Frantisek Hrbata
6caa4a17ac
fix: display correct help in the idf_size.py wrapper
...
Currently the wrapper tries to figure out which version of
the esp-idf-size should be started. The legacy version is
used if explicitly requested by the -l/--legacy option or
if json format is specified. This works fine, but if help
is requested, it is printed for the wrapper as shown bellow
$ idf_size.py -h
usage: idf_size.py [-h] [--format FORMAT] [-l]
options:
-h, --help show this help message and exit
--format FORMAT
-l, --legacy
This is not convenient and the full help from the underlying
version should be displayed.
Fix this by only peeking into the args to figure out if legacy or
refactored version should be started and always spawn the underlying
esp_idf_size python module. This is done by using exit_on_error=False and
add_help=False for the ArgumentParser. When help for refactored version
is requested a note as following is printed to notify users that the
legacy version can still be used.
$ idf_size.py -h
Note: legacy esp_idf_size version can be invoked by specifying the -l/--legacy
option or by setting the ESP_IDF_SIZE_LEGACY environment variable.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-06 13:00:49 +02:00
Mo Fei Fei
0de1efcef9
Merge branch 'docs/update_cn_trans_esp_https_ota' into 'master'
...
docs: update cn trans for esp_https_ota
Closes DOC-7732
See merge request espressif/esp-idf!30579
2024-05-06 18:44:57 +08:00
morris
2352f17e63
test(gdma): can read data from flash rodata
2024-05-06 18:03:17 +08:00
morris
eb83d9aa0a
feat(gdma): set default valid memory range for gdma
2024-05-06 18:03:17 +08:00
mofeifei
a4d0b370b5
docs: update cn trans for esp_https_ota
2024-05-06 17:48:00 +08:00
Rahul Tank
4b4602d846
fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used
2024-05-06 15:15:36 +05:30
Jakob Hasse
2f0ef33f9d
fix(linux): fixed build errors on MacOS
2024-05-06 11:14:05 +02:00
zhanghaipeng
840da7ab11
fix(ble/controller): Update esp32 bt-lib (b79d7e2)
...
- Fixed BLE scan backoff
2024-05-06 16:17:14 +08:00
Jakob Hasse
7f056333ae
Merge branch 'doc/ringbuffer' into 'master'
...
docs(esp_ringbuf): Corrected example code block
Closes IDFGH-12748
See merge request espressif/esp-idf!30610
2024-05-06 16:07:32 +08:00
zhanghaipeng
bc1851d793
fix(ble/bluedroid): Optimize BLE stack connect callback name
2024-05-06 15:43:09 +08:00
zhanghaipeng
f2cfe4a0f0
fix(ble/bluedroid): Fixed BLE no data length change event
2024-05-06 15:34:21 +08:00
kirill.chalov
6cefbfd395
docs: Update alerts in READMEs to GFM format
...
For details, see https://github.com/orgs/community/discussions/16925
2024-05-06 15:19:15 +08:00
Sarvesh Bodakhe
2700b750b6
fix(wifi): Fix issue in scan when AP advertises WPA and WPA2 with SAE AKM
2024-05-06 11:43:27 +05:30
Nilesh Kale
ade6a5ec07
Merge branch 'bugfix/free_memory_if_failed_to_strart_http_server' into 'master'
...
fix(esp_https_server): fix memory leak during configuring http server
Closes IDFGH-12519
See merge request espressif/esp-idf!30233
2024-05-06 13:41:23 +08:00
Wang Meng Yang
8c76bd49b2
Merge branch 'bugfix/add_param_check_for_enh_sync_conn' into 'master'
...
fix(bt/controller): Parse out the correct packet types from Host parameters
See merge request espressif/esp-idf!29973
2024-05-06 10:07:03 +08:00
nilesh.kale
21d51208c4
fix(esp_https_server): fix memory leak during configuring http server
...
This MR This restructured code to prevent memory leak during the starting HTTP server.
Closes https://github.com/espressif/esp-idf/issues/13526
2024-05-03 18:11:38 +05:30
Aditya Patwardhan
e461585cf9
Merge branch 'feature/update_mbedtls_to_3.6.0' into 'master'
...
feat(mbedtls): updated mbedtls version from 3.5.2 to 3.6.0
See merge request espressif/esp-idf!30016
2024-05-03 20:41:09 +08:00
Roland Dobai
0f87923e8f
Merge branch 'feat/docker_new_ubuntu' into 'master'
...
Tools: Switch to Ubuntu 24.04 LTS in the ESP-IDF docker image
See merge request espressif/esp-idf!30617
2024-05-03 18:05:01 +08:00
Roland Dobai
a23eec2009
feat(docker): Switch to Ubuntu 24.04 LTS in the ESP-IDF docker image
2024-05-03 09:38:45 +02:00