Commit Graph

1131 Commits

Author SHA1 Message Date
fl0wl0w
90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.

[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
Jiang Jiang Jian
b4fe434d2e Merge branch 'bugfix/fix_esp_wifi_scan_start_memory_leakage_issue' into 'master'
fix(wifi): fix esp_wifi_scan_start memory leakage issue

Closes IDFGH-9313

See merge request espressif/esp-idf!28869
2024-02-05 19:23:33 +08:00
Island
4c190c56e6 Merge branch 'bugfix/fix_hci_uart_with_flow_ctrl_off' into 'master'
fix(bt/example): Fixed UART HCI when flow control is off on ESP32C3

See merge request espressif/esp-idf!27712
2024-02-04 16:00:48 +08:00
YuanMingFu
ef2935e955 fix: example: blemesh lightbulb driver 2024-02-03 16:40:53 +08:00
muhaidong
d278ffc501 fix(wifi): fix esp_wifi_scan_start memory leakage issue
Closes https://github.com/espressif/esp-idf/issues/10693
2024-02-03 16:32:09 +08:00
Roshan Bangar
51efb20516 feat(nimble): Nimble Host only mode over uart 2024-01-31 09:49:21 +05:30
Rahul Tank
c8220ad5af Merge branch 'feat/features_and_fixes_for_pts_qualification' into 'master'
feat(nimble): Features and Fixes for PTS Qualification

Closes BLERP-427, BLERP-429, and BLERP-430

See merge request espressif/esp-idf!28608
2024-01-29 13:37:45 +08:00
morris
fe2fbc99f7 Merge branch 'fix/esp_ble_mesh_aligenie_build_rules' into 'master'
fix(esp_ble_mesh): Remove separate AliGenie example build rules

See merge request espressif/esp-idf!28612
2024-01-29 11:05:51 +08:00
SumeetSingh19
7ad6df977e feat(nimble): additional AD types for advertisements 2024-01-25 18:34:55 +05:30
SumeetSingh19
7bda1db4f8 feat(nimble): authorization permission on gatt read and write 2024-01-25 18:34:55 +05:30
Darian Leung
8f15dd1ce0 fix(esp_ble_mesh): Remove separate AliGenie example build rules
The AliGenie example can run on all targets that support esp_ble_mesh (i.e.,
SOC_BLE_MESH_SUPPORTED). Thus, the example does not require a separate build
rule.
2024-01-22 19:57:54 +08:00
InfiniteYuan
728ff8dc99 ble_mesh: example: fix the structure init order to meet C++ requirements
Closes https://github.com/espressif/esp-idf/issues/8110
2024-01-22 14:14:34 +08:00
Island
b0a58d7080 Merge branch 'ble_dev/added_ble_power_save_pytest' into 'master'
Added pytest case for BLE power save example.

Closes BLERP-449

See merge request espressif/esp-idf!28384
2024-01-22 10:41:19 +08:00
Island
b667d20312 Merge branch 'bugfix/ble_update_lib_20231229' into 'master'
update lib on master

Closes BLERP-414, BLERP-415, BLERP-416, BLERP-418, BLERP-419, BLERP-417, BLERP-355, BLERP-420, BLERP-421, BLERP-422, BLERP-443, BLERP-445, BLERP-444, BLERP-442, BLERP-446, and BT-3558

See merge request espressif/esp-idf!28186
2024-01-22 10:38:16 +08:00
cjin
9533df5c39 feat(ble): added pytest for ble power save example 2024-01-19 17:23:35 +08:00
luomanruo
dededd1267 change(ble): npl count is zero if nimble host is not used
change(ble): added npl eventq put to front

change(ble): added cache safe check in ble power save example

ble(update):
    Update c2 lib to 91b81332
    Update h2 lib to 620fbe79
    Update c6 lib to 620fbe79

fix(ble): fix stack overflow disable at sleep

Revert "change(ble): added ble cca en and thresh option"

This reverts commit 71901499b9.
2024-01-19 16:13:12 +08:00
xiongweichao
a4f228da46 fix(ble): Fixed the issue of being unable to enter light sleep
- Fixed the issue where light sleep cannot be entered when external 32k XTAL does not exist
2024-01-17 10:29:43 +08:00
MinZai97
15583ed635 feat: replace lightdriver, and support more chips in ble mesh examples 2024-01-16 17:07:01 +08:00
Jin Cheng
057eb7061d feat(bt/bluedroid): Added an event to notify the encryption mode to applicaiton layer 2024-01-05 09:40:38 +08:00
Jin Cheng
8582f9bedf fix(bt/bluedroid): corrected the strings of A2DP audio states 2024-01-04 17:52:11 +08:00
Island
562b5795bd Merge branch 'bugfix/ble_coex_gattc_gatts' into 'master'
fix(bt/bluedroid): Update ble gattc gatts coex example

See merge request espressif/esp-idf!28098
2024-01-03 15:00:26 +08:00
Wan Lei
bbe91fadbd Merge branch 'feature/esp_driver_ledc' into 'master'
feat(ledc): make esp_driver_ledc as component

See merge request espressif/esp-idf!28163
2023-12-29 21:15:55 +08:00
zhanghaipeng
216b9da33d fix(bt/bluedroid): Optimize ble remove all bonded devices function 2023-12-29 19:28:06 +08:00
Jin Cheng
6ee9b95960 feat(bt/bluedroid): Added report for the type of link key in ESP_BT_GAP_AUTH_CMPL_EVT 2023-12-29 16:22:04 +08:00
zhanghaipeng
96626cb110 fix(bt/bluedroid): Update ble ibeacon example document 2023-12-29 14:16:11 +08:00
zhanghaipeng
cfd84e654c fix(bt/bluedroid): Update ble gattc gatts coex example 2023-12-29 12:14:39 +08:00
wanlei
82f26471f0 feat(ledc): make esp_driver_ledc as component 2023-12-29 11:28:19 +08:00
Wang Meng Yang
4c8f6c5458 Merge branch 'feat/add_get_device_name_api' into 'master'
feat(bt/bluedroid): Added API to get local device name

Closes BT-3526

See merge request espressif/esp-idf!27667
2023-12-27 10:37:33 +08:00
zhanghaipeng
ed036e0ebe fix(bt/bluedroid): Fix prepare write for BLE example 2023-12-21 10:59:26 +08:00
Song Ruo Jing
0e759c6deb Merge branch 'refactor/esp_driver_uart' into 'master'
refactor(uart): make uart driver as component

Closes IDF-8384

See merge request espressif/esp-idf!27333
2023-12-18 19:16:34 +08:00
Roshan Bangar
96ed1ae7a7 feat(nimble): added HID over Gatt profile support 2023-12-16 17:42:49 +05:30
Jin Cheng
a3f68aef8a feat(bt/bluedroid): Added API to get local device name 2023-12-15 19:30:12 +08:00
Song Ruo Jing
6ad80f0332 refactor(uart): make uart driver as component, and fix astyle 2023-12-15 17:03:51 +08:00
chenjianhua
5c2c0884fe fix(bt/example): Fixed UART HCI when flow control is off on ESP32C3 2023-12-06 15:37:04 +08:00
Darian
e3191df37a Merge branch 'change/deprecate_legacy_xtensa_include_path' into 'master'
change(xtensa): Deprecate legacy include paths

Closes IDF-7230

See merge request espressif/esp-idf!26725
2023-12-05 15:05:29 +08:00
Island
94d7ec7a38 Merge branch 'bugfix/bluedroid_menuconfig' into 'master'
Bugfix/bluedroid menuconfig

Closes BLERP-317

See merge request espressif/esp-idf!27508
2023-12-04 16:30:05 +08:00
Island
e3ab9f009b Merge branch 'feat/support_ble_create_sync_report' into 'master'
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate

Closes BLERP-216

See merge request espressif/esp-idf!26923
2023-12-01 17:17:48 +08:00
Darian Leung
2204c8e137 change(xtensa): Deprecate ".../xtensa_api.h" include path
This commit deprecates the "freertos/xtensa_api.h" and "xtensa/xtensa_api.h"
include paths. Users should use "xtensa_api.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
zhanghaipeng
a5a7e60ad0 docs(bt/bluedroid): Update ble example document 2023-11-30 10:42:49 +08:00
Kevin (Lao Kaiyao)
ff45ef6516 Merge branch 'refactor/esp_driver_dac' into 'master'
refactor(dac): make dac driver as component

Closes IDF-8370

See merge request espressif/esp-idf!27264
2023-11-24 11:28:23 +08:00
laokaiyao
ef7772eee0 refactor(dac): make dac driver as component 2023-11-23 12:04:06 +08:00
Marius Vikhammer
47690e2465 ci(nimble): removed ci configs which set esp32 only options 2023-11-23 12:03:13 +08:00
Jiang Jiang Jian
676968ab0e Merge branch 'bugfix/ble_update_lib_1110' into 'master'
Bugfix/ble update lib 1110

Closes BLERP-242, BLERP-248, BLERP-241, BLERP-243, BLERP-239, BLERP-256, BLERP-257, BLERP-258, BLERP-259, BLERP-260, BLERP-261, BLERP-262, BLERP-240, BLERP-227, BLERP-214, BLERP-266, BLERP-267, BLERP-268, BT-3481, WIFI-6313, and BLERP-287

See merge request espressif/esp-idf!27060
2023-11-23 11:05:18 +08:00
Rahul Tank
229d275fb1 Merge branch 'bugfix/cleanup_nimble_sdkconfig' into 'master'
ci(nimble): Cleanup sdkconfig files for nimble examples

Closes IDF-8496

See merge request espressif/esp-idf!26932
2023-11-22 14:48:19 +08:00
Jiang Jiang Jian
275a7ec2a2 Merge branch 'fix/esp32c6_sleep_pll_issue' into 'master'
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue

Closes BLERP-105, BLERP-213, and BLERP-234

See merge request espressif/esp-idf!26208
2023-11-22 10:29:48 +08:00
luomanruo
30f4a43556 ci(ble/bluedroid): Add notes in sdkconfig.defaults 2023-11-21 15:00:55 +08:00
Rahul Tank
843f48fb00 ci(nimble): Cleanup sdkconfig files 2023-11-21 11:52:11 +05:30
Lou Tian Hao
cde12242b4 Merge branch 'feature/support_ext1_clear_spec_pins' into 'master'
feat: support ext1 add or remove spec pin for chips which support ext1 wakeup

Closes IDFGH-11440

See merge request espressif/esp-idf!26999
2023-11-21 11:29:33 +08:00
cjin
e98e291601 fix(pm): switch root clk src to PLL for modem reg opt and added callback 2023-11-21 10:18:32 +08:00
Lou Tianhao
8db9f79bd2 change(pm/ext1): replace esp_sleep_set_ext1_wakeup_io by esp_sleep_enable_ext1_wakeup_io 2023-11-20 16:04:01 +08:00
gongyantao
cbb3da69ae ci(bt/bluedroid): remove configs that are not in effect 2023-11-20 14:32:13 +08:00
laokaiyao
74441d14ab refactor(i2s): make i2s driver as component 2023-11-17 21:29:17 +08:00
Lou Tianhao
a02f72bb81 change(pm/ext1): replace deprecated ext1 func 2023-11-17 16:20:54 +08:00
zhiweijian
e807347a46 ci(ble/bluedroid):cleanup BLE examples sdkconfig 2023-11-16 19:56:39 +08:00
wangjialiang
89e43ff595 feat(ble mesh): Remove BLE Mesh coex_test example 2023-11-15 12:02:58 +08:00
zhanghaipeng
4c9861d40d feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-11-09 17:30:23 +08:00
Song Ruo Jing
8029946cba Merge branch 'refactor/esp_driver_gpio' into 'master'
refactor(gpio): make gpio driver as component

See merge request espressif/esp-idf!26509
2023-11-06 15:03:30 +08:00
Roshan Bangar
aabb595860 feat(nimble): Added example support for Current Time Service 2023-11-04 13:21:59 +05:30
Song Ruo Jing
9461993ec5 refactor(gpio): make gpio driver as component, and fix astyle 2023-11-03 15:42:23 +08:00
Wang Meng Yang
144ee32e58 Merge branch 'fix/exception_was_unhandled_for_bt_spp_vfs_acceptor' into 'master'
fix(bt/bluedroid): fix LoadProhibited error in spp vfs acceptor example

Closes BT-3472

See merge request espressif/esp-idf!26844
2023-11-02 11:11:57 +08:00
Jiang Jiang Jian
6e0a8434a7 Merge branch 'bt/add_host_only_mode' into 'master'
bt: Added BlueDroid-Only mode to use BlueDroid host only without Bluetooth Controller

See merge request espressif/esp-idf!25319
2023-11-02 10:58:32 +08:00
gongyantao
ab55cd05c2 fix(bt/bluedroid): fix loadprohibited error in spp vfs acceptor example 2023-11-01 20:17:48 +08:00
Chen Jian Xing
c2cf88c783 Merge branch 'bugfix/fix_wifi_enabled_macro' into 'master'
fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro

Closes WIFIBUG-207 and WIFIBUG-123

See merge request espressif/esp-idf!26740
2023-10-31 15:52:29 +08:00
Island
a436eaf045 Merge branch 'feat/support_ble_notify_reg_max' into 'master'
feat(bt/bluedroid): Support BLE gattc notify registration number

See merge request espressif/esp-idf!26641
2023-10-31 12:29:33 +08:00
alanmaxwell
2eb1a7f933 fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro 2023-10-30 14:24:31 +08:00
Jin Cheng
b319143e3b feat(bt/bluedroid): Added bt_discovery based host only example 2023-10-30 00:52:26 +00:00
zhanghaipeng
a051438322 fix(bt/bluedroid): Fix max BLE gattc notify number to improve compatibility 2023-10-27 19:31:44 +08:00
zhanghaipeng
f7e174e948 fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices 2023-10-26 14:14:15 +08:00
zhanghaipeng
b90dc6a515 feat(bt/bluedroid): Support hid device control point 2023-10-24 15:17:49 +08:00
zhanghaipeng
5727802497 fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices 2023-10-24 14:52:56 +08:00
Darian Leung
13f3a226bb change(examples): Update example configurations for FreeRTOS v10.5.1
This commit updates the sdkconfig for some examples when building with the
v10.5.1 kernel. The updates fixes the following:

Place FreeRTOS functions into flash

- Some examples use nearly 100% of available IRAM, thus any small increase in
IRAM in other components (e.g., FreeRTOS) will lead to a build error. As a
result, 'CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH' has been enabled in those
examples to save some IRAM.
- Some examples consume too much flash memory, leading to the 'factory'
parition overflowing. IN those examples,
'CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE' has been enabled to use a larger
'factory' partition.
2023-10-21 04:39:16 +08:00
alanmaxwell
cd784eb0f1 fix(ci): disable WiFi IRAM option for bleprph_wifi_coex example 2023-10-20 11:02:05 +08:00
Shen Wei Long
4c9d181076 Merge branch 'ci/update_bt_examples_build_rules' into 'master'
ci: update bluetooth examples build rules

Closes IDFCI-1820 and IDF-8368

See merge request espressif/esp-idf!26271
2023-10-20 10:50:06 +08:00
Wang Meng Yang
5557ef4036 Merge branch 'fix/remove_esp_hf_ag_devices_status_indchage_in_example' into 'master'
fix(bt/bluedroid): Send device status of AG to HF with a different api

Closes BT-3437

See merge request espressif/esp-idf!26350
2023-10-20 09:45:59 +08:00
Chen Yudong
45bc939462 ci: update bluetooth examples build rules
fix some bluetooth examples supported targets
2023-10-18 21:58:28 +08:00
gongyantao
013e609cea fix(bt/bluedroid): Send device status of AG to HF with a different api
1: replace api esp_hf_ag_devices_status_indchange with esp_hf_ag_ciev_report in bluetooth
   hfp_ag example to send device status of AG to HF unit.
2: remove the unused codes
2023-10-18 19:27:06 +08:00
Jiang Jiang Jian
249e45a5d6 Merge branch 'bugfix/coex_cfg_option_invisible' into 'master'
fix(esp_coex): Fix dependency errors in coexist configuration

Closes BT-3435

See merge request espressif/esp-idf!26484
2023-10-18 15:36:22 +08:00
Fu Hanxi
4dbf8c8948
ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
linruihao
11efe6ecdc fix(esp_coex): Fix dependency errors in coexist configuration 2023-10-16 11:44:23 +08:00
Liu Linyan
fdec35827a fix(ble_mesh): Enable relay by default for the specific dev role 2023-10-11 06:59:42 +00:00
Rahul Tank
26ba685133 Merge branch 'feature/walkthrough_for_coc_ble_prph' into 'master'
doc (nimble): Added the tutorial for coc_bleprph example.

See merge request espressif/esp-idf!26290
2023-10-10 14:57:15 +08:00
Zhi Wei Jian
5306b3308f Merge branch 'feature/add_config_to_disable_uart_flow_control' into 'master'
feat: add config to disable ble hci uart flow control

Closes CBLE50Y23-50

See merge request espressif/esp-idf!26155
2023-10-08 10:55:04 +08:00
Abhinav Kudnar
e26f2ab510 doc (nimble): Added the tutorial for coc_bleprph example. 2023-09-29 16:34:42 +05:30
Jiang Jiang Jian
1f25202bb1 Merge branch 'test/bqb_test_bt_classic_hfp' into 'master'
feat(bt/hfp): Add support for HFP BQB auto test

Closes BT-3338, BT-3400, BT-3402, and BT-3404

See merge request espressif/esp-idf!25551
2023-09-26 15:00:11 +08:00
Rahul Tank
7022c93b9d Merge branch 'feature/walkthrough_for_spp_server' into 'master'
doc(nimble): Added the tutorial for spp_server example.

See merge request espressif/esp-idf!26159
2023-09-26 12:43:45 +08:00
Rahul Tank
b953afe030 Merge branch 'feature/walkthrough_for_spp_client' into 'master'
doc(nimble): Added the tutorial for spp_client example.

See merge request espressif/esp-idf!26030
2023-09-25 19:08:34 +08:00
Rahul Tank
a231b6fb36 Merge branch 'feature/walkthrough_for_coc_ble_cent' into 'master'
doc (nimble): Added the tutorial for coc_blecent example.

See merge request espressif/esp-idf!26028
2023-09-25 19:07:14 +08:00
Wang Meng Yang
f0b4a69fa3 Merge branch 'bugfix/fix_spp_acceptor_example' into 'master'
Fix(bt/bluedroid): Fix the mistaken deletion of bluedriod enable in bt_spp_acceptor example

See merge request espressif/esp-idf!26052
2023-09-25 17:50:58 +08:00
zhiweijian
150900eabb feat: add config to disable ble hci uart flow control 2023-09-25 14:26:59 +08:00
wanglai@espressif.com
12abb32a6e fix(bt/bluedroid): Modify the operator name to English in hfp_ag example 2023-09-25 11:59:57 +08:00
wanglai@espressif.com
5875f1160e feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client 2023-09-25 11:41:18 +08:00
wanglai@espressif.com
5600da1cfe feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example 2023-09-25 11:41:18 +08:00
Abhinav Kudnar
cbd4fc1b35 doc (nimble): Added the tutorial for coc_blecent example. 2023-09-22 18:20:16 +05:30
darshan
326ced0b35 doc(nimble): Added the tutorial for spp_server example. 2023-09-22 15:39:42 +05:30
liqigan
e271e27bd0 fix(bt/bluedroid): Fix the mistaken deletion of bluedriod enable in bt_spp_acceptor example 2023-09-22 06:08:26 +00:00
Liu Linyan
ec9e9ff376 fix(ble_mesh): Check if role needed to be set based on idf version 2023-09-22 02:55:48 +00:00
Ivan Grokhotkov
fc4f091e7a Merge branch 'feature/examples_use_manifest_for_deps' into 'master'
feat(examples): add local components via idf_component.yml

See merge request espressif/esp-idf!25228
2023-09-20 20:14:14 +08:00
darshan
a79910cb21 doc(nimble): Added the tutorial for spp_client example. 2023-09-20 11:32:06 +05:30
Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
Wang Meng Yang
0cb0c49597 Merge branch 'bugfix/a2dp_media_ctrl' into 'master'
Bugfix/a2dp media ctrl

Closes BTQABR2023-42

See merge request espressif/esp-idf!25300
2023-09-19 14:27:06 +08:00