{"id":13343782,"url":"https://github.com/oldrev/esp-idf-smf","last_synced_at":"2025-07-12T02:32:39.040Z","repository":{"id":206682304,"uuid":"717451947","full_name":"oldrev/esp-idf-smf","owner":"oldrev","description":"A port of the Zephyr RTOS SMF(State Machine Framework) to the ESP-IDF framework.","archived":false,"fork":false,"pushed_at":"2024-08-05T06:18:31.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-24T16:49:18.261Z","etag":null,"topics":["esp-idf","esp32","espressif","idf","smf","state-machine","zephyr","zephyr-rtos"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oldrev.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}},"created_at":"2023-11-11T14:26:35.000Z","updated_at":"2024-08-05T06:18:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa1a51f6-da34-4b46-80be-8d408cf18df7","html_url":"https://github.com/oldrev/esp-idf-smf","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"e91e5d7bada6d6acd9ae2472ce445827d5d595b9"},"previous_names":["oldrev/esp-idf-smf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldrev%2Fesp-idf-smf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldrev%2Fesp-idf-smf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldrev%2Fesp-idf-smf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oldrev%2Fesp-idf-smf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oldrev","download_url":"https://codeload.github.com/oldrev/esp-idf-smf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225787163,"owners_count":17524104,"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","esp32","espressif","idf","smf","state-machine","zephyr","zephyr-rtos"],"created_at":"2024-07-29T19:32:00.921Z","updated_at":"2024-11-21T18:42:23.147Z","avatar_url":"https://github.com/oldrev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# State Machine Framework for ESP-IDF\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)\n\n## Overview\n\nThis repository contains a port of the Zephyr Real-Time Operating System (RTOS) State Machine Framework to the ESP-IDF framework. The State Machine Framework provides a flexible and efficient way to implement state machines in your ESP-IDF projects.\n\n## Features\n\n- Easy integration with ESP-IDF projects as a Component.\n- Utilizes the powerful Zephyr State Machine Framework for efficient state management.\n- Apache 2.0 licensed for open-source use.\n\n## Getting Started\n\nTo use the ESP-IDF Zephyr State Machine Framework in your project, follow these steps:\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/oldrev/esp-idf-smf.git\n    ```\n\n2. Add the component to your ESP-IDF project:\n\n    ```bash\n    cd your-espidf-project\n    mkdir components\n    cp -r path/to/esp-idf-smf components/\n    ```\n\n    Don't forget to add the `smf` requirement to your project's `CMakeLists.txt` file.\n\n3. Include the State Machine Framework header in your code:\n\n    ```c\n    #include \"smf/smf.h\"\n    ```\n\n4. Add the following line to your project's `sdkconfig` file to enable support for multi-level state machines:\n    ```plaintext\n    CONFIG_SMF_ANCESTOR_SUPPORT=y\n    ```\n\n5. Start using the State Machine Framework in your project.\n\n\n## Example Usage\n\nTo integrate the Zephyr State Machine Framework into your ESP-IDF project, you can refer to the official Zephyr RTOS documentation for the State Machine Framework: [Zephyr SMF Documentation](https://docs.zephyrproject.org/latest/services/smf/index.html).\n\nThe integration process is similar to the standard Zephyr workflow, with the additional step of including this component in your ESP-IDF project. Once the component is added, you can follow the Zephyr documentation for creating and managing state machines.\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the LICENSE file for details.\n\n## Acknowledgments\n\nThis project is built upon the Zephyr Real-Time Operating System and ESP-IDF.\n\nThanks to the open-source community for their contributions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldrev%2Fesp-idf-smf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foldrev%2Fesp-idf-smf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldrev%2Fesp-idf-smf/lists"}