From 4d73d4db36e6cfb5a92f886d3d96b626641021e8 Mon Sep 17 00:00:00 2001 From: Chen Yudong Date: Wed, 1 Dec 2021 12:03:34 +0800 Subject: [PATCH] example: build ble_mesh_console example on c3 and s3 as well --- .../esp_ble_mesh/ble_mesh_console/README.md | 4 ++-- .../main/ble_mesh_reg_test_perf_client_cmd.c | 19 +++++-------------- tools/ci/check_copyright_ignore.txt | 1 - 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_console/README.md b/examples/bluetooth/esp_ble_mesh/ble_mesh_console/README.md index 86a244b8f7..211cf88d03 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_console/README.md +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_console/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | -| ----------------- | ----- | +| Supported Targets | ESP32 | ESP32-C3 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | # ble mesh node console demo ## Introduction diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_reg_test_perf_client_cmd.c b/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_reg_test_perf_client_cmd.c index e839c6efe9..a2c320e978 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_reg_test_perf_client_cmd.c +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_reg_test_perf_client_cmd.c @@ -1,21 +1,12 @@ -// 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. +/* + * SPDX-FileCopyrightText: 2017-2021 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/queue.h" -#include "freertos/xtensa_api.h" #include "freertos/FreeRTOSConfig.h" #include "esp_ble_mesh_networking_api.h" diff --git a/tools/ci/check_copyright_ignore.txt b/tools/ci/check_copyright_ignore.txt index a440fc6969..41a4eec291 100644 --- a/tools/ci/check_copyright_ignore.txt +++ b/tools/ci/check_copyright_ignore.txt @@ -2885,7 +2885,6 @@ examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_console_main.c examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_console_system.c examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_reg_cfg_client_cmd.c examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_reg_gen_onoff_client_cmd.c -examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_reg_test_perf_client_cmd.c examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_register_cmd.c examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ble_mesh_register_server_cmd.c examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/register_bluetooth.c