From ce85b4b69b39e72b57e6a1a8ca076ec95bd5a6b7 Mon Sep 17 00:00:00 2001 From: Eric <0015@users.noreply.github.com> Date: Mon, 8 Sep 2025 21:24:29 -0700 Subject: [PATCH] Fix idf_component.yml --- README.md | 12 ++++++++++++ idf_component.yml | 2 ++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index c2b061f..d19e7eb 100755 --- a/README.md +++ b/README.md @@ -25,6 +25,18 @@ A comprehensive map tiles component for ESP-IDF projects using LVGL 9.x. This co ### Using ESP-IDF Component Manager +You can easily add this component to your project using the idf.py command or by manually updating your idf_component.yml file. + +#### Option 1: Using the idf.py add-dependency command (Recommended) +From your project's root directory, simply run the following command in your terminal: + +```bash +idf.py add-dependency "0015/map_tiles^1.1.0" +``` + +This command will automatically add the component to your idf_component.yml file and download the required files the next time you build your project. + +#### Option 2: Manual idf_component.yml update Add to your project's `main/idf_component.yml`: ```yaml diff --git a/idf_component.yml b/idf_component.yml index db6e6f1..64bb74e 100755 --- a/idf_component.yml +++ b/idf_component.yml @@ -1,3 +1,5 @@ +namespace: "0015" +name: "map_tiles" version: "1.1.0" maintainers: - Eric Nam