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
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
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
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
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
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
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
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
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
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
Rahul Tank
18caeb919a
fix(nimble): Add minor debug fixes
2024-01-30 08:11:37 +05:30
zhiweijian
e988463ea4
fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set()
...
1. Fixed BLE 2M phy TX problem causing by phy_wifi_enable_set() on ESP32-C3 and ESP32-S3
2. Fixed BLE CCA bug on ESP32-C2
3. Fixed BLE and WIFI could not receive packets after entering light sleep for a long time on ESP32-C3, ESP32-S3 and ESP32-C2
2024-01-29 16:36:35 +08:00
Harshit Malpani
484de5ee1c
fix(esp_http_client): Fix http digest auth without qop
...
Closes https://github.com/espressif/esp-idf/issues/12962
2024-01-29 11:22:40 +05:30
Jiang Jiang Jian
f16621c429
Merge branch 'bugfix/fix_pmk_invalid_wpa_or_wpa2_connect_fail_issue_v5.0' into 'release/v5.0'
...
fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue(Backport v5.0)
See merge request espressif/esp-idf!28674
2024-01-29 10:44:38 +08:00
Kapil Gupta
443842fd9d
fix(wifi): Add support to move supplicant BSS to external memory
2024-01-27 11:15:10 +05:30
Island
1da4afc70a
Merge branch 'bugfix/address_resolution_v5.0' into 'release/v5.0'
...
fix(nimble): Added support for address resolution during inquiry (v5.0)
See merge request espressif/esp-idf!28520
2024-01-25 14:07:04 +08:00
Island
acf8c3e9e3
Merge branch 'bugfix/fix_some_ble_issue_v5.0' into 'release/v5.0'
...
Bugfix/fix some ble issue v5.0(backport v5.0)
See merge request espressif/esp-idf!28615
2024-01-25 12:19:24 +08:00
Island
7324e55dc0
Merge branch 'bugfix/ble_check_adv_data_v5.0' into 'release/v5.0'
...
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow(backport v5.0)
See merge request espressif/esp-idf!28407
2024-01-25 12:19:11 +08:00
Island
bcc7d4e427
Merge branch 'bugfix/fix_ble_memory_leak_v5.0' into 'release/v5.0'
...
fix(ble/bluedroid): Fix ble memory leak when gattc config off(backport v5.0)
See merge request espressif/esp-idf!28497
2024-01-25 12:18:59 +08:00
muhaidong
48b9fde3e3
fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue
2024-01-24 16:38:43 +08:00
Mahavir Jain
4b13be6cf0
Merge branch 'bugfix/update_jtag_disabling_api_v5.0' into 'release/v5.0'
...
fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG (v5.0)
See merge request espressif/esp-idf!28502
2024-01-24 15:07:27 +08:00
Mahavir Jain
44593bf3ef
Merge branch 'feat/update_cjson_v1_7_17_v5.0' into 'release/v5.0'
...
feat(cJSON): update submodule to v1.7.17 (v5.0)
See merge request espressif/esp-idf!28350
2024-01-24 15:06:59 +08:00
Jiang Jiang Jian
9be6e00f1e
Merge branch 'bugfix/fix_scan_request_ifs_error_v5.0' into 'release/v5.0'
...
Fixed BLE scan request ifs time error in coexistence scenarios(backport v5.0)
See merge request espressif/esp-idf!28576
2024-01-24 14:00:49 +08:00
laokaiyao
12714a6fda
fix(i2s): fixed incorrect reg base name on C3
...
Closes https://github.com/espressif/esp-idf/issues/12643
2024-01-23 12:07:50 +08:00
zhanghaipeng
ca056b198f
feat(bt/bluedroid): Support ext adv aux option
2024-01-22 20:54:04 +08:00
zhanghaipeng
e37dcaa92f
fix(bt/bluedroid): Fix BLE malloc internal wrapper fail
2024-01-22 20:53:53 +08:00
Zeke Gustafson
570cc22bdc
feat(ble/bluedroid): Add getter for BLE GAP callback
2024-01-22 20:53:44 +08:00
Zeke Gustafson
46253edd6a
feat(ble/bluedroid): Add getter for BLE GATTS callback
2024-01-22 20:53:36 +08:00
zhanghaipeng
b9caeb4559
feat(ble/bluedroid): Add getter for BLE GATTC calllback
2024-01-22 20:53:28 +08:00
zhanghaipeng
a3759a122e
docs(ble/bluedroid): Optimize documentation for BLE duplicate scan
2024-01-22 20:53:20 +08:00
zhanghaipeng
b447216f8a
fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices
2024-01-22 20:53:08 +08:00