Commit Graph

25827 Commits

Author SHA1 Message Date
Marius Vikhammer
521a726316 intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags
Mark the vector descriptor source as freed.
2022-11-28 10:43:01 +08:00
Aditya Patwardhan
5dbfe4d502 secure_boot_v2: Fix warning message 2022-11-25 18:34:10 +05:30
Jakob Hasse
46c92405f2 bugfix(tools): idf.py monitor now reads correctly on Linux
A missing flush in the serial reader implementation for
Linux target was causing input to idf.py monitor to not
be forwarded to the application. This is fixed now.
2022-11-25 11:32:49 +01:00
Rahul Tank
6091627f2e Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
By default, disabled the BLE Encrpyption requirement for provisioning characteristic.
With this flag enabled, when remote attempts to read and if the ACL link is not encrypted,
ESP device will return Insufficient Authentication. It is remote device responsibility to go
for link encryption which may result in pairing.

Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs
to remove bonding on remote phone manually and then try again. This is causing bad user experience.

End user can enable it as per their use case.
2022-11-25 14:18:05 +05:30
David Čermák
5f25bd8437 Merge branch 'bugfix/tcp_transport_err_propagate_v5.0' into 'release/v5.0'
tcp_transport: Fix error propagation on tcp_read() (v5.0)

See merge request espressif/esp-idf!21203
2022-11-25 15:19:48 +08:00
jgujarathi
2d0ef53e94 Removed some occurences of the RC4 cipher suite(deprecated now) 2022-11-25 10:07:56 +05:30
liqigan
de55b5d33e optimize HID Host disconnection procedure 2022-11-25 08:54:04 +08:00
Mahavir Jain
9e88f790ff Merge branch 'bugfix/parttool_commands_extra_partition_subtypes_v5.0' into 'release/v5.0'
parttool: fix parttool commands attribute parsing (v5.0)

See merge request espressif/esp-idf!21221

Closes https://github.com/espressif/esp-idf/issues/10238
2022-11-24 18:47:09 +08:00
Mahavir Jain
971221f283 Merge branch 'fix/fix_esp_cryptoauthlib_dependency_for_esp_tls_v5.0' into 'release/v5.0'
esp-tls: Fix esp-cryptoauthlib built dependency when secure element (v5.0)

See merge request espressif/esp-idf!21219
2022-11-24 18:45:55 +08:00
Omar Chebib
62ad5c2258 Bootloader: retained memory can now be kept after reboot when custom data enabled
User's custom data are not taken into account during the CRC calculation anymore.
Which means taht the retained mem structure is not systematically erased
on each reboot anymore.
2022-11-24 17:35:55 +08:00
Euripedes Rocha
c0f99f5a28 [MQTT] Simplifies MQTT CMakeLists file
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-11-24 08:48:00 +01:00
harshal.patil
dd57ba77a3 parttool: added tests to check the external interface (parsing) of the parttool commands
The existing tests detect errors in the internal interface (eg. parttool read-write functions) and did not check for any possible breakages in the args parsing of the parttool commands.
2022-11-24 10:45:05 +05:30
harshal.patil
9977dbe8e2 parttool: fix extra_partition_subtypes attribute parsing 2022-11-24 10:45:05 +05:30
Aditya Patwardhan
ae32582cc7 esp-tls: Fix esp-cryptoauthlib built dependency when secure element
support is enabled
2022-11-24 09:32:30 +05:30
Jin Cheng
9ad1c7df96 Increase BtI2STask stack depth to avoid stack overflow 2022-11-24 11:21:57 +08:00
Jin Cheng
75b2e639e1 optimized a2dp_sink audio datapath
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer

Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 11:21:57 +08:00
Jin Cheng
728e2c97b4 1. changed pin_type of Legacy Paring from FIXED to VARIABLE to avoid authentication failure
2. provide compatibilities with devices that do not support Secure Simple Paring

Closes https://github.com/espressif/esp-idf/issues/10069
Closes https://github.com/espressif/esp-idf/issues/10005
2022-11-23 20:51:12 +08:00
Jin Cheng
a69c5408a3 fixed build errors with Secure Simple Paring disabled 2022-11-23 20:50:59 +08:00
David Cermak
3caeaece6b tcp_transport: Fix error propagation on tcp_read() 2022-11-23 09:49:35 +01:00
Roland Dobai
3d1c15cd94 Merge branch 'fix/call_esptool_v5.0' into 'release/v5.0'
Tools: Fix esptool wrappers by avoiding importing the module (v5.0)

See merge request espressif/esp-idf!21182
2022-11-22 23:37:08 +08:00
Roland Dobai
1f614bdcff Merge branch 'feature/oocd_ver_upgrade_v5.0' into 'release/v5.0'
tools: Updates OpenOCD version to 'v0.11.0-esp32-20221026' (v5.0)

See merge request espressif/esp-idf!21004
2022-11-22 22:12:26 +08:00
laokaiyao
592a51ae96 i2s: fixed typo 'philip'
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-22 15:59:51 +08:00
laokaiyao
85661a037f i2s: fixed tdm mclk doubled issue
Closes: https://github.com/espressif/esp-idf/issues/10196
2022-11-22 15:57:33 +08:00
Rahul Tank
6c4292f7b1 Support BLE memory release on ESP32C2 2022-11-22 10:38:40 +05:30
Roland Dobai
c93c6317f5 Tools: Fix esptool wrappers by avoiding importing the module
Importing esptool in wrappers could cause importing the wrapper itself.
Updating the PATH is not reliable. For example, os.path.realpath()
changes the Windows driver letter to uppercase therefore, misses the
right path for users with small device letters in their PATH. Removing
paths without considering cases could also lead to errors.

This fix invokes esptool scripts as modules without the need to
importing them.

Closes https://github.com/espressif/esp-idf/issues/9861

Closes https://github.com/espressif/vscode-esp-idf-extension/issues/791
2022-11-21 15:20:14 +01:00
morris
0dbbf7bac5 pcnt: support accumulate count value
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 15:17:55 +08:00
Harshit Malpani
03f8d8a0e2 esp_https_ota: Send data to event handler 2022-11-21 03:31:06 +00:00
Harshit Malpani
4934d01795 esp_https_ota: Added support for esp_events 2022-11-21 03:31:06 +00:00
zwj
1b4499046a support BLE memory release on ESP32C3 and ESP32S3 2022-11-21 10:33:55 +08:00
zwj
7e168de48d Update bt lib for ESP32C3 and ESP32S3
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-21 10:33:35 +08:00
zwj
f258183ec5 Fixed ble_compatibility_test example NVS init error 2022-11-21 10:33:35 +08:00
zwj
0af189b012 Fixed errors reported by CI clang_tidy_check 2022-11-21 10:33:35 +08:00
zwj
fdd75ea5e8 cleanup sdkconfig.defaults 2022-11-21 10:33:35 +08:00
zwj
2e0a5b3111 Fixed sometimes BTU task overflow when doing read and write performance test 2022-11-21 10:33:35 +08:00
zwj
99cd53490b change default tx power from 3dBm to 9dBm 2022-11-21 10:33:35 +08:00
satish.solanke
6d11786776 Update_sdkdefaultconfig_BLE_only_flag ESP32C2 2022-11-21 10:33:35 +08:00
morris
0bf7145181 rmt: fix memory leak in the legacy driver
Closes https://github.com/espressif/esp-idf/issues/10173
2022-11-21 09:59:58 +08:00
wuzhenghui
76817e6d76 bugfix: fix redefined _iram_end 2022-11-18 19:53:19 +08:00
liqigan
2539529360 fix HFP client parse CLCC command response bug 2022-11-18 19:38:58 +08:00
Jin Cheng
aae167824e Fixed the issue memory access out of bounds in a2dp_source example 2022-11-18 16:39:04 +08:00
Liu Zhongwei
69b9b0b7a6 esp_lcd: add condition for spi to keep cs low 2022-11-18 03:36:37 +00:00
Liu Zhongwei
313700e285 esp_lcd: support sio mode for spi LCD 2022-11-18 03:36:37 +00:00
morris
4c3c23562c spi_lcd: panel_io_spi_tx_color without cmd
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
morris
e518e3efd3 spi_lcd: allow dc gpio set to -1
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
morris
39d2a2e0bd spi_lcd: support CS active high
Closes https://github.com/espressif/esp-idf/issues/9881
2022-11-18 03:36:37 +00:00
lly
ad2cc1f102 doc: Update the bluetooth low energy part in migration-guides 2022-11-17 11:48:59 +00:00
lly
1529613561 ble_mesh: stack: Fix typo in directly erase settings event 2022-11-17 11:48:59 +00:00
Marius Vikhammer
919b3e621e Merge branch 'bugfix/flake8_precommit_v5.0' into 'release/v5.0'
precommit: update flake8 repo url to use github (v5.0)

See merge request espressif/esp-idf!21095
2022-11-17 15:52:21 +08:00
Marius Vikhammer
92964f0733 precommit: update flake8 repo url to use github
Gitlab mirror repo has been deprecated.
2022-11-15 16:13:20 +08:00
Chen Yudong
6f583ccb29 tools: idf extra wheels url can be set by environment variables 2022-11-14 19:53:34 +08:00