Commit Graph

775 Commits

Author SHA1 Message Date
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
Omar Chebib
2571aaf3c9 G0: target component (components/esp32*) doesn't depend on driver anymore 2022-03-02 04:21:00 +00:00
jincheng
216a57b767 correct the rate of data-producing
Closes https://github.com/espressif/esp-idf/issues/7911
2022-03-01 21:49:44 +08:00
Island
f1a4057877 Merge branch 'bugfix/ble_mesh_console_correct_repl_config_prompt' into 'master'
ble mesh:example:correct repl config prompt in ble mesh console

See merge request espressif/esp-idf!16986
2022-03-01 13:50:24 +08:00
Nachiket Kukade
7ed8fdac59 esp_wifi: Always connect Station in PMF mode if possible
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-21 11:31:56 +05:30
Yuan Hong Hui
1ff2b724f4 ble mesh:example:correct the output log level 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
18567bb108 ble mesh:example:delete unused tag 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
22c0248284 ble mesh:example:response for checking restart in auto_test 2022-02-16 14:47:19 +08:00
Yuan Hong Hui
1b4d9c8b3f ble mesh:example:correct repl config prompt 2022-02-16 14:47:07 +08:00
Darian Leung
57fd78f5ba freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
Wang Meng Yang
e640060e2d Merge branch 'bugfix/controller_hci_uart_esp32c3_readme' into 'master'
Added support for ESP32-S3 chip in controller_hci_uart_esp32c3_and_esp32s3's README

Closes BT-1906

See merge request espressif/esp-idf!16583
2022-02-09 11:17:28 +00:00
Wang Meng Yang
e6c0d1e481 Merge branch 'bugfix/nimble_spp' into 'master'
NimBLE :  SPP example fails to build on Windows

See merge request espressif/esp-idf!16992
2022-02-07 02:33:41 +00:00
Wei Tian Hua
2467aa7f6c Merge branch 'demo/opt_a2dp_demo_doc' into 'master'
demo/optimize a2dp demo documents

Closes BT-2135

See merge request espressif/esp-idf!16527
2022-01-29 05:02:19 +00:00
Isha Pardikar
8846dc83db Merge branch 'bugfix/nimble_spp' into 'master'
NimBLE : Fixed BLE SPP build fail on Windows

Closes : https://github.com/espressif/esp-idf/issues/8305
2022-01-28 18:43:09 +05:30
Anton Maklakov
4085443a17 examples: esp_ble_mesh: move ble_mesh_node_prestore_params symbol to source file 2022-01-27 11:01:23 +07:00
Ivan Grokhotkov
acfdf9f6e1 examples: esp_ble_mesh: move cfg_cli definition to source file 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
9d3e618bc5 examples: esp_ble_mesh: move definition of globals into source file 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
b92f8b0a95 examples/bluetooth: mark auto_tb and sync_obj as extern 2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
92e18ba78e bluedroid: make hf_peer_addr as extern 2022-01-27 11:00:09 +07:00
Island
ce4a4be37f Merge branch 'feature/pro_recv_hb' into 'master'
provisioner receive heartbeat message

See merge request espressif/esp-idf!14680
2022-01-24 07:54:30 +00:00
Yuan Hong Hui
154d82c6bc provisioner receive heartbeat message 2022-01-24 07:54:28 +00:00
jincheng
0e8f7d7fe4 optimize a2dp demo documents 2022-01-24 14:22:04 +08:00
Yuan Hong Hui
0e0d8fb433 filter repeated packages then send response 2022-01-18 16:38:42 +08:00
xiongweichao
8dc3392b3f Rename controller_hci_uart_esp32c3 to controller_hci_uart_esp32c3_and_esp32s3 2022-01-10 11:46:23 +08:00
xiongweichao
b08c3a022a Added support for ESP32-S3 chip in controller_hci_uart_esp32c3's README 2022-01-10 11:19:53 +08:00