Bläddra i källkod

ble_mesh: Rename common_vendor_models to components

Since the scripts of CI will bypass components when trying
to get EXAMPLE_PATHS, and these BLE Mesh components will
only be used by other mesh examples, i.e. no need to be
compiled as a single example, so we rename the folder
to componnets.
lly 5 år sedan
förälder
incheckning
ecf7ea897e
15 ändrade filer med 0 tillägg och 52 borttagningar
  1. 0 6
      examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/CMakeLists.txt
  2. 0 10
      examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/Makefile
  3. 0 3
      examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/main/CMakeLists.txt
  4. 0 5
      examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/main/component.mk
  5. 0 21
      examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/main/main.c
  6. 0 7
      examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/sdkconfig.defaults
  7. 0 0
      examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/CMakeLists.txt
  8. 0 0
      examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/component.mk
  9. 0 0
      examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_client_model.c
  10. 0 0
      examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_client_model.h
  11. 0 0
      examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_common.h
  12. 0 0
      examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_operation.c
  13. 0 0
      examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_operation.h
  14. 0 0
      examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_server_model.c
  15. 0 0
      examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_server_model.h

+ 0 - 6
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/CMakeLists.txt

@@ -1,6 +0,0 @@
-# The following lines of boilerplate have to be in your project's CMakeLists
-# in this exact order for cmake to work correctly
-cmake_minimum_required(VERSION 3.5)
-
-include($ENV{IDF_PATH}/tools/cmake/project.cmake)
-project(fast_prov_vendor_model)

+ 0 - 10
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/Makefile

@@ -1,10 +0,0 @@
-#
-# This is a project Makefile. It is assumed the directory this Makefile resides in is a
-# project subdirectory.
-#
-
-PROJECT_NAME := fast_prov_vendor_model
-
-COMPONENT_ADD_INCLUDEDIRS := components/include
-
-include $(IDF_PATH)/make/project.mk

+ 0 - 3
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/main/CMakeLists.txt

@@ -1,3 +0,0 @@
-set(COMPONENT_SRCS "main.c")
-
-register_component()

+ 0 - 5
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/main/component.mk

@@ -1,5 +0,0 @@
-#
-# "main" pseudo-component makefile.
-#
-# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
-#

+ 0 - 21
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/main/main.c

@@ -1,21 +0,0 @@
-// Copyright 2017-2019 Espressif Systems (Shanghai) PTE LTD
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-void app_main(void)
-{
-    /* This main.c is for CI. The fast_prov_vendor_model shall be
-     * included by other ble mesh examples which need vendor fast
-     * provisioning client/server models.
-     */
-}

+ 0 - 7
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/sdkconfig.defaults

@@ -1,7 +0,0 @@
-# Override some defaults so BT stack is enabled
-# by default in this example
-CONFIG_BT_ENABLED=y
-
-# Override some defaults of ESP BLE Mesh
-CONFIG_BLE_MESH=y
-CONFIG_BLE_MESH_FAST_PROV=y

+ 0 - 0
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/components/CMakeLists.txt → examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/CMakeLists.txt


+ 0 - 0
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/components/component.mk → examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/component.mk


+ 0 - 0
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/components/esp_fast_prov_client_model.c → examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_client_model.c


+ 0 - 0
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/components/esp_fast_prov_client_model.h → examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_client_model.h


+ 0 - 0
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/components/esp_fast_prov_common.h → examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_common.h


+ 0 - 0
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/components/esp_fast_prov_operation.c → examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_operation.c


+ 0 - 0
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/components/esp_fast_prov_operation.h → examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_operation.h


+ 0 - 0
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/components/esp_fast_prov_server_model.c → examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_server_model.c


+ 0 - 0
examples/bluetooth/esp_ble_mesh/common_vendor_models/fast_prov_vendor_model/components/esp_fast_prov_server_model.h → examples/bluetooth/esp_ble_mesh/components/fast_prov_vendor_model/esp_fast_prov_server_model.h