Jiang Jiang Jian
b48971317f
Merge branch 'bugfix/fix_part_of_modem_not_reset_when_power_on_backport_v5.0' into 'release/v5.0'
...
Coexistence: fix part of modem module not reset when power up(backport v5.0)
See merge request espressif/esp-idf!20807
2022-12-02 20:25:21 +08:00
jingli
c581b4340a
esp_hw_support/sleep: remove redundant spinlock protection for deep sleep
2022-12-02 12:24:52 +00:00
jingli
99c8c0c645
hal/gpio_ll: fix digital gpio can not enable hold during deep sleep when force_unhold set(32/s2/s3)
2022-12-02 12:24:52 +00:00
jingli
4223427127
hal/gpio_ll: fix digital gpio can not disable hold during deep sleep
2022-12-02 12:24:52 +00:00
jingli
21c9ec5eee
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-12-02 12:24:52 +00:00
Jiang Jiang Jian
df80bc864d
Merge branch 'bugfix/fix_xtal_related_rtc_params_for_esp32_backport_v5.0' into 'release/v5.0'
...
esp32/rtc: fix xtal unstable in some cases when sleep(backport v5.0)
See merge request espressif/esp-idf!20799
2022-12-02 20:24:25 +08:00
Jiang Jiang Jian
052d01b551
Merge branch 'bugfix/handle_issue_of_malloc_fail_v5.0' into 'release/v5.0'
...
bugfix/avoid unexpected free when malloc failed (v5.0)
See merge request espressif/esp-idf!20728
2022-12-02 20:23:58 +08:00
Jiang Jiang Jian
90dfbdcfc9
Merge branch 'bugfix/update_ctrl_init_config_macro_v5.0' into 'release/v5.0'
...
Bugfix/update ctrl init config macro (v5.0)
See merge request espressif/esp-idf!20711
2022-12-02 19:53:18 +08:00
Jiang Jiang Jian
5e461357a0
Merge branch 'bugfix/esp_spp_write_len_0_v5.0' into 'release/v5.0'
...
bt: Fixed esp_spp_write() crash when len is 0(v5.0)
See merge request espressif/esp-idf!20704
2022-12-02 19:53:19 +08:00
Jiang Jiang Jian
ff88f19ddd
Merge branch 'feature/add_rom_tlsf_function_prototype_v5.0' into 'release/v5.0'
...
esp_rom: add rom tlsf function prototype instead of void * (backport to v5.0)
See merge request espressif/esp-idf!20684
2022-12-02 19:52:51 +08:00
Jiang Jiang Jian
85f4192ca5
Merge branch 'feature/Add_IVI_recovery_option_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update(v5.0)
See merge request espressif/esp-idf!20641
2022-12-02 19:52:34 +08:00
Jiang Jiang Jian
8a956957f6
Merge branch 'bugfix/fix_fast_interval_prov_adv_v5.0' into 'release/v5.0'
...
ble_mesh: stack: Fix send fast interval prov_adv failed (v5.0)
See merge request espressif/esp-idf!20635
2022-12-02 19:51:49 +08:00
Jiang Jiang Jian
fb519f3bb5
Merge branch 'bugfix/fix_esprv_intc_int_set_type_err_parameter_backport_v5.0' into 'release/v5.0'
...
bugfix: esprv_intc_int_set_type should not use bitmap parameter(backportv5.0)
See merge request espressif/esp-idf!20610
2022-12-02 19:51:34 +08:00
Jiang Jiang Jian
53746605d8
Merge branch 'bugfix/esprv_intc_int_set_type_error_v5.0' into 'release/v5.0'
...
Nimble: Fixed esprv_intc_int_set_type() usage (v5.0)
See merge request espressif/esp-idf!20616
2022-12-02 19:51:10 +08:00
jiangguangming
af425e5a8e
move {target}/rom/miniz.h to a common miniz.h
...
- Move {target}/rom/miniz.h to common miniz.h
- Add ESP_ROM_HAS_MZ_CRC32 for ESP32/S2/S3/C3/H2
- Alias mz_crc32 to crc32_le if chips not support ESP_ROM_HAS_MZ_CRC32
2022-12-02 19:39:44 +08:00
Ivan Grokhotkov
539a8c221c
Merge branch 'gdbstub/unused_handle_v5.0' into 'release/v5.0'
...
gdbstub: fixed build-error due to potentially uninitialized variable on -O2 (v5.0)
See merge request espressif/esp-idf!20137
2022-12-02 19:30:34 +08:00
Ivan Grokhotkov
85eff825a9
Merge branch 'bugfix/do_not_mix_esp_partition_and_spi_flash_apis_v5.0' into 'release/v5.0'
...
partition: use esp_partition_munmap instead of spi_flash_munmap (v5.0)
See merge request espressif/esp-idf!21024
2022-12-02 19:29:49 +08:00
Ivan Grokhotkov
bdf2153a88
Merge branch 'bugfix/esp32s3_rom_has_ets_printf_issue_v5.0' into 'release/v5.0'
...
esp_rom: fix esp32s3 rom ets_printf bug (backport to v5.0)
See merge request espressif/esp-idf!20798
2022-12-02 19:28:14 +08:00
Ivan Grokhotkov
c231d9e01e
Merge branch 'bugfix/update_esp_rom_caps_v5.0' into 'release/v5.0'
...
esp_rom: update esp_rom_caps.h (backport v5.0)
See merge request espressif/esp-idf!20572
2022-12-02 19:27:29 +08:00
Ivan Grokhotkov
7a5643342a
Merge branch 'bugfix/time_jump_after_reboot_v5.0' into 'release/v5.0'
...
esp_hw_support: Fix time jump after reboot (v5.0)
See merge request espressif/esp-idf!20906
2022-12-02 19:21:08 +08:00
Ivan Grokhotkov
e3101bc138
Merge branch 'feature/esp_lcd_register_io_callback_v5.0' into 'release/v5.0'
...
esp_lcd: Add function for register on color done callback (backport v5.0)
See merge request espressif/esp-idf!21030
2022-12-02 19:19:39 +08:00
Omar Chebib
8731d281f1
FreeRTOS: Make the default stack alignment 16 for Xtensa
2022-12-02 11:17:38 +00:00
Ivan Grokhotkov
21629b7840
Merge branch 'bugfix/fix_iram_end_redefined_backportv5.0' into 'release/v5.0'
...
bugfix: fix redefined _iram_end (backport v5.0)
See merge request espressif/esp-idf!21161
2022-12-02 19:17:04 +08:00
Ivan Grokhotkov
9d412d9a16
Merge branch 'docs/test_utils_no_butter_v5.0' into 'release/v5.0'
...
docs: heap records are not eatable! (v5.0)
See merge request espressif/esp-idf!21326
2022-12-02 19:14:13 +08:00
Ivan Grokhotkov
c14a29c99f
Merge branch 'bugfix/fix_bootloader_sha256_flash_contents_mask_issue_v5.0' into 'release/v5.0'
...
bootloader: fix bootloader_sha256_flash_contents mmap issue (v5.0)
See merge request espressif/esp-idf!21392
2022-12-02 19:13:42 +08:00
Roland Dobai
8faf09234c
Merge branch 'feature/use_tools_json_to_check_toolchain_ver_v5.0' into 'release/v5.0'
...
Tools: use tools.json to double-check toolchain version when building (v5.0)
See merge request espressif/esp-idf!20662
2022-12-02 19:11:54 +08:00
Roland Dobai
e08150e534
Merge branch 'fix/tools-gdbinit-with-elf-symbols_v5.0' into 'release/v5.0'
...
tools: fixed elf symbols load if gdbinit specified (v5.0)
See merge request espressif/esp-idf!20467
2022-12-02 19:09:48 +08:00
Roland Dobai
17ad259e8e
Merge branch 'feature/freertos_smp_sysview_v5.0' into 'release/v5.0'
...
sysview: Adds FreeRTOS SMP port (v5.0)
See merge request espressif/esp-idf!20015
2022-12-02 19:07:14 +08:00
morris
7d39d1223b
rgb_lcd: support restart dma transmission manually
...
When doing Flash operations (e.g. OTA), LCD's DMA bandwidth will be not
sufficient, causing the desync between the LCD controller and DMA.
Added a restart function to help the user to make them sync again.
2022-12-02 16:29:21 +08:00
Cao Sen Miao
1bd4c6a8cf
I2C: put some interrupt used functions into IRAM,
...
closes https://github.com/espressif/esp-idf/issues/10079
2022-12-02 15:13:51 +08:00
zwj
8b0ec09c71
update BLE lib for ESP32-C3 and ESP32-S3
...
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by 8th device
2022-12-02 12:18:52 +08:00
zhiweijian
2a76e35ed1
bluedroid host supports the maximum number of connections to 9
2022-12-02 12:18:40 +08:00
Armando
c60257e862
bootloader: fix bootloader_sha256_flash_contents mmap issue
2022-12-01 21:46:24 +08:00
jingli
54046ee4bf
soc: remove unused DR_REG_DPORT_END macro for c2/c3/s2/s3
2022-12-01 21:09:05 +08:00
jingli
18fef64089
wifi/bt: fix part of modem module not reset when power up
2022-12-01 21:08:57 +08:00
Ivan Grokhotkov
7f5ecbe533
Merge branch 'bugfix/wafer_version_minor_s3_v5.0' into 'release/v5.0'
...
esp32s3: fixed bug chip v0.0 detected as vX.8 (v5.0)
See merge request espressif/esp-idf!21351
2022-12-01 20:37:52 +08:00
wanlei
12f9170862
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin
2022-12-01 20:12:58 +08:00
Omar Chebib
3e9701205c
esp_timer: add a function to restart timer
...
Timers, periodic or not, can now be restarted thanks to esp_timer_restart function.
This is done atomically, which can be used to feed a periodic timer, or simply change the period.
2022-12-01 10:45:35 +00:00
Omar Chebib
6b4e1619d8
TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog
2022-12-01 10:45:35 +00:00
Omar Chebib
1840c48538
TWDT: refactor the TWDT to be driver agnostic
...
This refactoring brings a private API for the TWDT implementation, which
can now use a hardware timer (Timer Group) or a software timer (esp_timer)
2022-12-01 10:45:35 +00:00
Omar Chebib
b675bb2a4d
WDT: implement interrupt wdt and task wdt for ESP32-C2
...
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-12-01 10:45:35 +00:00
zhiweijian
add561aed8
Fixed CI esp32s3.default_2_s3.Test failed
2022-12-01 18:44:44 +08:00
zhiweijian
9cfffd2915
- update phy lib
...
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-12-01 18:44:31 +08:00
Tomas Rezucha
823c8d4e77
usb: Don't access uninit pointer if usbh_install fails
2022-12-01 08:33:22 +01:00
liqigan
ad43b04898
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-01 15:14:25 +08:00
Shreyas Sheth
046e28fa70
esp_wifi: STA set extra IEs for open AP
2022-12-01 12:13:33 +05:30
Sachin Parekh
af773c047a
esp32s3/memprot: Fix DRAM fault address calculation
2022-12-01 09:19:08 +05:30
Sachin Parekh
c83eb9dfc4
esp32s3/memprot: Fix SRAM region high addresses
2022-12-01 09:19:08 +05:30
Sachin Parekh
634c2c8bf1
esp32s3/memprot: Set permission for Icache region
2022-12-01 09:19:07 +05:30
jiangguangming
93fffd51bb
esp_rom: remove lldesc_xxx definitions since no actual function bodies
2022-12-01 09:34:11 +08:00
Michael (XIAO Xufeng)
277e4d5471
esp32s3: fixed bug chip v0.0 detected as vX.Y
...
A typical value is 2.8.
Previous commit 32ef2b321a
doesn't fix the issue cleanly. The MSB of wafer_minor also has this problem.
2022-12-01 01:56:53 +08:00
xiongweichao
d47bf56850
Fixed a2dp failing to connect again after disconnect
2022-11-30 18:46:59 +08:00
Jakob Hasse
b1e174f8e2
docs(test_utils): heap records are not eatable!
...
Instead of becoming spread, heap records should go into a buffer.
Hungry commits shall be avoided.
2022-11-29 13:47:50 +01:00
morris
b4470860f9
Merge branch 'bugfix/i2s_tdm_doubled_mclk_v5.0' into 'release/v5.0'
...
i2s: fixed double mclk in tdm mode (v5.0)
See merge request espressif/esp-idf!21191
2022-11-29 16:57:11 +08:00
zwl
06290d44c3
Fixed interrupt latency when cache is disable on ESP32-C2
2022-11-29 16:27:05 +08:00
zwl
90fa0e5c49
Fixed memory leak when RAM free size is insufficient or setting ext scan parameters failed on ESP32-C2
2022-11-29 16:27:05 +08:00
morris
5e79c3166c
Merge branch 'feature/multiple_spi_lcd_backport_v5.0' into 'release/v5.0'
...
spi_lcd: inherit more IO flags from SPI master driver (5.0)
See merge request espressif/esp-idf!21119
2022-11-29 10:41:59 +08:00
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
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
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
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
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
David Cermak
3caeaece6b
tcp_transport: Fix error propagation on tcp_read()
2022-11-23 09:49:35 +01: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
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
0af189b012
Fixed errors reported by CI clang_tidy_check
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
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
1529613561
ble_mesh: stack: Fix typo in directly erase settings event
2022-11-17 11:48:59 +00:00
harshal.patil
9463a66fc0
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled
2022-11-14 15:56:17 +05:30
Shreyas Sheth
ecaa2e8040
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-14 11:09:01 +05:30
Jin Cheng
650b665384
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-11-14 09:45:34 +08:00
jgujarathi
561cce9446
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
2022-11-11 17:17:28 +05:30
Linda
4a6d51e698
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3
2022-11-11 17:40:09 +08:00
jiangguangming
eedc5bbdb7
esp_rom: add rom api esp_rom_uart_set_as_console for riscv chips
2022-11-11 10:09:56 +08:00
jiangguangming
8b0d0cbf5d
esp_rom: remove ESP_ROM_SUPPORT_MULTIPLE_UART
2022-11-11 10:07:14 +08:00
jiangguangming
7472018f06
esp_rom: fix esp32s3 rom ets_printf bug
2022-11-11 10:04:00 +08:00
jiangguangming
bc54778b6c
esp_rom: update esp_rom_caps.h
2022-11-11 10:03:52 +08:00
Vilem Zavodny
a38828651b
esp_lcd: Add function for register on color done callback.
...
(cherry picked from commit 747c5993a8
)
2022-11-10 12:12:18 +01:00
Marius Vikhammer
61990fc8d4
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error
2022-11-10 15:02:03 +08:00