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.
This commit is contained in:
Ivan Grokhotkov
2023-08-04 15:00:15 +02:00
parent ae80ad7ac7
commit 6d87100a70
199 changed files with 400 additions and 272 deletions

View File

@@ -2,8 +2,5 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)
# This example uses an extra component for common functions for Bluetooth HCI layer.
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/bluetooth/hci/hci_common_component)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(ble_adv_scan)

View File

@@ -0,0 +1,3 @@
dependencies:
hci_common_component:
path: ${IDF_PATH}/examples/bluetooth/hci/hci_common_component

View File

@@ -2,8 +2,5 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)
# This example uses an extra component for common functions for Bluetooth HCI layer.
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/bluetooth/hci/hci_common_component)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(ble_adv)

View File

@@ -0,0 +1,3 @@
dependencies:
hci_common_component:
path: ${IDF_PATH}/examples/bluetooth/hci/hci_common_component