{"id":25050549,"url":"https://github.com/picoruby/picoruby-esp32","last_synced_at":"2025-05-07T01:07:45.598Z","repository":{"id":275845211,"uuid":"927361881","full_name":"picoruby/picoruby-esp32","owner":"picoruby","description":"This is a component that can be used with ESP-IDF, allowing you to add PicoRuby to your project.","archived":false,"fork":false,"pushed_at":"2025-05-02T23:58:42.000Z","size":51,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-07T01:07:38.595Z","etag":null,"topics":["esp-idf-component","esp32","picoruby","ruby"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/picoruby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-04T20:38:34.000Z","updated_at":"2025-05-02T23:58:42.000Z","dependencies_parsed_at":"2025-02-24T01:21:20.773Z","dependency_job_id":null,"html_url":"https://github.com/picoruby/picoruby-esp32","commit_stats":null,"previous_names":["picoruby/picoruby-esp32"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picoruby%2Fpicoruby-esp32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picoruby%2Fpicoruby-esp32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picoruby%2Fpicoruby-esp32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picoruby%2Fpicoruby-esp32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/picoruby","download_url":"https://codeload.github.com/picoruby/picoruby-esp32/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793645,"owners_count":21805057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp-idf-component","esp32","picoruby","ruby"],"created_at":"2025-02-06T09:16:30.853Z","updated_at":"2025-05-07T01:07:45.575Z","avatar_url":"https://github.com/picoruby.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PicoRuby on ESP32\n\nThis is a component that can be used with ESP-IDF, allowing you to add [PicoRuby](https://github.com/picoruby/picoruby) to your project.\n\n## Getting Started\n\n### Preparation\n\nPrepare your project by referring to [this page](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html#).\n\n### Installation\n\nClone this repository into the `components` directory of your project using Git Submodule.\n\n```sh\n$ git submodule add https://github.com/picoruby/picoruby-esp32.git components/picoruby-esp32\n```\n\n### Setup\n\nOpen your `main/CMakeLists.txt` file in an editor. Add `picoruby-esp32` to the `REQUIRES` field.\n\n```cmake\nidf_component_register(\n  SRCS \"main.c\"\n  REQUIRES picoruby-esp32 # \u003c-- add\n  PRIV_REQUIRES spi_flash\n  INCLUDE_DIRS \"\"\n)\n```\n\nCall `picoruby_esp32()` from your C source code.\n\n```c\n#include \"picoruby-esp32.h\"\n\nvoid app_main(void)\n{\n  picoruby_esp32();\n}\n```\n\n### Build\n\nBuild the project using the `idf.py` command.\n\n```sh\n$ . $(YOUR_ESP_IDF_PATH)/export.sh\n$ idf.py set-target $(YOUR_ESP_TARGET) # example: idf.py set-target esp32c3\n$ idf.py build\n```\n\n### Flash and Monitor\n\nFlash the firmware and monitor the output using the `idf.py` command. PicoRuby Shell will start.\n\n```sh\n$ idf.py flash\n$ idf.py monitor\n```\n\n## Example\n\nRefer to this project for examples.\n\n## Supported Environment\n\nCurrently, this project is tested in the following environment only:\n\n- **Build OS**:\n  - Linux\n  - macOS\n- **Device**:\n  - ESP32-DevKitC(esp32)\n  - M5Stamp C3 Mate(esp32c3)\n\n## License\n\n[picoruby-esp32](https://github.com/picoruby/picoruby-esp32) is released under the [MIT License](https://github.com/picoruby/picoruby-esp32/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicoruby%2Fpicoruby-esp32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpicoruby%2Fpicoruby-esp32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicoruby%2Fpicoruby-esp32/lists"}