zwj
358a03e844
Fixed extend adv tx power range error
2022-09-27 19:30:06 +08:00
zwj
cac46cb107
update BLE lib for ESP32C3 and ESP32S3
...
Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-27 19:24:58 +08:00
Yuan Jian Min
c1429bbeeb
esp-tls: socket will be set to -1 and will not be closed
2022-09-26 19:23:32 +08:00
Jiang Jiang Jian
ae263f1bc8
Merge branch 'feature/sink_support_mono_v4.4' into 'release/v4.4'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v4.4)
See merge request espressif/esp-idf!20077
2022-09-26 17:47:31 +08:00
Jiang Jiang Jian
d1113747e7
Merge branch 'bugfix/fix_set_country_code_before_wifi_start_issue_v4.4' into 'release/v4.4'
...
Bugfix/fix set country code before wifi start issue v4.4(Backport v4.4)
See merge request espressif/esp-idf!20095
2022-09-23 17:49:55 +08:00
morris
60d6ad326e
Merge branch 'bugfix/spi2_add_device_cs_more_than_3_v4.4' into 'release/v4.4'
...
spi_master:fix error when use `spi_bus_add_device` more than 3 device(v4.4)
See merge request espressif/esp-idf!20126
2022-09-23 11:20:17 +08:00
morris
e833fb0c30
Merge branch 'bugfix/tinyusb_corrected_typo_naming_of_acm_v4.4' into 'release/v4.4'
...
tinyusb: fix typo naming of ACM (backport v4.4)
See merge request espressif/esp-idf!20299
2022-09-23 09:30:45 +08:00
Michael (XIAO Xufeng)
7d4b99984d
Merge branch 'bugfix/twai_isr_iram_v4.4' into 'release/v4.4'
...
hal: fix CONFIG_TWAI_ISR_IN_IRAM for C3, hide TWAI menu for C2 (v4.4)
See merge request espressif/esp-idf!20092
2022-09-23 02:25:26 +08:00
David Čermák
9aa7c83e19
Merge branch 'bugfix/mqtt_enqueue' into 'release/v4.4'
...
[mqtt] Fix esp_mqtt_client_enqueue for len=0 (v4.4)
See merge request espressif/esp-idf!20230
2022-09-22 21:49:46 +08:00
jiangguangming
36d973a5e5
tinyusb: fix typo naming of ACM
2022-09-22 20:33:31 +08:00
radim.karnis
f40364e2f3
feat(esptool): Update to v3.3.2
2022-09-22 10:26:09 +02:00
morris
c407e69246
Merge branch 'refactor/add_description_to_touch_pad_set_meas_time_v4.4' into 'release/v4.4'
...
touch_sensor: add description to distinguish the API on different target (v4.4)
See merge request espressif/esp-idf!20242
2022-09-22 14:51:41 +08:00
Island
3ea96f0e22
Merge branch 'bugfix/relay_friend_cred_message_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix friend relay lpn message when relay disable(v4.4)
See merge request espressif/esp-idf!20204
2022-09-22 14:17:25 +08:00
morris
3247fa9374
Merge branch 'bugfix/fix_spi_bus_lock_concurrency_issue_v4.4' into 'release/v4.4'
...
spi_bus_lock: fix a concurrency issue (v4.4)
See merge request espressif/esp-idf!20138
2022-09-22 13:33:31 +08:00
laokaiyao
5c57f9c884
touch_sensor: add description to distinguish the API on different target
...
Closes https://github.com/espressif/esp-idf/issues/9067
2022-09-22 10:31:08 +08:00
morris
08fa67fe92
Merge branch 'bugfix/i2s_receive_data_lost_v4.4' into 'release/v4.4'
...
i2s: fix message queue overflow condition (v4.4)
See merge request espressif/esp-idf!20209
2022-09-21 22:01:12 +08:00
Euripedes Rocha
2f23432c00
[mqtt] Fix esp_mqtt_client_enqueue for len=0
...
Detailed description of the changes:
* [Backport] mqtt_client: fix esp_mqtt_client_enqueue for len=0
- See merge request espressif/esp-mqtt!144
- mqtt_client: fix esp_mqtt_client_enqueue for len=0
(espressif/esp-mqtt@e918742 )
Closes https://github.com/espressif/esp-idf/issues/9719
2022-09-21 13:42:32 +02:00
Ivan Grokhotkov
17214c2db6
hal: fix CONFIG_TWAI_ISR_IN_IRAM not taking effect for C3/H2
2022-09-21 08:35:54 +00:00
jingli
9a61a07fd8
esp_hw_support/clk_cali: remove redundant check for cali value
2022-09-21 15:13:22 +08:00
jingli
13984c0a79
esp_hw_support/clk_cali: fix xtal32k error detect
2022-09-21 15:11:04 +08:00
Island
7d4d75c507
Merge branch 'doc/support_micro_def' into 'release/v4.4'
...
Support of Micro definition in header file
See merge request espressif/esp-idf!20071
2022-09-21 13:53:53 +08:00
Zim Kalinowski
d805d2ad5a
Merge branch 'bugfix/clobbering_freertos_base_priority_v4.4' into 'release/v4.4'
...
spi_flash: fix issue linked with raising of task priority while priority is already raised (v4.4)
See merge request espressif/esp-idf!20026
2022-09-21 13:11:35 +08:00
Michael (XIAO Xufeng)
0f630acf43
Merge branch 'bugfix/spi_hd_quad_issue_4.4' into 'release/v4.4'
...
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h(backport v4.4)
See merge request espressif/esp-idf!19816
2022-09-21 12:06:40 +08:00
morris
af62cfc8a2
Merge branch 'bugfix/fix_ledc_timer_update_usage_v4.4' into 'release/v4.4'
...
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst (backport v4.4)
See merge request espressif/esp-idf!20241
2022-09-21 11:40:27 +08:00
wangjialiang
bf9b44f7fc
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-21 03:39:56 +00:00
Island
4b8915d7af
Merge branch 'bugfix/lpn_not_recv_message_to_all_node_4.4' into 'release/v4.4'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes(v4.4)
See merge request espressif/esp-idf!20264
2022-09-21 11:31:55 +08:00
wangjialiang
e4df3e2ad7
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-20 20:30:08 +08:00
songruojing
4bee8a84e2
gpio: fix USB D+ pin cannot disable pullup
...
Internally, disable usb serial jtag DP pin's pullup when calling gpio_ll_pullup_dis and rtcio_ll_pullup_disable
At usb serial jtag setup/install, re-enable DP pin's pullup
Closes https://github.com/espressif/esp-idf/issues/9495
2022-09-20 15:23:01 +08:00
satish.solanke
bb6f2ca740
Support of Micro defination in header file
2022-09-20 11:07:06 +05:30
KonstantinKondrashov
9c830297b9
freertos: Adds new APIs to set/get and restore base priority
...
Closes https://github.com/espressif/esp-idf/issues/7580
2022-09-20 05:00:13 +00:00
Song Ruo Jing
9bd20fc2ca
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
...
ledc_ls_timer_update is required only when CLK_DIV and DUTY_RES bits are changed.
Calling ledc_timer_rst while re-configure PWM frequency through ledc_set_freq can cause glitch in the signal
2022-09-20 11:52:57 +08:00
Marius Vikhammer
1d9f539f22
Merge branch 'bugfix/light_sleep_deadlock_v4.4' into 'release/v4.4'
...
esp_hw_support: Fix light sleep deadlock (v4.4)
See merge request espressif/esp-idf!19516
2022-09-19 16:33:19 +08:00
muhaidong
2a72036337
esp_wifi: add small UT for country code
2022-09-19 15:22:57 +08:00
muhaidong
2dff79510d
esp_wifi: fix disconnect after set country issue
2022-09-19 15:20:29 +08:00
laokaiyao
2da3035b52
doc: add application notes for i2s
2022-09-19 12:03:08 +08:00
laokaiyao
190502bfec
i2s: fix the wrong condition of event queue
2022-09-19 10:18:34 +08:00
muhaidong
5b24356ab5
wpa_supplicant: try install gtk before send 2 of 2
2022-09-17 19:02:53 +08:00
Darian Leung
baa28b54a2
esp_hw_support: Fix esp_light_sleep_start() deadlock
...
esp_light_sleep_start() will stall the other CPU via esp_ipc_isr_stall_other_cpu(). After stalling the other CPU,
will call esp_clk_... API which themselves take locks. If the other stalled CPU is holding those locks, this will
result in a deadlock.
This commit adds a workaround calling esp_clk_private_lock() to take the lock before stalling the other CPU.
2022-09-16 17:02:38 +08:00
Darian Leung
9ea9192efb
esp_hw_support: esp_clk should use spinlock instead of mutex
...
esp_clk used to be protected using _lock_t (i.e., a FreeRTOS Mutex). However, esp_clk API is current called from
from critical sections, thus mutex should not be used (as they can be blocking).
This commit updates esp_clk to use spinlocks for critical sections instead.
Note: Added a small fix to exclude esp_clk.c from bootloader builds in the
legacy build system (this is already the case in CMake).
2022-09-16 17:02:38 +08:00
Jiang Jiang Jian
e80057035a
Merge branch 'bugfix/adapt_new_btc_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Corrected parameter size when the btc_transfer_context is used (v4.4)
See merge request espressif/esp-idf!20166
2022-09-16 10:53:55 +08:00
Jiang Jiang Jian
d6522044d3
Merge branch 'bugfix/change_log_level_for_print_v4.4' into 'release/v4.4'
...
Nimble : updated debug level for a print to avoid unwanted console log. (v4.4)
See merge request espressif/esp-idf!20111
2022-09-16 10:52:31 +08:00
Anton Maklakov
ecf84354b2
Merge branch 'feature/ulp_binutils_multi_target_v4.4' into 'release/v4.4'
...
ulp: support the new multi-target ULP-FSM binutils (v4.4)
See merge request espressif/esp-idf!20147
2022-09-16 10:01:00 +08:00
Alexey Lapshin
a8e81f88f1
tools: update esp32ulp-elf to v2.35_20220830
...
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-15 23:41:56 +04:00
David Čermák
4b46e85b0a
Merge branch 'bugfix/transport_foundation_intialization_v4.4' into 'release/v4.4'
...
tcp_transport: Fix initialition of transport (v4.4)
See merge request espressif/esp-idf!20047
2022-09-16 00:13:48 +08:00
Roshan Bangar
d2b1ea9ac1
Nimble : updated debug level for a print to avoid unwanted console log.
2022-09-15 15:24:53 +05:30
wangjialiang
87921558fd
ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed
2022-09-15 09:14:39 +00:00
Jiang Jiang Jian
481d00be93
Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v4.4' into 'release/v4.4'
...
Nimble: Fixed memory corruption introduced in reconnection attempt code (v4.4)
See merge request espressif/esp-idf!19745
2022-09-14 16:34:22 +08:00
Armando
163a4b6b02
SPI_BUS_LOCK: fix a concurrency issue
...
define: lock_bits = (lock->status & LOCK_MASK) >> LOCK_SHIFT; This `lock_bits` is the Bit 29-20 of the lock->status
1. spi_hdl_1:
acquire_end_core():
uint32_t status = lock_status_clear(lock, dev_handle->mask & LOCK_MASK);
Becuase this is the first `spi_hdl_1`, so after this , lock_bits == 0`b0. status == 0
2. spi_hdl_2:
acquire_core:
uint32_t status = lock_status_fetch_set(lock, dev_handle->mask & LOCK_MASK);
Then here status is 0`b0, but lock_bits == 0`b10. Because this is the `spi_hdl_2`
3. spi_hdl_2:
`acquire_core` return true, because status == 0. `spi_bus_lock_acquire_start(spi_hdl_2)` then won't block.
4. spi_hdl_2:
spi_device_polling_end(spi_hdl_2).
5. spi_hdl_1:
acquire_end_core:
status is 0, so it cleas the lock->acquiring_dev
6. spi_hdl_2:
spi_device_polling_end:
assert(handle == get_acquiring_dev(host)); Fail
Closes https://github.com/espressif/esp-idf/issues/8179
2022-09-14 12:11:29 +08:00
wanlei
27470afb7c
spi_master:fix error when use spi_bus_add_device
more than 3 device
...
update gpio_sig at `spics_out` array in each spi_periph.c of chips later than s2
then `spi_bus_add_device` can correctly distribute gpio_signals for cs_signal
Closes https://github.com/espressif/esp-idf/issues/8876
2022-09-14 11:20:47 +08:00
Zim Kalinowski
6c3267e8a9
Merge branch 'feature/s2_s3_support_ext_mem_stack_v4.4' into 'release/v4.4'
...
soc: support placing task stacks in external memory for S2 and S3 (v4.4)
See merge request espressif/esp-idf!20001
2022-09-13 21:24:02 +08:00