fix(component): Add license and switch include-exclude files (#9162)

This commit is contained in:
Jan Procházka 2024-01-23 12:02:34 +01:00 committed by GitHub
parent 7fbd9a163c
commit 9258a8c0d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
description: "Arduino core for ESP32, ESP32-S and ESP32-C series of SoCs"
url: "https://github.com/espressif/arduino-esp32"
license: "LGPL-2.1"
targets:
- esp32
- esp32s2
@ -12,7 +13,6 @@ tags:
- arduino
files:
include:
- "cores/**/*"
- "variants/esp32/**/*"
- "variants/esp32s2/**/*"
- "variants/esp32s3/**/*"
@ -20,11 +20,27 @@ files:
- "variants/esp32c3/**/*"
- "variants/esp32c6/**/*"
- "variants/esp32h2/**/*"
- "libraries/**/*"
- "CMakeLists.txt"
- "Kconfig.projbuild"
exclude:
- "**/*"
- "docs/"
- "docs/**/*"
- "idf_component_examples/"
- "idf_component_examples/**/*"
- "package/"
- "package/**/*"
- "tests/"
- "tests/**/*"
- "tools/"
- "tools/**/*"
- "variants/**/*"
- ".gitignore"
- ".gitmodules"
- ".readthedocs.yaml"
- "boards.txt"
- "CODE_OF_CONDUCT.md"
- "LICENSE.md"
- "package.json"
- "platform.txt"
- "programmers.txt"
dependencies:
idf: ">=5.1"
# mdns 1.2.1 is necessary to build H2 with no WiFi
@ -66,5 +82,5 @@ dependencies:
rules:
- if: "target in [esp32s3]"
examples:
- path: idf_component_examples/
- path: ./idf_component_examples/Hello_world