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
Isha Pardikar
a78a36e7b9
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0', at the end, to ensure we adhere to the max name length as per spec.
2022-09-27 16:09:11 +05:30
morris
741d35d528
rgb_lcd: added yuv converter LL driver
2022-09-27 13:42:56 +08:00
morris
e66a72b452
rgb_lcd: workaround pclk polarity bug by setting mo>=2
2022-09-27 13:22:18 +08:00
morris
72a25862a1
rgb_lcd: support PLL240MHz clock source
2022-09-27 13:20:51 +08:00
Harshit Malpani
efed5ee33f
esp_http_server: Add linger in httpd_config_t
...
Closes: https://github.com/espressif/esp-idf/issues/9514
2022-09-27 10:10:16 +05:30
TDA2030
30ab6a9246
rgb_lcd: optimise rgb_panel_draw_bitmap
...
by using memcpy instead of coping in a nested for loop
2022-09-27 10:36:41 +08:00
morris
3a6831b1b4
rgb_lcd: support fractional clock divisor
2022-09-27 10:27:36 +08:00
Nachiket Kukade
eb5f70b6fb
esp_wifi: Update wifi libs
...
Fix scan causing bss overwrite in connect process
2022-09-26 18:52:57 +05:30
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
Song Ruo Jing
5a969b91a8
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
...
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.
Introduced in 4e09d147b11ed8a094b5858642c9f60d658ef656
2022-09-23 16:10:53 +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
Michael (XIAO Xufeng)
06a52bf770
usb_serial_jtag: fixed the docs that we can use usj in sleep modes
...
Related to: https://github.com/espressif/esp-idf/issues/8507 , https://github.com/espressif/esp-idf/issues/8884
2022-09-22 15:37:32 +08: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
Guillaume Souchere
a1ca11551f
Revert "tlsf control's structure should remain opaque"
...
This reverts commit 7010314c4a
.
2022-09-20 08:58:04 +02:00
Philippe
6dae07d137
add host test with multiple heap size
2022-09-20 07:55:24 +02: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
Philippe
ffcc115e8b
clarify parameter usage in tslf_create
2022-09-19 14:31:47 +02:00
Philippe
7010314c4a
tlsf control's structure should remain opaque
2022-09-19 14:31:05 +02:00
Philippe
8325aff3c9
dynamic control block per heap
2022-09-19 14:28:11 +02: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
Zim Kalinowski
a29f770c7a
Merge branch 'feature/mem-corruption-check-when-comprehensif-poisoning-v4.4' into 'release/v4.4'
...
heap: Provide memory corruption check when poisoning is active (V4.4)
See merge request espressif/esp-idf!19778
2022-09-13 20:41:48 +08:00
Zim Kalinowski
5224045d17
Merge branch 'doc/nvs_max_num_namespaces_4.4' into 'release/v4.4'
...
doc (nvs): added note about maximum possible namespaces (backport 4.4)
See merge request espressif/esp-idf!19980
2022-09-13 17:33:19 +08:00
Armando
2488281d17
test: added adc wifi test thresh for esp32, s2, c3, s3 on v4.4
...
Due to unit test, we can't specify runners, for adc related tests.
Whereas adc tests are easily influenced by board hw condition, e.g.
pullup/down value.
This commit increases the thresh to 200mV.
2022-09-13 11:56:37 +08:00
Anton Maklakov
da0cfb806a
system: add missing header
...
Because we got rid of the including core-isa.h in newlib's config.h (8a3197a2a9a42dd99605cf8cc1e0f2d3c976c58c)
2022-09-12 19:26:42 +07:00
Euripedes Rocha
faa368a612
[tcp_transport] Fix initialition of transport
...
- Foundation was initialized only for SSL.
- Removed base from list.
- Changed SSL and TCP initialition.
- Clean of state data structures.
2022-09-12 11:49:25 +02:00
Michael (XIAO Xufeng)
12369a5faf
Merge branch 'bugfix/reserve_dma_ram_in_segments_v4.4' into 'release/v4.4'
...
psram: reserve dma pool in the step of heap max block (v4.4)
See merge request espressif/esp-idf!18858
2022-09-11 02:49:39 +08:00
Michael (XIAO Xufeng)
f9a630b967
Merge branch 'bugfix/calib_i2c_clk_v4.4' into 'release/v4.4'
...
I2C: Make I2C clock frequency accurate(backport v4.4)
See merge request espressif/esp-idf!19069
2022-09-11 02:44:26 +08:00
Wang Meng Yang
224871784b
Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting_v4.4' into 'release/v4.4'
...
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting (backport v4.4)
See merge request espressif/esp-idf!20042
2022-09-09 21:05:52 +08:00
Wang Meng Yang
8e6af17ee5
Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_and_esp32s3_v4.4' into 'release/v4.4'
...
Fixed some BLE controller bugs on ESP32-C3 and ESP32-S3 (backport v4.4)
See merge request espressif/esp-idf!19988
2022-09-09 19:39:57 +08:00
David Čermák
ef5a87ea20
Merge branch 'bugfix/mdns_add_service_fail_if_nohostname' into 'release/v4.4'
...
mdns: Fix add_service() to report error if no-hostname
See merge request espressif/esp-idf!19679
2022-09-09 18:38:31 +08:00
xiongweichao
4c4799ac49
bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-09 17:31:04 +08:00
satish.solanke
a44071ab14
updating doc for the issue doc_3566
2022-09-09 10:40:44 +05:30
zhiweijian
c0c1485dc4
Add QA test Functions
2022-09-08 17:55:54 +08:00
zwj
4bf2eb3f48
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-08 17:54:43 +08:00
morris
67ff43c2c7
Merge branch 'bugfix/wrong_bpp_for_rgb666_v4.4' into 'release/v4.4'
...
lcd: fix wrong bpp size of rgb666 format (v4.4)
See merge request espressif/esp-idf!20032
2022-09-08 17:34:40 +08:00
Jiang Jiang Jian
de1e58118d
Merge branch 'bugfix/fix_init_memory_leak_issue_v4.4' into 'release/v4.4'
...
esp_wifi: done beacon monitor timer when call pm deattach.(Backport v4.4)
See merge request espressif/esp-idf!19937
2022-09-08 17:02:33 +08:00
morris
151b957238
lcd: fix wrong bpp size of rgb666 format
...
Closes https://github.com/espressif/esp-idf/issues/9729
2022-09-08 13:22:16 +08:00
gaoxu
ce1e8350b4
SPI: Fixed Quad SPI wrong dummy cycle issue on ESP32C3/ESP32S3 and put get-command/dummy-bits functions in spi_ll.h
2022-09-07 18:55:38 +08:00
zwj
c1e54ac0fa
Update ESP32-C3 and ESP32-S3 BLE lib
...
- Fixed the performance issue of BLE sync scan in coexistence scenario when PLL track is enabledFixed the usage of PLL track related baseband IRQs
- Fixed connect failed due to error sync found signal
- Fixed BLE disconnect failed due to terminate_ind have sent but no ACK is received
- Added ADV mode error check in ADV rx isr handler function
- Fixed BLE RAL_UNDERRUN and TX_CRYPT_ERR assert
- Disable scan continue
- Fixed scan forever if scan continue is disable
2022-09-07 12:33:33 +08:00
Wang Meng Yang
6e6c8135d5
Merge branch 'bugfix/remove_bt_dft_init_semicolon_v4.4' into 'release/v4.4'
...
bt: Remove trailing semicolon from bt dft initializer(v4.4)
See merge request espressif/esp-idf!19914
2022-09-07 12:00:32 +08:00
Wang Meng Yang
2c8d6a4954
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable_v4.4' into 'release/v4.4'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()(v4.4)
See merge request espressif/esp-idf!19951
2022-09-07 11:55:15 +08:00
Marius Vikhammer
16459d0d42
soc: support placing task stacks in external memory for S2 and S3
2022-09-07 11:46:56 +08:00
Mahavir Jain
6c4400132e
Merge branch 'update_expat_R_2_4_8' into 'release/v4.4'
...
expat: Update expat library to R_2_4_8 release
See merge request espressif/esp-idf!19962
2022-09-06 22:50:06 +08:00
morris
e3c1fde6c4
Merge branch 'bugfix/driver_rs485_fix_test_sync_issues_v44' into 'release/v4.4'
...
driver: uart rs485 fix test sync issues and fail threshold (backport v4.4)
See merge request espressif/esp-idf!19610
2022-09-06 17:23:46 +08:00
Alex Lisitsyn
7d8636ce0a
driver: uart rs485 fix test sync issues and fail threshold (backport v4.4)
2022-09-06 17:23:46 +08:00
Harshit Malpani
bb0a13944f
expat: Update expat library to R_2_4_8 release
...
Detailed changelog: https://github.com/libexpat/libexpat/blob/R_2_4_8/expat/Changes
2022-09-06 14:00:01 +05:30
Jakob Hasse
87ff108235
doc (nvs): added note about maximum possible namespaces
2022-09-06 10:17:58 +02:00
Marius Vikhammer
78d7844b01
system: fix SET_STACK macro crashing in windowoverflow8 exception
...
If a windowoverflow8 happened after changing the SP, the exception handler would look for
the extra save area by looking at the previous frame's SP. This SP would be a garbage value
and could cause the windowoverflow exception to write to invalid memory ares.
2022-09-06 15:54:57 +08:00
Zim Kalinowski
6d7877fcb8
Merge branch 'bugfix/remove_redef_s3_cpu_macro' into 'release/v4.4'
...
soc: delete obsolete soc/cpu.h for S3 (v4.4)
See merge request espressif/esp-idf!19900
2022-09-05 16:26:33 +08:00
morris
55039da3e5
Merge branch 'bugfix/bootloader_assert_v4.4' into 'release/v4.4'
...
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set (v4.4)
See merge request espressif/esp-idf!19943
2022-09-05 15:47:15 +08:00
xiongweichao
d0c19a0e74
Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
...
Closes https://github.com/espressif/esp-idf/issues/9672
2022-09-05 14:23:16 +08:00
Marius Vikhammer
518af54ded
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set
...
Closes https://github.com/espressif/esp-idf/pull/7518
2022-09-05 12:31:31 +08:00
Song Ruo Jing
9c7046375f
gpio: Fix ESP32S3 GPIO48 does not support hold function bug
...
GPIO_HOLD_MASK array was missing the last item
2022-09-05 03:47:43 +00:00
muhaidong
db00e4a8c2
esp_wifi: done beacon monitor timer when call pm deattach.
...
1. done beacon monitor timer when call pm deattach.
2. fix pairwise cipher tkip pmf compability issue.
2022-09-03 21:10:46 +08:00
Harshit Malpani
42756f7eff
esp_https_ota: fix bug where http_client_init_cb
is called after esp_http_client_perform()
instead of before.
...
Closes https://github.com/espressif/esp-idf/issues/9581
2022-09-02 16:15:50 +05:30
Cao Sen Miao
f2ac141ebf
temperature_sensor: Fix issue that value is not accurate on ESP32-S3
2022-09-02 16:03:39 +08:00
morris
d0ba3fd63e
Merge branch 'bugfix/propogate_isr_allocation_failure_v4.4' into 'release/v4.4'
...
Fix MCPWM multiplication overflow (v4.4)
See merge request espressif/esp-idf!19891
2022-09-02 10:00:00 +08:00
Marius Vikhammer
c16eb81c5f
Merge branch 'bugfix/miniz_header_doc_v4.4' into 'release/v4.4'
...
esp-rom: fixed error in miniz header documention for tdefl_init (v4.4)
See merge request espressif/esp-idf!19910
2022-09-02 09:54:24 +08:00
Pedro
a1e6041777
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-09-01 20:33:36 +08:00
Marius Vikhammer
92d018f4f1
esp-rom: fixed error in miniz header documention for tdefl_init
...
Closes https://github.com/espressif/esp-idf/issues/8435
2022-09-01 18:14:24 +08:00
Marius Vikhammer
f8bea48cad
soc: delete obsolete soc/cpu.h for S3
...
This file has been moved to esp_hw_support/, but it seems like we forgot to
delete the old one in soc/ for ESP32S3.
2022-09-01 15:09:16 +08:00
Marius Vikhammer
b6248014b9
heap: remove misleading info about malloc being equivalent to heap_caps_malloc(p, MALLOC_CAP_8BIT)
...
The actual memory allocated for malloc() depends on a lot of factors, see heap_caps_malloc_default()
Closes https://github.com/espressif/esp-idf/issues/7659
2022-09-01 14:33:03 +08:00
morris
ca831bbd63
mcpwm: fix multiplication overflow in converting us to compare ticks
...
Closes https://github.com/espressif/esp-idf/issues/9648
2022-09-01 05:11:23 +00:00
morris
645d5641dd
timer: propagate isr register failure
...
Closes https://github.com/espressif/esp-idf/issues/9651
2022-09-01 05:11:23 +00:00
Wang Meng Yang
836f9875b1
Merge branch 'bugfix/ble_disconnect_enable_light_sleep_and_bb_pd_v4.4' into 'release/v4.4'
...
bt: Fixed bluetooth disconnection issue when light sleep and baseband power down are enabled (v4.4)
See merge request espressif/esp-idf!19803
2022-09-01 11:33:22 +08:00
Cao Sen Miao
22b222b762
I2C: Make I2C clock frequency accurate
2022-08-29 09:07:30 +00:00
Jan Procházka
bff89fd71b
added missing call to set hold register bit
...
This commit fixes gpio_hold_en(pin) function for ESP32, where after wakeup from deep sleep, the pin gets reset to default state and stop holding the pin level.
2022-08-29 10:18:09 +08:00
xiongweichao
5852e93eba
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-26 16:03:57 +08:00
Guillaume Souchere
55a2b55bdb
heap: Add test to check that the corruption of free memory is detected
...
This commit extends the heap test set by adding a test to check corruption
detection in free memory block.
For each byte of the free block memory, the test changes the value of the byte,
call multi_heap_check(), make sure that the function returns 'corruption detected'
only when comprehensive poisoning is set, restore the good value of the byte, calls
multi_heap_check() again and make sure that it returns 'OK'.
2022-08-26 07:51:29 +02:00
Guillaume Souchere
6536e51a32
heap: Provide tlsf_check_hook() mechanism to check for memory corruption
...
Add a call to tlsf_check_hook() in tlsf_check() that calls
multi_heap_internal_check_block_poisoning() and check the memory
of every free blocks when heap poisoning is active.
2022-08-26 07:51:22 +02:00
Roland Dobai
e6fda46a02
Merge branch 's3_sysview_irq_names_v4.4' into 'release/v4.4'
...
Fix ESP32-S3 interrupt names used by SystemView (v4.4)
See merge request espressif/esp-idf!19676
2022-08-25 18:53:04 +08:00
Jiang Jiang Jian
41839b69bd
Merge branch 'bugfix/fix_ble_sch_arb_assert_v4.4' into 'release/v4.4'
...
Fixed BLE sch_arb assert on ESP32-C3 and ESP32-S3(backport v4.4)
See merge request espressif/esp-idf!19733
2022-08-25 13:44:20 +08:00
Rahul Tank
696760668a
Nimble: Fixed memory corruption introduced in reconnection attempt code
2022-08-25 04:54:02 +00:00
Wang Meng Yang
134170a6fc
Merge branch 'contrib/github_pr_9529_mr_v4.4' into 'release/v4.4'
...
bt:No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post()(v4.4)
See merge request espressif/esp-idf!19692
2022-08-25 10:44:43 +08:00
Zim Kalinowski
5927bc2227
Merge branch 'bugfix/freertos_eventgroup_test_flakiness_v4.4' into 'release/v4.4'
...
freertos: Fix flakey event group unit tests (v4.4)
See merge request espressif/esp-idf!19528
2022-08-24 19:08:55 +08:00
Zim Kalinowski
5b1bedec2a
Merge branch 'bugfix/remove_remaining_rom_time_t_dependencies_v4.4' into 'release/v4.4'
...
Newlib: Add workaround for ROM Newlib stdio functions using 32-bit time_t callpath (v4.4)
See merge request espressif/esp-idf!19684
2022-08-24 17:07:46 +08:00
Zim Kalinowski
72313054ad
Merge branch 'bugfix/nvs_part_ptr_wrong_init_4.4' into 'release/v4.4'
...
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr (backport v4.4)
See merge request espressif/esp-idf!18672
2022-08-24 17:06:53 +08:00
Jiang Jiang Jian
954299a063
Merge branch 'bugfix/wps_connection_issue_v4.4' into 'release/v4.4'
...
wpa_supplicant: Fix WPS connection issue after WPS done (v4.4)
See merge request espressif/esp-idf!19720
2022-08-24 14:07:27 +08:00
Marius Vikhammer
228737d978
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only
...
ESP_SLEEP_WAKEUP_GPIO is also a valid deep sleep wakeup cause on targets
with SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP
Closes https://github.com/espressif/esp-idf/issues/9567
2022-08-24 10:50:59 +08:00
Ivan Grokhotkov
300a4a16a5
Merge branch 'bugfix/add_signature_in_image_len_v4.4' into 'release/v4.4'
...
bootloader_support: consider signature sector in image length validation (v4.4)
See merge request espressif/esp-idf!19484
2022-08-23 20:19:52 +08:00
zwj
ad510c5099
Update BLE lib for ESP32-C3 and ESP32-S3
...
- update ble tx power level mapping
- Fixed ble sch_arb assert
2022-08-23 19:49:50 +08:00
zwj
fc4ffd144a
fix extend adv set remove failed
2022-08-23 19:49:40 +08:00
Aditya Patwardhan
606ada809a
esp_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data when it is given directory from flash
2022-08-23 13:27:03 +05:30
Kapil Gupta
4d9c4fd7e1
wpa_supplicant: Fix WPS connection issue after WPS done
...
esp_wifi_disconnect is needed to clear the wifi state and enable
station to connect to new SSID. Add changes to call it after
WPS is done.
2022-08-23 13:09:32 +05:30
morris
23d5a582cb
Merge branch 'bugfix/fix_rtc_clock_freq_value_macro_v4.4' into 'release/v4.4'
...
rtc_clk: Fix wrong RC_FAST and RC_SLOW clock frequency values on ESP32C3 and ESP32S3
See merge request espressif/esp-idf!19665
2022-08-22 15:54:32 +08:00
tgotic
810667fc1e
update code to use osi_free()
2022-08-22 15:40:48 +08:00
tgotic
879466e0cb
local copy of btc_msg_t
...
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-22 15:40:42 +08:00
Darian Leung
a45fcce631
newlib: Add workaround for printf functions using 32-bit time_t on first call
...
sizeof(time_t) was previously switched from 4 to 8, ROM functions that use
time_t or dependent types (such as "struct stat") are no longer called due as
they still treat sizeof(time_t) as 4 (see commit
24c20d18
).
However, there is a ROM callpath that was left out. If putchar is the first
stdio print related call, the call path will result in cantwrite() ->
__swsetup_r() -> __smakebuf_r() -> __swhatbuf_r() using the ROM "struct stat"
(where sizeof(time_t)==4).
Instead of removing all printf related ROM newlib functions (which will result
in increased binary size), this commit adds a workaround to setup the stdio
files before any print related calls occur.
This results in cantwrite() always returning false, thus the callpath described
above never being reached.
Closes https://github.com/espressif/esp-idf/issues/9269
2022-08-22 11:56:51 +08:00
morris
2bce0a19f6
Merge branch 'bugfix/fix_esp32_psram_cs_hold_time_issue_when_under_80m_v4.4' into 'release/v4.4'
...
esp_psram: fix esp32 psram cs hold time issue when under 40m (v4.4)
See merge request espressif/esp-idf!19648
2022-08-21 15:10:57 +08:00
Zim Kalinowski
f3ddf105a4
Merge branch 'bugfix/fix_disassembler_interpreting_padding_v4.4' into 'release/v4.4'
...
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file (backport v4.4)
See merge request espressif/esp-idf!19609
2022-08-20 03:49:58 +08:00
David Cermak
bd0ec74c2e
mdns: Fix add_service() to report error if no-hostname
2022-08-19 18:41:38 +02:00
ioio
350dd3798e
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr
...
Added unit test case.
Closes https://github.com/espressif/esp-idf/pull/8755
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2022-08-19 16:13:10 +02:00
Zim Kalinowski
0b0ca31386
Merge branch 'contrib/github_pr_9497_v4.4' into 'release/v4.4'
...
Move xSemaphoreGive out of configASSERT (GitHub PR) (v4.4)
See merge request espressif/esp-idf!19536
2022-08-19 21:06:43 +08:00
Erhan Kurubas
0784fd086a
esp32s3: fix interrupt names used by SystemView
2022-08-19 14:42:45 +02:00
Erhan Kurubas
5245c53d7a
replace CAN with TWAI in the esp_isr_names table
2022-08-19 14:39:37 +02:00
Guillaume Souchere
c6aa0928ab
freertos: Update the docuementation of the ulBitsToClearOnEntry parameter in xTaskGenericNotifyWait() function.
...
Closes https://github.com/espressif/esp-idf/issues/7207
The description of how the xTaskGenericNotifyWait parameter is handled in the
xTaskGenericNotifyWait() function was inaccurate.
In this commit, the description was updated to match the implementation of xTaskGenericNotifyWait().
2022-08-19 08:04:12 +02:00
Song Ruo Jing
b2f4fc022a
rtc_clk: Fix wrong RC_FAST and RC_SLOW clock frequency values on ESP32C3 and ESP32S3
2022-08-19 12:21:11 +08:00
Armando
d08be42a53
esp_psram: fixed 40mhz cs signal glitch issue
2022-08-18 20:33:12 +08:00
Shreyas Sheth
756b46ca96
esp_wifi: WPA3 SAE H2E support for station
...
Mandate sta threshold wpa3 for ssid after receiving transition disable
bit from AP
2022-08-18 02:55:51 +05:30
Omar Chebib
3154abc66e
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file
...
Adding prop and lit sections to the ELF will let the debugger and the disassembler
have more info about data bytes present in the middle of the Xtensa
instructions, usually used for padding.
2022-08-17 14:58:36 +08:00
Sudeep Mohanty
6dcb5bd1d3
rtci2c: Corrected the register base addr reference for RTC I2C on esp32s3
...
This commit corrects the register base address reference for RTC I2C on
esp32s3.
2022-08-15 14:50:14 +02:00
tgotic
047d75eee5
rename xHoldSemaphore to result
2022-08-12 17:54:34 +08:00
tgotic
d96121221d
Move xSemaphoreGive out of configASSERT
...
xSemaphoreGive won't be executed in configASSERT and semaphore will stay locked if NDEBUG (idf v5) or CONFIG_FREERTOS_ASSERT_DISABLE (idf v3, v4) are defined.
2022-08-12 17:54:29 +08:00
Darian Leung
b867b52770
freertos: Fix flakey event group unit tests
...
The event group unit tests would previously use a single call bit (the
"BIT_CALL" macro) to unblock all the test tasks. However, if one or more tasks
were delayed in calling xEventGroupWaitBits(), the other tasks would clear the
test bits, leading to the test deadlocking.
This commit updates the bits used so that each task gets their own CALL and
RESPONSE bits.
2022-08-12 16:54:59 +08:00
Jiang Jiang Jian
9d97b7ba50
Merge branch 'bugfix/bt_invalid_workqueue_num_v4.4' into 'release/v4.4'
...
Bluetooth:fixed the invalid workqueue number for BTU thread in Bluedroid(backport v4.4)
See merge request espressif/esp-idf!19510
2022-08-12 14:02:20 +08:00
Jiang Jiang Jian
34fbb676c7
Merge branch 'feature/optimize_chips_memory_allocation_backport_v4.4' into 'release/v4.4'
...
system: Optimize chips bootloader and heap memory allocation(backport v4.4)
See merge request espressif/esp-idf!19472
2022-08-12 11:19:06 +08:00
Jiang Jiang Jian
805b6af65d
Merge branch 'bugfix/wifi_bt_use_same_clock_source_v4.4' into 'release/v4.4'
...
Fix Wi-Fi does not know that Bluetooth has modified the lpclk source(v4.4)
See merge request espressif/esp-idf!19408
2022-08-12 11:05:43 +08:00
Jiang Jiang Jian
59fed9597d
Merge branch 'bugfix/remove_repeated_kconfig_for_h2' into 'release/v4.4'
...
esp32h2/kconfig: remove repeated kconfig
See merge request espressif/esp-idf!19507
2022-08-11 20:16:22 +08:00
wangmengyang
9aa32bc499
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-11 16:17:17 +08:00
jingli
6368633102
esp32h2/kconfig: remove repeated kconfig
2022-08-11 15:05:12 +08:00
wangjialiang
a426f4727d
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-11 14:14:02 +08:00
wangjialiang
3413b3d469
ble_mesh: stack: Add a check if the appkey is bound to the model.
...
For case MESH/NODE/CFG/MP/BI-03-C
2022-08-11 14:13:56 +08:00
wangjialiang
89bc1bc7e3
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
...
For MESH/NODE/CFG/HBS/BV-02-C
2022-08-11 14:13:49 +08:00
wangjialiang
246ed6232f
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-11 14:13:42 +08:00
wangjialiang
104ce885cb
ble_mesh: stack: The value of expect_ack_for will be rewrited after send_pub_key().
...
For case MESH/PVNR/PROV/BV-04-C
2022-08-11 14:13:35 +08:00
wangjialiang
28e4ceb7e1
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-11 14:13:27 +08:00
wangjialiang
f12c79c3ca
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-11 14:11:32 +08:00
wangjialiang
d31337c095
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-11 14:11:16 +08:00
Jiang Jiang Jian
4bf8f462a2
Merge branch 'opt/bluedroid_adv_report_datapath_v4.4' into 'release/v4.4'
...
Bluetooth/Bluedroid: optimize BLE adv report datapath and adv report flow control mechanism(backport v4.4)
See merge request espressif/esp-idf!19381
2022-08-11 11:20:42 +08:00
Jiang Jiang Jian
32e7672926
Merge branch 'contrib/github_pr_9498_backport4_4' into 'release/v4.4'
...
Bluetooth/Bluedroid: fix member typo(backport v4.4)
See merge request espressif/esp-idf!19458
2022-08-11 10:54:45 +08:00
Marius Vikhammer
6c2afe05cf
Merge branch 'bugfix/disable_rom_lgo_v4.4' into 'release/v4.4'
...
system: moved placement of disable rom log efuse in startup flow (v4.4)
See merge request espressif/esp-idf!19482
2022-08-11 09:18:50 +08:00
Ivan Grokhotkov
80d6e39edc
Merge branch 'staging/fix_heap_fail_callback_v4.4' into 'release/v4.4'
...
Heap: heap_caps_*_prefer functions now properly call alloc_failed callback (backport v4.4)
See merge request espressif/esp-idf!19481
2022-08-11 06:28:03 +08:00
Island
4fb74a808b
Merge branch 'bugfix/friend_and_lpn_issues_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix friend and lpn issues(v4.4)
See merge request espressif/esp-idf!19475
2022-08-10 13:50:52 +08:00
Mahavir Jain
58d93a89af
bootloader_support: consider signature sector in image length validation
...
For secure boot enabled cases, bootloader and firmware images have signature
appended and size is variable based on scheme being used. This appended data
must be considered while verifying image length against allocated partition
size to avoid any possibilities of going beyond reserved size.
Closes IDF-5617
2022-08-10 10:38:15 +05:30
Marius Vikhammer
a421e30cf2
system: moved placement of disable rom log efuse in startup flow
...
Functions used for burning this efuse would log, but at this point
esp_log is not initialized. Moved to a later point in the startup process.
Closes https://github.com/espressif/esp-idf/issues/9457
2022-08-10 12:17:51 +08:00
Omar Chebib
6906c34319
heap: add a unit test for malloc(0) and slightly optimize heap_caps_malloc_prefer
2022-08-10 11:41:01 +08:00
tgotic
b43e777e0a
fix malloc(0) and heap_caps_alloc_failed()
...
Don't call heap_caps_alloc_failed() for malloc(0) and calloc(0), because it is not an error.
Improve handling of malloc(0) and calloc(0).
Merges https://github.com/espressif/esp-idf/pull/9517
2022-08-10 11:40:53 +08:00
Omar Chebib
05575cc246
Heap: heap_caps_*_prefer functions now properly call alloc_failed callback
...
heap_caps_*_prefer functions will now only call heaps_caps_alloc_failed
callback if all attempts to allocation memory fail (and not after each attempt
anymore).
* Closes https://github.com/espressif/esp-idf/issues/9086
2022-08-10 11:40:32 +08:00
morris
56a89b920d
Merge branch 'bugfix/i2s_slot_sequence_v4.4' into 'release/v4.4'
...
i2s: fixed pdm rx sample rate doubled issue
See merge request espressif/esp-idf!19415
2022-08-10 11:10:37 +08:00
wangjialiang
2eb28028ed
ble_mesh: stack: Fix add continuously secure update into friend queue.
...
For MESH/NODE/FRND/FN/BV-20-C
2022-08-09 21:48:37 +08:00
wangjialiang
d21a87f60c
ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
...
For MESH/NODE/FRND/FN/BV-23-C
2022-08-09 21:48:22 +08:00
wuzhenghui
1fb1d6ecde
bugfix: malloc retention buffer with MALLOC_CAP_RETENTION caps
2022-08-09 20:56:59 +08:00
wuzhenghui
e3979eb14b
bugfix: DCache data memory is dma accessible but not retention dma accessible
2022-08-09 20:56:51 +08:00
wuzhenghui
decb47bb5d
use enum and designated initializers in soc_memory_type define
2022-08-09 20:54:01 +08:00
wuzhenghui
103b952525
ci: fix ci
2022-08-09 20:34:25 +08:00
wuzhenghui
9b7bed2243
Clean IRAM and DRAM address space conversion macros
2022-08-09 20:33:26 +08:00
Roland Dobai
f935c17a95
Tools: Fix Python style warnings
2022-08-09 14:30:52 +02:00
wuzhenghui
41bbc39669
stack/dram is also IRAM0 accessible
2022-08-09 20:28:29 +08:00
wuzhenghui
45a79bc135
update bootloader.ld rom_boot ram usage info
2022-08-09 20:28:04 +08:00
wuzhenghui
62ac5364e0
Use the entire sharedbuffer space as the heap of the D/IRAM attribute
2022-08-09 20:27:38 +08:00
wuzhenghui
d8432af3ab
update bootloader memory allocation
2022-08-09 20:02:46 +08:00
laokaiyao
53a5d51aea
i2s: fix PDM TX stereo mode for c3 and s3
2022-08-09 18:28:09 +08:00
laokaiyao
76cdab5f42
i2s: fixed pdm rx sample rate doubled issue
...
Closes: https://github.com/espressif/esp-idf/issues/8660
2022-08-09 18:28:09 +08:00
laokaiyao
482a37612d
i2s: fix 16bit slot sequence on esp32
2022-08-09 18:28:09 +08:00
linruihao
fdf7029078
Fixed union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-09 15:25:44 +08:00
tgotic
4c6d2e0da7
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-09 15:25:24 +08:00
Marius Vikhammer
f8729d905e
Merge branch 'feature/ulp_riscv_adc_v4.4' into 'release/v4.4'
...
ulp-riscv: add support for using ADC as well as an example show-casing it. (v4.4)
See merge request espressif/esp-idf!19058
2022-08-09 15:00:50 +08:00
morris
22b847fc5f
Merge branch 'bugfix/memory_region_define_rtc_fast_v4.4' into 'release/v4.4'
...
backport v4.4: substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
See merge request espressif/esp-idf!19423
2022-08-09 14:38:40 +08:00
Marius Vikhammer
a968442603
Merge branch 'bugfix/ringbuf_iram_fix_v4.4' into 'release/v4.4'
...
esp_ringbuf: placement in flash is no longer controlled by... (v4.4)
See merge request espressif/esp-idf!19165
2022-08-09 11:01:52 +08:00
Marius Vikhammer
f8f93d936e
ulp-riscv: add support for using ADC as well as an example show-casing it.
2022-08-09 09:21:15 +08:00
Marius Vikhammer
a940064748
esp_ringbuf: placement in flash is no longer controlled by CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH
...
esp-ringbuf funtion placement is now controlled by its own configs:
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH and CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH
Closes https://github.com/espressif/esp-idf/issues/9198
2022-08-08 07:15:00 +00:00
Omar Chebib
cb411a81a2
I2C: Fix a bug making the I2C task wait too long on an event
...
The I2C ISR will now notify the task waiting on an event. Thus, the task can stop waiting on the event queue as soon as possible.
2022-08-08 06:10:31 +00:00
Li Shuai
12db32642c
substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
2022-08-08 11:27:10 +08:00
Li Shuai
11ac122c53
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-05 12:57:47 +08:00
Li Shuai
970420a923
Power Management: fix the issue of sleeping time error beacause external 32kHz xtal does not exist
2022-08-05 11:30:36 +08:00
xiongweichao
8f0c559c03
make bluetooth and wifi use the same low power clock
2022-08-05 11:22:22 +08:00
xiongweichao
cf9309c8a2
ESP32S3:bluetooth support use main XTAL in light sleep mode
2022-08-05 11:21:59 +08:00
xiongweichao
9332413407
ESP32C3:bluetooth support use main XTAL in light sleep mode
2022-08-05 11:21:58 +08:00
Jiang Jiang Jian
d16797b447
Merge branch 'bugfix/further_fix_for_mspi_current_leakage_backport_v4.4' into 'release/v4.4'
...
system/sleep: further fix spi flash/ram current leakage(backport v4.4)
See merge request espressif/esp-idf!19212
2022-08-04 14:46:56 +08:00
Jiang Jiang Jian
68dd89971e
Merge branch 'bugfix/backtrace_formatting_add_missing_space_v4.4' into 'release/v4.4'
...
Reverts Backtrace: format to what it used to be (v4.4)
See merge request espressif/esp-idf!19123
2022-08-04 14:46:31 +08:00
Jiang Jiang Jian
46f5c59cc2
Merge branch 'bugfix/set_ipv6_dns_error_v4.4' into 'release/v4.4'
...
lw ip: Fixed that ipv6 dns cannot work (v4.4)
See merge request espressif/esp-idf!19062
2022-08-04 14:45:58 +08:00
Jiang Jiang Jian
905b3b1718
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues_v4.4' into 'release/v4.4'
...
Fix some bluedroid issues(backport v4.4)
See merge request espressif/esp-idf!19130
2022-08-04 14:45:44 +08:00
Jiang Jiang Jian
0544069689
Merge branch 'bugfix/put_sempher_and_queue_used_in_isr_into_DRAM_v4.4' into 'release/v4.4'
...
Make sure semphr/queue used in interrupt is in DRAM
See merge request espressif/esp-idf!18988
2022-08-04 14:44:56 +08:00
Jiang Jiang Jian
d3eeebf8f8
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow_v4.4' into 'release/v4.4'
...
Fixed bluedroid host memory overflow for v4.4
See merge request espressif/esp-idf!19060
2022-08-04 14:44:40 +08:00
Jiang Jiang Jian
869abf8a3f
Merge branch 'bugfix/freertos_event_group_unblock_race_condition_v4.4' into 'release/v4.4'
...
FreeRTOS: Fix event group task list race condition (v4.4)
See merge request espressif/esp-idf!19103
2022-08-04 14:43:45 +08:00
Jiang Jiang Jian
9f9021a221
Merge branch 'bugfix/multiple_adc_bugfix_v4.4' into 'release/v4.4'
...
adc: fix multiple bugs (v4.4)
See merge request espressif/esp-idf!19142
2022-08-04 14:42:53 +08:00
Jiang Jiang Jian
bfb88338bb
Merge branch 'bugfix/memory_debug_not_work_v4.4' into 'release/v4.4'
...
bugfix/fix the dependency error of macro for memory debug (v4.4)
See merge request espressif/esp-idf!19237
2022-08-04 14:42:12 +08:00
Jiang Jiang Jian
79a8ad665a
Merge branch 'bugfix/memory_copy_bugs_in_bluedroid_4.4' into 'release/v4.4'
...
components_bt/bluedroid: Fix Memory Copy Build Err [backport v4.4]
See merge request espressif/esp-idf!19311
2022-08-04 14:41:58 +08:00
Jiang Jiang Jian
66a1de0843
Merge branch 'bugfix/fix_legacy_pair_not_send_link_key_host_v4.4' into 'release/v4.4'
...
component_bt: fix legacy pair controller does not send the link key to the host (v4.4)
See merge request espressif/esp-idf!19320
2022-08-04 14:41:45 +08:00
Jiang Jiang Jian
aa81e5bbbe
Merge branch 'bugfix/fix_bt_sphinx_warnings_4.4' into 'release/v4.4'
...
components_bt: fix unstandard typedefs [backport v4.4]
See merge request espressif/esp-idf!19338
2022-08-04 14:41:28 +08:00
Jiang Jiang Jian
40a8214314
Merge branch 'feature/esp_lcd_spi_rx_v4.4' into 'release/v4.4'
...
Add support SPI rx into LCD component (backport v4.4)
See merge request espressif/esp-idf!19122
2022-08-04 14:41:03 +08:00
Li Shuai
e4c5e5a701
sleep: beacon loss and noise check timer optimize for wifi power save
2022-08-04 12:11:39 +08:00
Mahavir Jain
c0d04787ca
Merge branch 'feature/rainmaker_BT_configurable_v4.4' into 'release/v4.4'
...
Wifi_prov_mgr: Made BT configurable after provisioning is completed (v4.4)
See merge request espressif/esp-idf!19263
2022-08-04 11:49:36 +08:00
Mahavir Jain
6854841267
Merge branch 'contrib/github_pr_9446_v4.4' into 'release/v4.4'
...
Add missing comma (GitHub PR) (v4.4)
See merge request espressif/esp-idf!19307
2022-08-04 11:47:02 +08:00
Roland Dobai
b2770bd18e
Merge branch 'tools/mfg_fix_blank_lines_csv_v4.4' into 'release/v4.4'
...
tools: Introduce support for blank lines in config and value files for mfg utility (v4.4)
See merge request espressif/esp-idf!19253
2022-08-03 22:49:14 +08:00
Roland Dobai
575d28e56c
Merge branch 'contrib/github_pr_9408_v4.4' into 'release/v4.4'
...
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2 (GitHub PR) (v4.4)
See merge request espressif/esp-idf!19306
2022-08-03 22:49:02 +08:00
Karl Wang
e5a96aaca6
component/bt: use OSI utility "osi_event" for HCI downstream data processing
2022-08-03 21:55:08 +08:00
wangmengyang
c6c4a23098
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-03 21:55:07 +08:00
Karl Wang
6c0c837378
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-03 21:55:06 +08:00
wangmengyang
aaf1d3909d
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-03 21:55:05 +08:00
wangmengyang
c3f5b85032
component/bt: add a timer to monitor the adv flow control credits downwards procedure
2022-08-03 21:55:04 +08:00
wangmengyang
b735c46ba7
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-03 21:55:03 +08:00
wangmengyang
2ef0627c2c
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-03 21:55:02 +08:00
wangmengyang
dcf173c95a
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-03 21:55:01 +08:00
wangmengyang
c9ebba2ddf
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
...
# Conflicts:
# components/bt/host/bluedroid/hci/hci_hal_h4.c
2022-08-03 21:54:52 +08:00
wangmengyang
71c072cc8c
component/bt: use the OSI utility "osi_event" for hci_hal_h4 upstream data packets handling
2022-08-03 21:50:38 +08:00
wangmengyang
88af2c548f
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-03 21:50:37 +08:00
wangmengyang
ceb4096287
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-03 21:50:36 +08:00
wangmengyang
93d4306aff
component/bt: add new OSI utility "fixed_pkt_queue", which has same functionality with "fixed_queue"
2022-08-03 21:50:35 +08:00
Karl Wang
96cbdee383
component/bt: add new OSI utility "pkt_queue" which acts as a mutex-protected linked list, to be used as data queue between tasks
2022-08-03 21:50:34 +08:00
wangmengyang
6edcab3885
component/bt: add new OSI utility "osi_event" to support the scenario that event need only to be handle once.
2022-08-03 21:50:33 +08:00
wangmengyang
1e06076c3c
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-03 21:50:32 +08:00
wangmengyang
d635d8f361
component/bt: modify the implementation of osi_thread using freeRTOS queue
2022-08-03 21:50:31 +08:00
Roland Dobai
1b16ef6cfc
versions: Update version to 4.4.2
2022-08-02 14:06:15 +02:00
weitianhua
72fd3bc1e6
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-08-02 13:39:36 +08:00
xiongweichao
c4491c352d
fix legacy pair controller does not send the link key to the host
...
Closes https://github.com/espressif/esp-idf/issues/5850
2022-08-01 19:07:16 +08:00
weitianhua
5b648b8452
components_bt/bluedroid: Fix Memory&String Copy Build Err
...
1. When setting compilier into -O2 optimization, build for classic bt demo will get wrong
2. Fix a memcpy bug that maybe get memory truncated
Closes https://github.com/espressif/esp-idf/issues/9398
2022-08-01 14:27:56 +08:00
FanhuaCloud
dc626195f0
Add missing comma
...
Add missing comma when CONFIG_ESP32S3_DATA_CACHE_16KB is enabled
2022-08-01 09:17:40 +05:30
Angus Gratton
b765963c7c
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2
...
As documented, the limit for NVS format v2 is 4000 bytes for a string.
2022-08-01 09:12:39 +05:30
Jiang Jiang Jian
6d85d53cee
Merge branch 'bugfix/qatest_spp_crash_v4.4' into 'release/v4.4'
...
bugfix/qatest spp crash (v4.4)
See merge request espressif/esp-idf!19238
2022-07-28 16:06:56 +08:00
jingli
236bd27134
further fix spi flash/ram current leakage
...
Currently, we pull up cs io for spi flash/ram to reduce current leakage during
light sleep. But some kind of spi flash/ram chip need all io pull up. Otherwise,
current leakage will still exist.
2022-07-28 13:11:55 +08:00
jingli
5f2855882b
kconfig: fix kconfig help of power down flash
2022-07-28 13:10:55 +08:00
jingli
23d934429c
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep
...
Since cpu retention dma use rc fast as clk source, so rc_fast_digi
will be enabled when we config to pd cpu. And cpu retention does not
need rc fast keep on during light sleep. So, if we use rc_fast_digi
to determine whether rc fast can be powered down, then cpu and and
rc fast cannot pd at the same time.
2022-07-28 11:24:40 +08:00
wanlei
92abac1fd8
psram: fixed heap pool reservation for DMA/internal usage fail issue
...
As heap block may be allocated into multiple non-continuous chunks, to
reserve enough memory for dma/internal usage, we do the malloc in the
step of max available block.
2022-07-28 10:12:17 +08:00
jincheng
a066de7fec
1. add protect for bt_util_buf_env buffers when multi-access
...
2. ignore assert_err in em_bt_clkoff1_setf
2022-07-27 18:01:12 +08:00