Commit Graph

37055 Commits

Author SHA1 Message Date
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
Aditya Patwardhan
a76f106921 Merge branch 'fix/esp_tls_use_64_bit_variable_for_time' into 'master'
fix(esp-tls): Use 64 bit variable for time instead of 32 bit

Closes IDFGH-12594

See merge request espressif/esp-idf!30403
2024-05-03 11:30:25 +08:00
Alexey Lapshin
afffbd9dd0 fix(cxx): use __cxa_throw() stub in case exceptions disabled
Reduces binary size since the linker will drop some code due to --gc-sections.
2024-05-02 22:12:01 +04:00
Alexey Lapshin
9375348740 fix(system): discard eh_frame sections if disabled in sdkconfig 2024-05-02 22:11:56 +04:00
Jakob Hasse
7100c6cf7e docs(esp_ringbuf): Corrected example code block
* Closes https://github.com/espressif/esp-idf/issues/13730
2024-05-02 17:56:02 +02:00
jkingsman
3035ce294d feat(esp_netif): add support for DHCP Option 114 captive portal URI
DHCP Option 114 provides a modern method of indicating a captive
portal redirect to DHCP client. This introduces Option 114 to
the DHCPS component as well as provides examples for usage.
2024-05-02 22:50:09 +08:00
Ivan Grokhotkov
30abe85a25
ci(sdspi): clean up newlib memory, reset between tests
Two changes to make the tests less susceptible to random failures:
- Free up newlib memory to not have false-positive memory leaks due to
  lazy allocations in reent structure
- Reset between tests, so that one failing test doesn't cause
  subsequent tests to fail

Both changes are already applied to esp_driver_sdmmc test app.
2024-05-02 16:44:16 +02:00
Ivan Grokhotkov
f355ecac40
ci(sdspi): re-enable probe/rw tests for slot 1
These tests were disabled since SDMMC_FREQ_HIGHSPEED with sdspi didn't
work on ESP32 and ESP32-S3. However we don't have other tests for
slot 1, meaning that we weren't running probe and perf tests at all.

This commit re-enables the tests, keeping them with SDMMC_FREQ_DEFAULT
2024-05-02 16:44:16 +02:00
Ivan Grokhotkov
e672d49db7
fix(sdspi): fix memory leak in do_one_sdspi_probe test 2024-05-02 16:44:16 +02:00
Jakob Hasse
ceac33077b Merge branch 'bugfix/get_random_inside_assert' into 'master'
fix(linux): calling getrandom() outside assert()

See merge request espressif/esp-idf!30517
2024-05-02 22:29:10 +08:00
Ivan Grokhotkov
087d055090
fix(pytest): respect --build-dir argument from pytest-embedded 2024-05-02 15:18:34 +02:00
Aditya Patwardhan
132892c101
fix(esp-tls): Use 64 bit variable for time instead of 32 bit
Use appropriate API available on respective platform for obtaining
    time
    Closes https://github.com/espressif/esp-idf/issues/13593
2024-05-02 18:34:29 +05:30
Alexey Gerenkov
57b42fc6a2 docs(app_trace): Update docs for ESP32-P4 2024-05-02 15:24:55 +03:00
David Cermak
97dfde1442 fix(docs): tcpip_adapter: Document replacement of tcpip_adapter_get_sta_list 2024-05-02 14:07:24 +02:00
Mahavir Jain
ef716a2390 Merge branch 'bugfix/nvs_enc_test' into 'master'
fix(tests): correct the flash write length for NVS encrypted test

See merge request espressif/esp-idf!30599
2024-05-02 19:17:58 +08:00
Roland Dobai
8aa5188852 Merge branch 'fix/ci_win_build_system_read_only_test' into 'master'
fix(tools): fix failing create readonly project build system test

Closes IDFCI-2138

See merge request espressif/esp-idf!30596
2024-05-02 17:45:05 +08:00
Mahavir Jain
1ca0793e4d Merge branch 'fix/pytest_server_start_command_failed' into 'master'
fix: Refactored script for initiating Python-based HTTPS server

Closes IDFGH-12573

See merge request espressif/esp-idf!30239
2024-05-02 16:07:49 +08:00
Mahavir Jain
0d36eb3342
fix(tests): correct the flash write length for NVS encrypted test
Write only till the embedded file size in the NVS partition. Earlier
the length was kept as the whole partition size and it could result
in accessing embedded rodata beyond the MMU mapped range.
2024-05-02 13:24:45 +05:30
Mahavir Jain
c032a8b04a
fix(tests): remove unused partition NVS bin file 2024-05-02 13:23:35 +05:30
Konstantin Kondrashov
fdd54ab1bb Merge branch 'feature/print_panic_while_cache_fail' into 'master'
feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU

Closes IDF-9813

See merge request espressif/esp-idf!30505
2024-05-01 13:30:32 +08:00
Alexey Lapshin
0ddfb9caf1 Merge branch 'docs/update-reducing-stack-size-article' into 'master'
feature(docs): update reducing stack size article

See merge request espressif/esp-idf!25234
2024-05-01 00:10:05 +08:00
shenmengjing
a55e6c0eb6 docs: Update the CN Translation for ram-usage.rst 2024-04-30 23:32:22 +08:00
Alexey Lapshin
e1946b6446 feat(docs): update reducing stack size article 2024-04-30 23:32:22 +08:00
Marek Fiala
e351a4407a fix(tools): fix failing create readonly project build system test
Changed the way of removing copied esp-idf folder.
2024-04-30 16:42:05 +02:00
Konstantin Kondrashov
a8ba5e86d7 Merge branch 'feature/log_buffer' into 'master'
feat(log): Refactoring buffer log APIs

Closes IDF-8092

See merge request espressif/esp-idf!29559
2024-04-30 20:25:06 +08:00
Konstantin Kondrashov
8b418d4b09 feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU 2024-04-30 15:20:58 +03:00
Wan Lei
cceec04195 Merge branch 'refactor/spi_slave_hal_iram_dma_replace' into 'master'
refactor(spi_slave): spi slave and slave HD hal iram dma_ll replace

Closes IDF-6152 and IDF-9656

See merge request espressif/esp-idf!27877
2024-04-30 20:16:18 +08:00
Peter Marcisovsky
ff61a12426 Merge branch 'refactor/console_astyle_formating' into 'master'
refactor(console): Enable astyle formatting

See merge request espressif/esp-idf!30567
2024-04-30 18:11:59 +08:00
Wang Meng Yang
16b9b284e8 Merge branch 'bugfix/fix_hid_connection_failed_bug' into 'master'
fix(bt/bluedroid): Fix HID Device connection failed bug

Closes IDFGH-12680 and BTQABR2023-273

See merge request espressif/esp-idf!30423
2024-04-30 17:40:20 +08:00
Jin Cheng
b79fcbb9d7 fix(bt/controller): Parse out the correct packet types from Host parameters
- For HCI command HCI_Enhanced_Setup_Synchronous_Connection
2024-04-30 17:38:58 +08:00
morris
fd80526ac1 Merge branch 'bugfix/mipi_dsi_1_data_lane' into 'master'
fix(mipi_dsi): only wait ready for enabled data lane

Closes AUD-5385

See merge request espressif/esp-idf!30562
2024-04-30 16:45:19 +08:00