Commit Graph

28436 Commits

Author SHA1 Message Date
Mahavir Jain
68c450df47 Merge branch 'feature/conservative_key_revocation_in_secure_boot_v5.0' into 'release/v5.0'
feat: Add API to verify the bootloader and application image before revoking... (v5.0)

See merge request espressif/esp-idf!28490
2024-02-22 17:15:24 +08:00
Mahavir Jain
5af8e8890d Merge branch 'bugfix/fix_http_auth_without_qop_v5.0' into 'release/v5.0'
fix(esp_http_client): Fix http digest auth without qop (v5.0)

See merge request espressif/esp-idf!28759
2024-02-22 17:15:15 +08:00
Mahavir Jain
534e3ad1fa Merge branch 'bugfix/ota_anti_rollback_checks_2_v5.0' into 'release/v5.0'
feat(bootloader_support): Read secure_version under sha256 protection (v5.0)

See merge request espressif/esp-idf!29061
2024-02-22 17:13:17 +08:00
Mahavir Jain
96e3e4c589 Merge branch 'feature/update_mbedtls_v5.0' into 'release/v5.0'
feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2 (v5.0)

See merge request espressif/esp-idf!28894
2024-02-22 17:12:39 +08:00
Aditya Patwardhan
14ddc194bd Merge branch 'feat/flash_enc_encrypt_app_image_of_size_image_length_v5.0' into 'release/v5.0'
feat(bootloader_support): Encrypt only the app image instead of the whole partition (v5.0)

See merge request espressif/esp-idf!28267
2024-02-22 17:06:42 +08:00
linruihao
bc5addf826 fix(esp_coex): fix circular dependency issue on esp32
Closes https://github.com/espressif/esp-idf/issues/13113
2024-02-22 16:52:37 +08:00
Jin Cheng
7e4995d92c docs(bt/bluedroid): update API documents of SPP 2024-02-22 09:57:47 +08:00
Aditya Patwardhan
7ef4d6b769 Merge branch 'update/version_5_0_6' into 'release/v5.0'
Update version to 5.0.6

See merge request espressif/esp-idf!29118
2024-02-21 16:41:56 +08:00
Mahavir Jain
1620858985 fix(bootloader_support): check the secure version only for app image
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.

Regression introduced in recent commit-id: 3305cb4d

Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-20 11:18:28 +02:00
Aditya Patwardhan
bcca689866
change(version): Update version to 5.0.6 2024-02-20 10:03:13 +05:30
Ondrej Kosta
62a2b27082 fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling 2024-02-16 14:43:53 +01:00
Mahavir Jain
f2743707b8 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-15 15:14:51 +02:00
Bogdan Kolendovskyy
e703fad818 esp_eth: Add functions to access PHY using MDIO
Specifically:
  - Set/get address
  - Read/write data at address with specified MDIO access function
  - Read/write both address and data with a single call
2024-02-13 12:46:36 +01:00
Rahul Tank
146cf22f76 fix(nimble): Removed double free of packet 2024-02-13 14:42:42 +05:30
Bogdan Kolendovskyy
749191016b 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-09 15:01:03 +01:00
Roshan Bangar
93176970d9 Blufi : fix blufi deinit 2024-02-08 17:14:12 +05:30
Rahul Tank
b2778ec38d feat(nimble): Add APIs to support BLE DTM functions 2024-02-07 15:20:51 +05:30
gongyantao
817ae554ca fix(bt/bluedroid): fix dangling pointer issue when logging remove section 2024-02-07 14:58:17 +08:00
MinZai97
6641a692b7 feat: replace lightdriver, and support more chips in ble mesh examples 2024-02-07 13:28:52 +08:00
YuanMingFu
ed2ea01b76 ble_mesh: update ble mesh ble adv type 2024-02-07 13:09:32 +08:00
InfiniteYuan
dae30350dd feat: ble mesh: improve ble mesh deinit when nimble enable 2024-02-06 14:44:58 +08:00
morris
8ac48a138e fix(rgb_lcd): relax the check for the data line GPIO
There are a bunch of cases you might want some pins not exposed.

Eg.

  * Reading say 8 bit data and outputting the top 5 bits, discarding the rest by not mapping those data pins to output pins

 * Not using hsync/vsync because sync data is embedded within the data bits for more timing flexibility (eg. interlacing).

 * Using the LCD module as a high speed parallel data output bus, with no need for sync/control pins.

Removing this validation makes these cases work.

Merges https://github.com/espressif/esp-idf/pull/13103
2024-02-06 10:37:20 +08:00
zhiweijian
4a413b9d27 feat(ble/controller): Add API to get BLE controller status on ESP32 2024-02-05 16:11:26 +08:00
zhiweijian
fb94d9175f Fixed xQueueSemaphoreTask assert when deinit host during scan 2024-02-05 16:11:08 +08:00
nilesh.kale
4f63e93118 feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2
This updates the submodule mbedtls to its latest version 3.5.2.
2024-02-05 12:50:59 +05:30
chenjianhua
479ec4af2a feat(bt/bluedroid): Support get status of bluedroid host 2024-02-04 16:52:12 +08:00
chenjianhua
51db5c76b7 fix(bt/example): Fixed UART HCI when flow control is off on ESP32C3 2024-02-04 16:52:04 +08:00
chenjianhua
1e5296008a feat(bt/bluedroid): Make the max number of bond device to be configurable 2024-02-04 16:51:55 +08:00
zhanghaipeng
50ef8650ac fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 14:28:28 +08:00
chenjianhua
1363cbe1ca fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(91980c2)
- Fixed scheduling when modem sleep wakeup delayed
- Fixed IRQ FIFO overflow when enter critical
- Fixed clock sync timeout for modem sleep
- Fixed directed adv with RPA when privacy disabled
- Fixed instant passed for connection update and PHY update
2024-02-04 14:28:12 +08:00
Marius Vikhammer
474ebfc3ee docs(build): add cannonical stable url to all docs 2024-02-02 10:36:44 +08:00
morris
1ce7be11fa fix(mcpwm): reset GPIO used by generator after delete
Closes https://github.com/espressif/esp-idf/issues/12980
2024-02-01 17:49:53 +08:00
Fu Hanxi
e94615eade
ci: limit idf-build-apps version to 1.x in pre-commit config file 2024-02-01 09:58:23 +01:00
Jiang Jiang Jian
899bc1d6b2 Merge branch 'bugfix/no_wakeup_sleep_v5.0' into 'release/v5.0'
fix(ble): Fixed Bluetooth not waking up due to clock drift(v5.0)

See merge request espressif/esp-idf!28723
2024-02-01 00:02:09 +08:00
Alexey Gerenkov
164be1cd52 tests: Replace 'debug_backend' with 'esp-debug-backend' from PyPi 2024-01-31 18:49:21 +03:00
Brian Whitman
d44dc57f8a fix(rgb_lcd): don't assume 16 bit width on panels for restart logic
Merges https://github.com/espressif/esp-idf/pull/13020
2024-01-31 18:56:49 +08:00
Island
58b52c1230 Merge branch 'ble_dev/added_ble_power_save_pytest_v5.0' into 'release/v5.0'
Added pytest case for BLE power save example v5.0

See merge request espressif/esp-idf!28594
2024-01-31 18:33:14 +08:00
Island
1d83a2125a Merge branch 'feat/ble_mesh_miscellaneous_update_v5.0' into 'release/v5.0'
feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related(v5.0)

See merge request espressif/esp-idf!28034
2024-01-31 18:29:34 +08:00
Island
68a90a1f05 Merge branch 'bugfix/fix_sm_inject_io_return_val_v5.0' into 'release/v5.0'
fix(nimble): Added change to ensure that API execution returns success (v5.0)

See merge request espressif/esp-idf!28651
2024-01-31 17:34:02 +08:00
Jan Beran
632620fa60 feat: Use python-reorder-imports instead of isort 2024-01-31 09:31:47 +01:00
Jiang Jiang Jian
decb0c21c5 Merge branch 'bugfix/fix_systick_lost_in_esp32_dfs_v5.0' into 'release/v5.0'
fix(esp_pm): safely check ccompare validity in DFS update_ccompare (v5.0)

See merge request espressif/esp-idf!28563
2024-01-31 10:42:18 +08:00
Darshan Dobariya
c5c3b5bfe8 fix(nimble): Added change to ensure that API execution returns success (v5.0) 2024-01-30 14:48:53 +05:30
Island
cb4aa11362 Merge branch 'bugfix/add_minor_fixes_debug_v5.0' into 'release/v5.0'
fix(nimble): Add minor debug fixes (v5.0)

See merge request espressif/esp-idf!28534
2024-01-30 17:00:50 +08:00
wuzhenghui
6a63a5b69c fix(esp_pm): safely check ccompare validity in DFS update_ccompare 2024-01-30 16:03:40 +08:00
xiongweichao
332b293215 fix(ble): Fixed macro definition error for 136K clock drift 2024-01-30 15:36:22 +08:00
xiongweichao
08061d3414 fix(ble): Fixed Bluetooth not waking up due to clock drift 2024-01-30 15:36:22 +08:00
Jiang Jiang Jian
090dd4047c Merge branch 'bugfix/fix_ble_tx_2m_problem_causing_by_phy_wifi_enable_set_v5.0' into 'release/v5.0'
fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set() (backport v5.0)

See merge request espressif/esp-idf!28768
2024-01-30 14:44:06 +08:00
igor.udot
8003214fd5 ci: change known_failure_cases workflow 2024-01-30 14:27:42 +08:00
Rahul Tank
18caeb919a fix(nimble): Add minor debug fixes 2024-01-30 08:11:37 +05:30
mofeifei
8cf35aa27b docs: update cn trans usb_host.rst 2024-01-29 10:26:14 +01:00