Mahavir Jain
3305cb4d23
fix(ota): additional checks for secure version in anti-rollback case
...
Some additional checks related to secure version of the application in
anti-rollback case have been added to avoid any attempts to boot lower
security version but valid application (e.g., passive partition image).
- Read secure_version under sha256 protection
- First check has been added in the bootloader to ensure correct secure
version after application verification and loading stage. This check
happens before setting up the flash cache mapping and handling over
the final control to application. This check ensures that application
was not swapped (e.g., to lower security version but valid image) just
before the load stage in bootloader.
- Second check has been added in the application startup code to ensure
that currently booting app has higher security version than the one
programmed in the eFuse for anti-rollback scenario. This will ensure
that only the legit application boots-up on the device for
anti-rollback case.
2024-02-07 22:23:10 +08:00
Adam Múdry
e2da3a4259
fix(examples): Disable formatting SD cards in storage examples by default
2024-02-07 13:40:40 +01:00
Song Ruo Jing
2a585f58a0
Merge branch 'refactor/add_lp_uart_test' into 'master'
...
Refactor/add lp uart test
See merge request espressif/esp-idf!28681
2024-02-07 20:02:46 +08:00
Erhan Kurubas
0d22b99946
feat(coredump): move esp_core_dump_init into component
2024-02-07 19:39:36 +08:00
Roland Dobai
1a80217af5
Merge branch 'bugfix/kconcheck_file_checks' into 'master'
...
bugfix: Fixed KConfig files that were not succesfully checked
Closes IDF-9028 and IDF-9027
See merge request espressif/esp-idf!28385
2024-02-07 19:12:25 +08:00
Roland Dobai
63f359e684
Merge branch 'feat/bump_up_pre_commit_hook' into 'master'
...
fix: Bump up pre-commit hooks version
See merge request espressif/esp-idf!28943
2024-02-07 18:40:56 +08:00
Bogdan Kolendovskyy
222f67f043
fix(esp_eth): ip101-specific reset_hw to match reset timings from datasheet
...
IP101 requires 10ms reset assertion time and 10ms post-reset delay to properly initialize.
2024-02-07 11:24:17 +01:00
Ondrej Kosta
fd0a1dc53c
feat(esp_eth): added SPI Ethernet module polling mode
...
Closes https://github.com/espressif/esp-idf/issues/12682
2024-02-07 11:21:57 +01:00
Jakob Hasse
48d121653b
feat(linux): added fls() on Linux
2024-02-07 17:56:16 +08:00
Jiang Jiang Jian
170b46e331
Merge branch 'bugfix/fix_coex_wifi_restart_issue' into 'master'
...
fix(coex): fix wifi issue after coex restart
Closes FCS-1380, FCW-169, and WIFI-6265
See merge request espressif/esp-idf!28565
2024-02-07 17:48:50 +08:00
luomanruo
b037585852
ble(update):
...
Update h2 lib to eb112893
Update c6 lib to eb112893
2024-02-07 17:29:25 +08:00
David Cermak
feef14b43b
fix(esp_netif): Prevent running esp_netif_sntp_init() multiple times
...
Closes https://github.com/espressif/esp-idf/issues/12854
2024-02-07 09:09:59 +01:00
Tomas Rezucha
6f30198ca3
feat(esp_hid): Add Connection Request event
...
This event is useful for situations where the HID device
requests connection. Typically in USB transport.
2024-02-07 15:34:55 +08:00
Tomas Rezucha
f7bff8b1fc
refactor(esp_hid): Create new esp_hid_addr_t type
2024-02-07 15:34:55 +08:00
Tomas Rezucha
56a159a7d5
refactor(esp_hid): Move header files to esp_private directory
...
esp_hidd_private.h and esp_hidh_private.h are required by components
that extend esp_hid with a new transport layer, such as USB
2024-02-07 15:34:55 +08:00
Wang Meng Yang
4fb231088d
Merge branch 'bugfix/fix_dangling_pointer_in_remove_bond_list_section' into 'master'
...
fix(bt/bluedroid): fix dangling pointer issue when logging removed section
See merge request espressif/esp-idf!28734
2024-02-07 14:51:17 +08:00
Song Ruo Jing
95133c179f
feat(clk): preliminary clock tree support for ESP32C5
2024-02-07 14:38:15 +08:00
Song Ruo Jing
5276cd4f1d
refactor(uart): add support to be able to test LP_UART port
...
Increase LP_UART_EMPTY_THRESH_DEFAULT value to 4. The original value
could cause the FIFO become empty before filling next data into the FIFO
when the buadrate is high. TX_DONE interrupt would raise before actual
transmission complete in such case.
2024-02-07 14:37:48 +08:00
Song Ruo Jing
dce27c3b09
change(clk_tree): add LP_DYN_FAST_CLK to soc_module_clk_t
2024-02-07 14:37:48 +08:00
liuning
42a0128d9c
fix(wifi): fix wifi stop cost too much time
2024-02-07 13:49:18 +08:00
liuning
3fa9c578f9
fix(clk): clear all lpclk source at clk init
2024-02-07 13:49:18 +08:00
Marius Vikhammer
a2e5770bce
Merge branch 'bugfix/c5_bringup_rtc_error' into 'master'
...
fix(system): fixed rtc_sleep not being placed in IRAM
Closes IDFCI-2022
See merge request espressif/esp-idf!28912
2024-02-07 13:16:03 +08:00
Mahavir Jain
e0dd917d31
Merge branch 'bugfix/update_incorrect_refereing_of_function_esp_https_ota_get_img_desc' into 'master'
...
fix(esp_https_ota): fix incorrect references of API esp_https_ota_get_img_desc()
See merge request espressif/esp-idf!28891
2024-02-07 12:05:58 +08:00
morris
d426036168
Merge branch 'feat/blink_example_refactor' into 'master'
...
feat(blink): add sdkconfig defaults for each target
Closes IDF-8988, IDF-8074, and IDF-9006
See merge request espressif/esp-idf!28887
2024-02-07 11:04:45 +08:00
morris
e4b655a252
feat(blink): add sdkconfig defaults for each target
...
based on devkit board design
2024-02-07 10:32:22 +08:00
Marius Vikhammer
bca642f330
Merge branch 'refactor/astyle_timer' into 'master'
...
refactor(system): reformated esp_timer, linux and log comp with astyle
See merge request espressif/esp-idf!28876
2024-02-07 10:13:03 +08:00
Marius Vikhammer
2d8d87b396
fix(system): fixed rtc_sleep not being placed in IRAM
2024-02-07 09:47:23 +08:00
Jan Beran
dc68d08237
fix: Bump up pre-commit hooks version
2024-02-06 13:59:52 +01:00
Fu Hanxi
57955cc150
Merge branch 'ci/ignore_c6_wifi_two_dut_runners' into 'master'
...
ci: ignore esp32c6_2,wifi_two_dut test cases
See merge request espressif/esp-idf!28944
2024-02-06 20:45:32 +08:00
Fu Hanxi
80a32713bb
ci: ignore esp32c6_2,wifi_two_dut test cases
2024-02-06 13:38:25 +01:00
Martin Vychodil
590ebd3a79
Merge branch 'fix/diskio_format_error_codes_as_hex' into 'master'
...
fix: diskio format all error message codes to hex
Closes IDFGH-11071
See merge request espressif/esp-idf!28773
2024-02-06 20:23:42 +08:00
Armando (Dou Yiwen)
042cf231a7
Merge branch 'change/esp_driver_cam' into 'master'
...
change(cam): renamed to esp_driver_cam
See merge request espressif/esp-idf!28889
2024-02-06 19:19:51 +08:00
Tomas Rezucha
81031490dc
Merge branch 'fix/usb_example_newlib_nano' into 'master'
...
fix(usb/example): Fixed MSC compilation with Newlib Nano format
Closes IEC-60
See merge request espressif/esp-idf!28702
2024-02-06 17:42:11 +08:00
Sudeep Mohanty
7acc152f1c
Merge branch 'bugfix/rtc_i2c_not_in_od_mode' into 'master'
...
fix(ulp_riscv): Updated RTC I2C to use open-drain IOs
See merge request espressif/esp-idf!28799
2024-02-06 15:40:24 +08:00
nilesh.kale
318038a746
fix: fixed issue faced while starting python server and updated ota readme
...
openssl server does not support for range request mechanism.
Consequently, it does not support partial download feature.
So, removing commands and steps required for staring openssl server.
Also, updated pytest file to avoid unnecssary issues while starting server.
2024-02-06 12:12:24 +05:30
Rahul Tank
1741705517
Merge branch 'bugfix/fix_out_of_order_messages_causing_dos' into 'master'
...
fix(nimble): Out of order messages during SMP causing DOS vulerability
Closes BLERP-498
See merge request espressif/esp-idf!28544
2024-02-06 12:40:12 +08:00
Shang Zhou
f505749144
Merge branch 'docs/update_cn_trans_for_ulp-risc-v' into 'master'
...
docs: Update CN translation for ulp-risc-v.rst
Closes DOC-7014
See merge request espressif/esp-idf!28738
2024-02-06 12:19:22 +08:00
Jiang Jiang Jian
fe2a5adc93
Merge branch 'contrib/github_pr_12867' into 'master'
...
fix(esp32): Removed rogue semicolon in #define in esp_smartconfig.h (GitHub PR)
Closes IDFGH-11769
See merge request espressif/esp-idf!28903
2024-02-06 11:57:14 +08:00
Jiang Jiang Jian
88317ed300
Merge branch 'bugfix/wait_for_child_disconnect_when_mesh_deinit' into 'master'
...
fix(wifi/mesh): wait for child disconnect when mesh deinit
Closes WIFIBUG-194
See merge request espressif/esp-idf!28736
2024-02-06 11:28:24 +08:00
Marius Vikhammer
db65efe0bd
Merge branch 'feature/lp_core_lp_timer_p4' into 'master'
...
feat(lp_core): add support for lp timer and lp gpio on P4
Closes IDF-7536, IDF-7532, and IDF-8986
See merge request espressif/esp-idf!28871
2024-02-06 11:14:24 +08:00
Shang Zhou
dd0cf9e935
docs: Update CN translation for ulp-risc-v.rst
2024-02-06 10:56:46 +08:00
Dai Zi Yan
28eb8239ff
Merge branch 'docs/sync_up_cn_trans' into 'master'
...
docs: update CN translation
Closes DOC-6747, DOC-6656, and DOC-7267
See merge request espressif/esp-idf!28244
2024-02-06 10:45:14 +08:00
morris
4472422358
Merge branch 'contrib/github_pr_13103' into 'master'
...
Remove validation of pins for LCD output. (GitHub PR)
Closes IDFGH-12038
See merge request espressif/esp-idf!28888
2024-02-06 10:16:41 +08:00
daiziyan
840a281818
docs: update CN translation
2024-02-06 09:55:01 +08:00
zhangyanjiao
7e6295fd75
fix(wifi/mesh): wait for child disconnect when mesh deinit
2024-02-06 09:49:09 +08:00
Marius Vikhammer
dff1e5df88
feat(lp_core): add support for lp timer and lp gpio on P4
2024-02-06 09:41:20 +08:00
Jiang Jiang Jian
b4fe434d2e
Merge branch 'bugfix/fix_esp_wifi_scan_start_memory_leakage_issue' into 'master'
...
fix(wifi): fix esp_wifi_scan_start memory leakage issue
Closes IDFGH-9313
See merge request espressif/esp-idf!28869
2024-02-05 19:23:33 +08:00
Linda
2c8975b2a7
docs: Add an example for the function gpio_dump_io_configuration()
2024-02-05 18:42:52 +08:00
Kevin (Lao Kaiyao)
1458e13b50
Merge branch 'ci/enable_hello_world_build_on_esp32c5' into 'master'
...
ci(esp32c5): enable template app & hello world build on ci
See merge request espressif/esp-idf!28776
2024-02-05 18:25:37 +08:00
Simon H
4b08c8b000
fix(esp_wifi): Remove semicolon from SMARTCONFIG_START_CONFIG_DEFAULT
...
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This
fixes build issues when this macro is used via C++ brace initialization.
Closes https://github.com/espressif/esp-idf/pull/12867
[Darian Leung: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2024-02-05 17:21:55 +08:00