diff --git a/pkg/esp32_sdk_lib_bt_esp32c3/Kconfig b/pkg/esp32_sdk_lib_bt_esp32c3/Kconfig new file mode 100644 index 0000000000..b8e3be7165 --- /dev/null +++ b/pkg/esp32_sdk_lib_bt_esp32c3/Kconfig @@ -0,0 +1,14 @@ +# Copyright (c) 2021 Gunar Schorcht +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config PACKAGE_ESP32_SDK_LIB_BT_ESP32C3 + bool "ESP32 SDK Bluetooth library for the ESP32-C3 SoC" + depends on TEST_KCONFIG + depends on HAS_ARCH_ESP32 + depends on HAS_ESP_BLE_ESP32C3 + help + Vendor SDK Bluetooth library for ESP32-C3 SoC diff --git a/pkg/esp32_sdk_lib_bt_esp32c3/Makefile b/pkg/esp32_sdk_lib_bt_esp32c3/Makefile new file mode 100644 index 0000000000..f86817589b --- /dev/null +++ b/pkg/esp32_sdk_lib_bt_esp32c3/Makefile @@ -0,0 +1,10 @@ +PKG_NAME=esp32_sdk_lib_bt_esp32c3 +PKG_URL=https://github.com/espressif/esp32c3-bt-lib +# This is a version in the v4.4.1 release branch +PKG_VERSION=98dcc9591365b5ac486a9f0b474c36bf8c4ca97b +PKG_LICENSE=Apache-2.0 + +include $(RIOTBASE)/pkg/pkg.mk + +# there is nothing to compile +all: diff --git a/pkg/esp32_sdk_lib_bt_esp32c3/Makefile.dep b/pkg/esp32_sdk_lib_bt_esp32c3/Makefile.dep new file mode 100644 index 0000000000..f33fadda98 --- /dev/null +++ b/pkg/esp32_sdk_lib_bt_esp32c3/Makefile.dep @@ -0,0 +1,4 @@ +# This package can only be used with the ESP32 CPU +FEATURES_REQUIRED += arch_esp32 +FEATURES_REQUIRED += esp_ble +FEATURES_REQUIRED += esp_ble_esp32c3 diff --git a/pkg/esp32_sdk_lib_bt_esp32c3/Makefile.include b/pkg/esp32_sdk_lib_bt_esp32c3/Makefile.include new file mode 100644 index 0000000000..52e67dcb0c --- /dev/null +++ b/pkg/esp32_sdk_lib_bt_esp32c3/Makefile.include @@ -0,0 +1,3 @@ +export ESP32_SDK_LIB_BT_DIR ?= $(PKGDIRBASE)/esp32_sdk_lib_bt_esp32c3 + +PSEUDOMODULES += esp32_sdk_lib_bt_esp32c3 diff --git a/pkg/esp32_sdk_lib_bt_esp32c3/doc.txt b/pkg/esp32_sdk_lib_bt_esp32c3/doc.txt new file mode 100644 index 0000000000..7078a9f03e --- /dev/null +++ b/pkg/esp32_sdk_lib_bt_esp32c3/doc.txt @@ -0,0 +1,6 @@ +/** + * @defgroup pkg_esp32_sdk_lib_bt_esp32c3 ESP32 SDK Bluetooth library for the ESP32-C3 SoC + * @ingroup pkg_esp32_sdk + * @brief Vendor SDK Bluetooth library for ESP32-C3 SoC by Espressif + * @see https://github.com/espressif/esp32c3-bt-lib + */