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" description: "Arduino core for ESP32, ESP32-S and ESP32-C series of SoCs"
url: "https://github.com/espressif/arduino-esp32" url: "https://github.com/espressif/arduino-esp32"
license: "LGPL-2.1"
targets: targets:
- esp32 - esp32
- esp32s2 - esp32s2
@ -12,7 +13,6 @@ tags:
- arduino - arduino
files: files:
include: include:
- "cores/**/*"
- "variants/esp32/**/*" - "variants/esp32/**/*"
- "variants/esp32s2/**/*" - "variants/esp32s2/**/*"
- "variants/esp32s3/**/*" - "variants/esp32s3/**/*"
@ -20,11 +20,27 @@ files:
- "variants/esp32c3/**/*" - "variants/esp32c3/**/*"
- "variants/esp32c6/**/*" - "variants/esp32c6/**/*"
- "variants/esp32h2/**/*" - "variants/esp32h2/**/*"
- "libraries/**/*"
- "CMakeLists.txt"
- "Kconfig.projbuild"
exclude: 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: dependencies:
idf: ">=5.1" idf: ">=5.1"
# mdns 1.2.1 is necessary to build H2 with no WiFi # mdns 1.2.1 is necessary to build H2 with no WiFi
@ -66,5 +82,5 @@ dependencies:
rules: rules:
- if: "target in [esp32s3]" - if: "target in [esp32s3]"
examples: examples:
- path: idf_component_examples/ - path: ./idf_component_examples/Hello_world