Shen Weilong
4729f75b41
use nimble host by default
2022-09-06 22:06:21 +08:00
Isha Pardikar
9f3e341ccd
NimBLE: Reorganized nimble examples structure to avoid repetition of files.
2022-09-06 11:31:57 +05:30
xiongweichao
d5785d1968
Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash
2022-08-25 11:41:10 +08:00
Jiang Jiang Jian
bf74c6e89a
Merge branch 'bugfix/a2dp_sink_reconfig_i2s_clk_fail_v5.0' into 'release/v5.0'
...
bt: Fixed that i2s_channel_disable was not called before calling i2s_channel_reconfig_std_clock in the A2DP sink example, which caused reconfiguring the I2S clock to fail
See merge request espressif/esp-idf!19601
2022-08-24 14:41:23 +08:00
Yuan Hong Hui
8bbaa77830
ble_mesh:ble mesh console support nimble
2022-08-22 04:56:18 +00:00
Jiang Jiang Jian
b621017865
Merge branch 'bugfix/hfp_examples_not_work_with_default_sdkconfig_v5.0' into 'release/v5.0'
...
bugfix/set default number of sco connection to 1 (v5.0)
See merge request espressif/esp-idf!19594
2022-08-19 20:32:45 +08:00
xiongweichao
a74b48c14a
bt: Fixed that i2s_channel_disable was not called before calling i2s_channel_reconfig_std_clock in the A2DP sink example, which caused reconfiguring the I2S clock to fail
2022-08-19 03:52:14 +00:00
Mahavir Jain
b910828a14
Merge branch 'bugfix/blufi_checksum_failure_err_v5.0' into 'release/v5.0'
...
examples: blufi: fix API usage for generating dhm secret (v5.0)
See merge request espressif/esp-idf!19608
2022-08-18 13:11:39 +08:00
Mahavir Jain
d562d9f841
examples: blufi: fix API usage for generating dhm secret
...
API usage for `mbedtls_dhm_calc_secret` was incorrect, fixed by
providing correct RNG function pointer. This behavior was changed in
mbedTLS-3.x update.
Tested BluFi provisioning with this fix.
Closes IDF-5796
Closes https://github.com/espressif/esp-idf/issues/9488
2022-08-17 12:19:43 +05:30
jincheng
d47d2a210d
Fixed the failure of 'connect audio' operation in HFP examples with default SDK configuration
...
Due to the lack of synchronized connections, the hf_client can not create audio_connection to
hf_ag. Set default number of synchronized connection to 1.
Closes https://github.com/espressif/esp-idf/issues/9537
2022-08-17 10:13:32 +08:00
Island
a3b987b44c
Merge branch 'bugfix/restore_missing_ble_mesh_videos_v5.0' into 'release/v5.0'
...
ble_mesh: doc: Restore missing ble mesh videos(v5.0)
See merge request espressif/esp-idf!19480
2022-08-10 14:53:53 +08:00
wangjialiang
922008a7e6
ble_mesh: doc: Restore missing ble mesh videos
2022-08-10 11:37:24 +08:00
jingli
8cd7c30bc7
kconfig: refactor xtal freq kconfig to common configuration item
2022-08-08 13:53:02 +08:00
Ivan Grokhotkov
e596c84d49
build system: re-add -Wno-format as private flag for some example components
2022-08-03 16:42:47 +04:00
Fu Hanxi
17e312f87b
docs: improve the installation instructions
2022-08-01 15:52:21 +08:00
Isha Pardikar
97b1211b71
Merge branch 'bugfix/nimble_l2cap_coc_cmake' into 'master'
...
NimBLE : Fixed nimble L2CAP COC example CMakeLists.txt
2022-07-27 13:03:14 +05:30
Isha Pardikar
d46a2af0bf
Merge branch 'feature/nimble_l2cap_coc' into 'master'
...
NimBLE: Add example framework for L2CAP COC
See merge request espressif/esp-idf!18483
2022-07-25 12:28:38 +08:00
Island
37bc05c84d
Merge branch 'bugfix/vendor_model_send_message_no_memory' into 'master'
...
ble_mesh:example: free the memory of malloc
See merge request espressif/esp-idf!19135
2022-07-22 15:18:38 +08:00
Yuan Hong Hui
33d6c07d6e
ble_mesh:example: free the memory of malloc
2022-07-22 15:18:37 +08:00
Isha Pardikar
eeea118ca5
Merge branch 'feature/nimble_l2cap_coc' into 'master'
...
NimBLE : BLE example for L2CAP connection oriented channels
See merge request !18483
2022-07-22 11:43:16 +05:30
Rahul Tank
24741cc0de
NimBLE: Added option to advertise random address
2022-07-21 07:11:47 +00:00
Jiang Jiang Jian
92b4e134bb
Merge branch 'bugfix/remove_inappropriate_bluetooth_init_api' into 'master'
...
Remove unused bluetooth init api
See merge request espressif/esp-idf!18923
2022-07-21 14:53:44 +08:00
GengYuchao
f34b3912b0
Fix blufi crash caused by the break change
2022-07-20 11:44:00 +08:00
GengYuchao
6db79c3950
Fix missing blufi sdkconfig.defaults for esp32c2
2022-07-20 11:44:00 +08:00
GengYuchao
fd055d3ba6
Fix example after removing API esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +08:00
Mahavir Jain
a94c74c26b
mbedtls: remove dependency on driver component
...
- keep `esp_pm` dependency conditional in mbedtls
- refactor `bt` cmakelist to keep dependencies as private
Related: IDF-1265
2022-07-18 21:10:51 +05:30
Fu Hanxi
7b5a3af407
Merge branch 'feat/reorg_examples' into 'master'
...
feat: new find_build_apps rules with centralized manifest file
Closes IDFCI-1061, IDF-3553, IDFCI-941, IDFCI-1359, and IDFCI-1361
See merge request espressif/esp-idf!18299
2022-07-14 20:04:12 +08:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
Yuan Hong Hui
5b9c2eb5fc
ble_mesh:change the location of print ready
2022-07-13 17:57:06 +08:00
satish.solanke
8e27170ba8
Added ESP32-S3 in README Bluedroid examples
2022-07-11 09:49:09 +05:30
Island
55d8a34add
Merge branch 'fix/esp32c2_bluedroid_example_default_sdk' into 'master'
...
Support of bluedroid example for esp32c2 and esp32h2
See merge request espressif/esp-idf!18397
2022-07-09 06:55:26 +08:00
Wei Tian Hua
8699a10929
Merge branch 'bugfix/redesign_hf_ag_init_deinit_api_param' into 'master'
...
component_bt: Change HF AG API
See merge request espressif/esp-idf!18592
2022-07-08 16:57:20 +08:00
satish.solanke
6d86cde293
sdkconfig default for the esp32c2
2022-07-08 04:52:47 +00:00
Simon
f4eea001c8
Merge branch 'refactor_flash/remove_legacy_driver' into 'master'
...
spi_flash: Totally remove legacy driver (prefix with `spi_flash`) support on V5.0
Closes IDF-4473
See merge request espressif/esp-idf!18026
2022-07-01 14:45:39 +08:00
Wang Meng Yang
a7adfd2ee6
Merge branch 'bugfix/lower_a2dp_appT_prio' into 'master'
...
bugfix/lower the priority of application task of a2dp demo
Closes IDFGH-7639
See merge request espressif/esp-idf!18612
2022-07-01 11:14:25 +08:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
muhaidong
5dc221b0fc
bluetooth: fix two blufi example bugs
...
1. Softap mode do not assign ip
2. SotAp current connection always show 0
2022-06-30 14:26:23 +08:00
Jiang Jiang Jian
04830a3284
Merge branch 'bugfix/a2dp_source_not_stop_discovery_correctly' into 'master'
...
bugfix/avoid wrongly restart discovery in a2dp_source
See merge request espressif/esp-idf!18536
2022-06-29 11:24:00 +08:00
weitianhua
b4aa3269e7
Change HF AG APIs' NamingMethod
...
1. Remove parameter of esp-bt_hf_init & esp_bt_hf_deinit API
2. Change API names
2022-06-22 15:34:05 +08:00
jincheng
eeba284ed1
lower the priority of application task of a2dp demo
...
Closes https://github.com/espressif/esp-idf/issues/9192
2022-06-21 21:51:25 +08:00
Isha Pardikar
8e6cfb02ce
Merge branch 'feature/nimble_spp_multiple_client' into 'master'
...
Send notification to multiple clients in BLE SPP example
See merge request espressif/esp-idf!18539
2022-06-21 19:52:32 +08:00
GengYuchao
ee55f016be
Add nimble hci example for c2
2022-06-20 17:00:12 +08:00
GengYuchao
69c63e63b3
Update examples sdkconfig defualut
2022-06-20 17:00:12 +08:00
Isha Pardikar
9d6164d0a0
Merge branch 'feature/nimble_spp_multiple_client' into 'master'
...
NimBLE: Added support for sending notification to multiple clients in BLE SPP example.
See merge request espressif/esp-idf!18539
2022-06-16 16:07:49 +05:30
jincheng
8a7ca296d5
avoid wrongly restart discovery
2022-06-16 14:56:29 +08:00
laokaiyao
28b8fc6a7e
i2s: update documents for driver-NG
2022-06-15 10:30:04 +08:00
laokaiyao
0fe3bb8ab7
i2s: update examples and unit-tests
2022-06-15 10:29:06 +08:00
laokaiyao
621d0aa942
i2s: Introduced a brand new driver
2022-06-15 10:29:06 +08:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00: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
fb7994ba06
Merge branch 'feature/remove_disable_gcc8_warns' into 'master'
...
build: remove COMPILER_DISABLE_GCC8_WARNINGS option
See merge request espressif/esp-idf!16941
2022-05-30 09:42:17 +08:00
Jiang Jiang Jian
6a27983fc9
Merge branch 'feature/nimble_spp_multiple_profile_conn' into 'master'
...
NimBLE SPP multiple profile connection
Closes IDFGH-7001
See merge request espressif/esp-idf!17660
2022-05-29 19:24:08 +08:00
Jiang Jiang Jian
4ed2e6130a
Merge branch 'feature/add_l2cap_ertm_api' into 'master'
...
Component_bt:Add l2cap and sdp api
Closes IDF-4487
See merge request espressif/esp-idf!18034
2022-05-29 17:34:38 +08:00
Jiang Jiang Jian
ffbc25056c
Merge branch 'feature/add_avdtp_delay_reporting' into 'master'
...
component_bt: add avdtp delay reporting
Closes BT-2308
See merge request espressif/esp-idf!17475
2022-05-29 17:03:36 +08:00
Jiang Jiang Jian
368cb04194
Merge branch 'contrib/github_pr_8076' into 'master'
...
example: Synchronize includes in BLE walkthrough (GitHub PR)
Closes IDFGH-6417
See merge request espressif/esp-idf!17458
2022-05-29 14:31:09 +08:00
Isha Pardikar
4ab6aafecc
Merge branch 'feature/nimble_spp_multiple_profile_conn' into 'master'
...
Added support for multiple profile connection in NimBLE SPP example.
Closes IDFGH-7001
2022-05-29 06:10:18 +00:00
Jiang Jiang Jian
6798494a05
Merge branch 'contrib/github_pr_8972' into 'master'
...
Fix Typo in bluedroid spp client readme (GitHub PR)
Closes IDFGH-7392
See merge request espressif/esp-idf!18200
2022-05-29 11:43:21 +08:00
xiongweichao
7624d5dd93
add l2cap client demo
2022-05-28 23:34:21 +00:00
xiongweichao
52656ad582
add l2cap server demo
2022-05-28 23:34:21 +00:00
xiongweichao
f321d62696
Modify a2dp demo
2022-05-28 23:31:45 +00:00
xiongweichao
9126e4f07b
add sink send delay reporting
2022-05-28 23:31:45 +00:00
Anton Maklakov
b9a549c80b
build: remove COMPILER_DISABLE_GCC8_WARNINGS, no longer relevant
2022-05-27 11:40:40 +07:00
Rahul Tank
b45723b92e
Merge branch 'bugfix/fix_esp_timer_crash_on_esp32h2' into 'master'
...
NimBLE: Enabled ESP Timer support for esp32h2
See merge request espressif/esp-idf!18072
2022-05-25 00:22:30 +08:00
Marius Vikhammer
0687daf2c8
kconfig: move remaining kconfig options out of target component
...
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
morris
3b2f8dfc0d
Merge branch 'contrib/github_pr_8997' into 'master'
...
Clean up botched merge (GitHub PR)
Closes IDFGH-7419
See merge request espressif/esp-idf!18199
2022-05-23 14:41:26 +08:00
Kaushik Ghose
34369cd709
Clean up botched merge
2022-05-20 16:04:41 -04:00
morris
819beb4a32
example: use console repl in ble mesh coex example
2022-05-19 11:31:53 +08:00
EcotechBrad
286bc45cdc
Fix Typo in bluedroid spp client readme
...
`uart_wrire_bytes` to `uart_write_bytes`
2022-05-17 10:42:34 -04:00
Rahul Tank
95db4bbf05
NimBLE: Enabled ESP Timer support for esp32h2
2022-05-17 12:49:40 +05:30
Anton Maklakov
c89974b7cf
examples/bluetooth: suppress -Waddress-of-packed-member warning
2022-05-13 15:24:17 +07:00
morris
722fde218d
uart: add default source clock for all targets
2022-05-09 11:26:30 +08:00
morris
e7295c3577
gptimer: added enable/disable functions
2022-05-06 18:18:39 +08:00
Jiang Jiang Jian
34211f898c
Merge branch 'docs/update_esp_hid_device' into 'master'
...
[docs] fix documents for Bluetooth HID Device API reference and example
See merge request espressif/esp-idf!17558
2022-05-05 23:58:07 +08:00
Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
...
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
Marius Vikhammer
45c1d1cba2
Merge branch 'feature/move_target_kconfig_2' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +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
morris
373d9b3dbc
Merge branch 'feature/default_clk_for_gptimer' into 'master'
...
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)
Closes IDF-4894
See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
songruojing
534346f4bb
ledc: Provide support for esp32c2 and esp32h2
...
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
morris
f32a89826c
clk_tree: added default clock source for peripheral
2022-04-14 15:44:56 +08:00
Matus Fabo
24268d47a2
change: renamed FATFS convenience mounting functions
...
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
wangmengyang
bed86d8a27
examples/Bluetooth/bt_hid_mouse_device: improved the exmaple README
2022-04-11 02:50:50 +00:00
wangmengyang
f7d942c42a
examples/bluetooth/bt_hid_mouse_device: fixed code format, added more comments to improve code readability
2022-04-11 02:50:50 +00:00
Wang Meng Yang
0c23d45918
Merge branch 'bugfix/fix_blecent_compilation_issue' into 'master'
...
Nimble: Add default config options for esp32h2 for blecent app
See merge request espressif/esp-idf!17648
2022-04-07 09:59:03 +08:00
Rahul Tank
c6eb49082a
Nimble: Add default config options for esp32h2 to fix blecent
...
compilation issues
2022-04-06 17:14:31 +05:30
Wei Tian Hua
dbe4606eab
Merge branch 'feature/hfp_hf_vendor_batt_level' into 'master'
...
components/bt: support for vendor specific battery level and docker status...
See merge request espressif/esp-idf!17601
2022-04-01 14:43:51 +08:00
morris
bf677182a6
sigmadelta: change gpio number from u8 to int
...
Fix the issue that macro compares unsigned to 0
2022-03-29 11:53:31 +08:00
baohongde
418b546a7c
components/bt: support for vendor specific battery level and docker status indication over HFP profile
2022-03-29 11:38:09 +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
David Cermak
c941e29cf6
examples: Fix implicit includes after legacy code removal
2022-03-10 10:36:38 +01:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
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
jincheng
d2361dcb9e
fix the failure of reconnect to sink
2022-03-04 04:14:04 +00:00
Jiang Jiang Jian
1068c7720b
Merge branch 'bugfix/ignore_pmf_capable_flag' into 'master'
...
Always connect Station in PMF mode if possible
Closes WIFI-4320
See merge request espressif/esp-idf!17023
2022-03-03 19:34:36 +08:00
Mahavir Jain
035d7df1a0
Merge branch 'feature/mbedtls-3.1' into 'master'
...
Update to mbedtls-3.1
Closes IDF-3723
See merge request espressif/esp-idf!16656
2022-03-03 11:27:48 +08:00
Wang Meng Yang
94a62a1b50
Merge branch 'bugfix/hfp_disc_audio_err' into 'master'
...
bugfix/fix_err_when_ag_disc_audio
Closes IDFGH-6239
See merge request espressif/esp-idf!16920
2022-03-03 11:07:40 +08:00
Laukik Hase
3925365351
ci: Fix pre-check
stage failing tests
...
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure
Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
3b71bd7326
mbedtls-3.0: Fixed ESP32 build issues
...
- Added MBEDLTS_PRIVATE(...) wherever necessary
- For functions like mbedtls_pk_parse_key(...), it is necessary to pass the RNG function
pointers as parameter. Solved for dependent components: wpa_supplicant & openSSL
- For libcoap, the SSLv2 ClientHello handshake method has been deprecated, need to handle this.
Currently, corresponding snippet has been commented.
- Examples tested: hello-world | https_request | wifi_prov_mgr
mbedtls-3.0: Fixed ESP32-C3 & ESP32-S3 build issues
- Removed MBEDTLS_DEPRECATED_REMOVED macro from sha1 port
- DS peripheral: esp_ds_rsa_sign -> removed unsused 'mode' argument
- Added MBEDTLS_PRIVATE(...) wherever required
mbedtls-3.0: Fixed ESP32-S2 build issues
- Fixed outdated function prototypes and usage in mbedlts/port/aes/esp_aes_gcm.c due to changes in GCM module
mbedtls-3.0: Fixed ESP32-H2 build issues
ci: Fixing build stage
- Added MBEDTLS_PRIVATE(...) wherever required
- Added RNG function parameter
- Updated GCM Module changes
- Updated Copyright notices
- Tests:
- build_esp_idf_tests_cmake_esp32
- build_esp_idf_tests_cmake_esp32s2
- build_esp_idf_tests_cmake_esp32c3
- build_esp_idf_tests_cmake_esp32s3
ci: Fixing build stage (mbedtls-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing build stage (example-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing target_test stage
- Updated test SSL version to TLS_v1_2
- Tests:
- example_test_protocols 1/2
ci: Fixing build stage
- Added checks for MBEDTLS_DHM_C (disabled by default)
- Updated esp_cryptoauthlib submodule
- Updated factory partition size for legacy BLE provisioning example
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
Co-authored-by: Laukik Hase <laukik.hase@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
45122533e0
mbedtls-3 update:
...
1) Fix build issue in mbedtls
2) skip the public headers check in IDF
3)Update Kconfig Macros
4)Remove deprecated config options
5) Update the sha API according to new nomenclature
6) Update mbedtls_rsa_init usage
7) Include mbedtls/build_info.h instead of mbedtls/config.h
8) Dont include check_config.h
9) Add additional error message in esp_blufi_api.h
2022-03-03 01:37:10 +05:30