Commit Graph

28577 Commits

Author SHA1 Message Date
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
Roman Leonov
470ecb3033 feat(docs): added USB Host Stack Configuration description 2024-01-29 10:22:26 +01:00
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
Gabor Kiss-Vamosi
d43bf5dc51 fix misformatted link 2024-01-29 13:16:29 +08:00
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
cjin
5e44ecb938 fix(ble): delete unused example ci test script 2024-01-29 10:25:36 +08:00
cjin
227ad67a09 feat(ble): added pytest for ble power save example 2024-01-29 10:25:36 +08:00
xiongweichao
9c50e0c809 fix(ble): Fixed the issue of being unable to enter light sleep
- Fixed the issue where light sleep cannot be entered when external 32k XTAL does not exist
2024-01-29 10:25:36 +08:00
Kapil Gupta
443842fd9d fix(wifi): Add support to move supplicant BSS to external memory 2024-01-27 11:15:10 +05:30