Commit Graph

21663 Commits

Author SHA1 Message Date
Island
00215f3414 Merge branch 'bugfix/restore_missing_ble_mesh_videos_v4.4' into 'release/v4.4'
ble_mesh: doc: Restore missing ble mesh videos(v4.4)

See merge request espressif/esp-idf!19403
2022-08-08 17:12:01 +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
wangjialiang
58811bec45 ble_mesh: doc: Restore missing ble mesh videos 2022-08-05 11:51:57 +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
9fe854c4ca Merge branch 'bugfix/vendor_model_send_message_no_memory_forv4.4' into 'release/v4.4'
ble_mesh:example: free the memory of malloc (v4.4)

See merge request espressif/esp-idf!19185
2022-08-04 14:47:22 +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
d4507a380e Merge branch 'bugfix/corrected_typo_in_example_peripherals_usb_v4.4' into 'release/v4.4'
example: peripherals/usb: fix typo naming of local variables (backport v4.4)

See merge request espressif/esp-idf!19100
2022-08-04 14:46:44 +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
6770180781 Merge branch 'bugfix/fix_write_to_null_pointer_if_malloc_failed_issue_v4.4' into 'release/v4.4'
Bugfix/fix write to null pointer if malloc failed issue(Backport v4.4)

See merge request espressif/esp-idf!19352
2022-08-04 14:41:17 +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
Jiang Jiang Jian
824a5547b7 Merge branch 'feature/wifi_beacon_loss_optimize_v4.4' into 'release/v4.4'
backport v4.4: beacon loss and noise check timer optimize for wifi power save

See merge request espressif/esp-idf!19172
2022-08-04 14:23:14 +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
Roland Dobai
8ed69bd03a Merge branch 'bugfix/s3_dfu_tool_v4.4' into 'release/v4.4'
dfu: add esp32s3 to supported DFU targets for idf.py (v4.4)

See merge request espressif/esp-idf!19166
2022-08-03 22:48:44 +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