Commit Graph

233 Commits

Author SHA1 Message Date
Jiang Jiang Jian
8ab78803d4 Merge branch 'bugfix/s3_wakeup_light_sleep_rtc_wdt_timeout' into 'master'
component_bt: Fixed rtc watchdog timeout when waking up light sleep due to some functions not in IRAM

See merge request espressif/esp-idf!18757
2022-07-04 18:21:29 +08:00
morris
7863c1bc45 Merge branch 'bugfix/fix_rtc_freq_err_for_h2_beta1' into 'master'
Bugfix/fix rtc freq err for h2 beta1

See merge request espressif/esp-idf!18682
2022-07-04 16:46:17 +08:00
Wang Meng Yang
73cfc078a0 Merge branch 'bugfix/restore_edr_en_and_protect_for_vhci_env' into 'master'
bugfix/restore edr_en and add protect for vhci_env

Closes IDFGH-6254, IDFGH-6766, IDFGH-7605, and AUD-3629

See merge request espressif/esp-idf!18388
2022-07-01 19:31:01 +08:00
GengYuchao
95c8d775d0 Update lib for h2 beta2 2022-06-30 17:02:00 +08:00
GengYuchao
b474c83840 Add support for esp32h2 beta2 2022-06-30 17:02:00 +08:00
GengYuchao
07a470bccc Update ble lib for h2 beta1 2022-06-30 17:02:00 +08:00
xiongweichao
9531fae1d3 Fixed rtc watchdog timeout when waking up light sleep due to some functions not in IRAM 2022-06-29 19:56:47 +08:00
zwj
ed593ba168 update ble lib (444e4a2b)
- fix rpa entry err if addr resol is disabled
- fix aux connect crash
2022-06-27 14:50:26 +08:00
jincheng
70d892fbb8 restore edr_en which was wrongly cleared by role switch
add critical protection for vhci_env_p->vhci_intr_st
ignore max_page when handle remote features

Closes https://github.com/espressif/esp-idf/issues/7923
Closes https://github.com/espressif/esp-idf/issues/8394
Closes https://github.com/espressif/esp-idf/issues/1921
2022-06-21 19:23:41 +08:00
GengYuchao
1dabebf771 Fix Kconfig format issue and add option 2022-06-20 17:00:12 +08:00
GengYuchao
b2f8a3c694 Update bt controller interface file 2022-06-20 17:00:12 +08:00
GengYuchao
633e9282b7 Update the CMake compilation architecture and update the controller configuration options 2022-06-20 17:00:12 +08:00
GengYuchao
d1afa7f8d5 Update ble controller lib for esp32c2 2022-06-20 17:00:12 +08:00
Jack
cb0dd5cc75 fix the bug that some memory leaked in phy after wifi/ble deinit 2022-06-16 20:42:20 +08:00
zwj
fd90341138 support ble modem sleep and light sleep 2022-06-14 19:52:50 +08:00
Jiang Jiang Jian
b617ccfb4c Merge branch 'feature/esp32c2_eco1_bluetooth_update_0525_for_MR' into 'master'
Support bluetooth for esp32c2 chip

See merge request espressif/esp-idf!18243
2022-06-04 17:35:17 +08:00
Geng Yuchao
910b296d72 Add missing configuration items for BLE controller 2022-06-04 11:35:18 +08:00
Geng Yuchao
8533457208 Add bluetooth controller lib for esp32c2 2022-06-04 01:00:04 +08:00
Geng Yuchao
0722e6a0b7 Update controller lib for esp32h2 2022-06-04 01:00:04 +08:00
Geng Yuchao
5bba3ebed9 Fix esp32h2 controller support. 2022-06-04 00:59:56 +08:00
Geng Yuchao
5c3f0bfe7c Add esp32c2 controller support. 2022-06-04 00:59:21 +08:00
Geng Yuchao
50b762af1f Add Bluetooth controller menuconfig option for esp32c2 and esp32h2 2022-06-03 22:41:33 +08:00
xiongweichao
d888665160 Bluetooth build fail when power management is enabled
Closes https://github.com/espressif/esp-idf/issues/9081
2022-06-02 10:46:19 +08:00
satish.solanke
3a42007680 Bluedroid porting changes for esp32h2
created common Kconfig for common flag of nimbble and Bluedroid

fix compile error

created common cfg file for controller

fix the compilation error on tip of master

added common controller flags and fixed compilation error

sdkconfig rename for target specific
2022-05-30 08:42:45 +00:00
Jiang Jiang Jian
0e94779b2e Merge branch 'feature/support_esp32c2_wifi_new' into 'master'
Bringup ESP32C2 Wi-Fi

Closes IDF-3905

See merge request espressif/esp-idf!18136
2022-05-29 18:25:24 +08:00
Jack
7a8b63869f deinit BB MAC back memory when they are not used 2022-05-29 00:13:32 +08:00
Anton Maklakov
cfa3e68d1b bt: esp32s3, make int types consistent 2022-05-27 08:03:54 +00:00
Anton Maklakov
877dc3e304 bt: make int types consistent 2022-05-27 08:03:54 +00:00
songruojing
a5b09cf015 rtc_clk: Clean up some clock related enum and macro in soc/rtc.h, replace with new ones in
soc/clk_tree_defs.h
2022-05-24 22:59:41 +08:00
Karl Wang
777dbb6c83 components/bt: disable Bluetooth PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues 2022-05-17 20:00:23 +08:00
Jiang Jiang Jian
baa5b8ed7d Merge branch 'bufix/esp32c3_s3_build_err' into 'master'
component_bt: Fix ESP32C3/S3 build error after enabled light sleep

Closes BT-2086

See merge request espressif/esp-idf!17546
2022-05-01 17:48:18 +08:00
Marius Vikhammer
d2872095f9 soc: moved kconfig options out of the target component.
Moved the following kconfig options out of the target component:
 * CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
 * ESP*_REV_MIN -> esp_hw_support
 * ESP*_TIME_SYSCALL -> newlib
 * ESP*_RTC_* -> esp_hw_support

Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
songruo
60bb5c913d clk_tree: prework of introducing clk subsystem control
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
   upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
   Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
xiongweichao
2be8875fd7 Fix ESP32C3/S3 build error after enable light sleep 2022-03-24 11:43:04 +08:00
Anton Maklakov
68e5d9d585 Remove IRAM_ATTR from any function declarations
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00
Rahul Tank
f376bb5d05 Add support in Nimble for ESP32H2 2022-03-14 11:57:53 +05:30
Sudeep Mohanty
a9fda54d39 esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Yang Zhao
000f398ab9 Update ESP32-C3 and ESP32-S3 bt lib and phy lib
Add the pll track feature to keep the ble connection stable when the environment
temprature increase form 0 to 74.
2022-03-03 07:39:22 +00:00
xiongweichao
3fe222d17b Fix crash when host exit sniff mode 2022-03-02 03:56:52 +00:00
xiewenxiang
dd9e2f4ac6 components/bt: Fix ble adv_underrun issue
components/bt: Fix LLCP collision for channel map update
2022-02-16 16:35:00 +08:00
morris
ef00bd59dc esp_rom: extract int matrix route and cpu ticks getter 2022-02-09 13:52:20 +08:00
Kevin (Lao Kaiyao)
bf8d4d55d0 Merge branch 'refactor/rename_esp8684_to_esp32c2' into 'master'
esp8684: rename esp8684 to esp32c2

Closes IDF-4530

See merge request espressif/esp-idf!16745
2022-01-19 09:08:58 +00:00
laokaiyao
cf049e15ed esp8684: rename target to esp32c2 2022-01-19 11:08:57 +08:00
wangmengyang
941165e380 components/bt: fix the definition of "le_scan_duplicate_option" to avoid defining common symbols 2022-01-17 10:46:00 +08:00
jincheng
6a9afa65a2 fix cs event for rd_rem_ext_feats delayed issue 2022-01-05 14:48:04 +08:00
xiewenxiang
54298708fe component/bt: Support set HW CCA threshold value 2021-12-28 18:15:18 +08:00
wangmengyang
219bffce9f component/bt: fixed coexistence scannable extended adv performance issue 2021-12-22 10:55:33 +08:00
Chinmay Chhajed
556cd73a7e bt/bugfix: ACL Rx data is sent to host before enc change event 2021-12-09 15:23:50 +08:00
baohongde
c138e47f45 components/bt: Update licenses 2021-12-08 10:59:06 +08:00
Cao Sen Miao
eddc196081 esp_clk: refactor target/clk.h to private/esp_clk.h 2021-11-26 14:56:30 +08:00