{"id":13343798,"url":"https://github.com/gblach/Sunmachine-A2-fw","last_synced_at":"2025-03-12T06:30:29.702Z","repository":{"id":140663008,"uuid":"449066640","full_name":"gblach/Sunmachine-A2-fw","owner":"gblach","description":"Firmware for the Sunmachine-A2-pcb board.","archived":true,"fork":false,"pushed_at":"2022-04-05T22:37:52.000Z","size":237,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-24T16:49:20.169Z","etag":null,"topics":["bluetooth","bluetooth-le","bluetooth-low-energy","iot","sk6812","ws2812","ws2812b","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/gblach.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":"2022-01-17T22:27:28.000Z","updated_at":"2023-01-27T23:35:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"f985330b-7449-4592-8b72-c49bd85ebf57","html_url":"https://github.com/gblach/Sunmachine-A2-fw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gblach%2FSunmachine-A2-fw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gblach%2FSunmachine-A2-fw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gblach%2FSunmachine-A2-fw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gblach%2FSunmachine-A2-fw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gblach","download_url":"https://codeload.github.com/gblach/Sunmachine-A2-fw/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243171369,"owners_count":20247876,"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":["bluetooth","bluetooth-le","bluetooth-low-energy","iot","sk6812","ws2812","ws2812b","zephyr","zephyr-rtos"],"created_at":"2024-07-29T19:32:01.127Z","updated_at":"2025-03-12T06:30:29.683Z","avatar_url":"https://github.com/gblach.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sunmachine-A2-fw\nThe firmware for the [Sunmachine-A2-pcb](https://github.com/gblach/Sunmachine-A2-pcb) board.\nIt allows to control WS2812, SK6812 or similar LED strips via Bluetooth LE. It supports both RGB and WWA LEDs.\nBoards with this firmware can be controlled using the [Sunmachine-app](https://github.com/gblach/Sunmachine-app) mobile app.\n\n## Installing pre-built firmware\nPre-built firmware is saved in [Sunmachine-A2-fw.hex](Sunmachine-A2-fw.hex) file.\n\nThe firmware can be uploaded using the [nRF Connect for Desktop](https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-desktop) or [nRF Command Line Tools](https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download). Depends on whether you want to use GUI program or the command line.\n\nYou also need an appropriate programmer, the standalone [Segger J-Link](https://www.segger.com/products/debug-probes/j-link/) or the on-board Segger J-Link (this can be found for e.g. on [nrf52840dk](https://www.nordicsemi.com/Products/Development-hardware/nRF52840-DK) board). This programmer must be connected to Tag-Connect 2050 connector on the board and to your PC.\n\n## Building from source code\nInstead of using pre-built firmware, you can build it from source. To do this, you must have the [Zephyr development environment](https://www.zephyrproject.org/) installed. Follow [these instructions](https://docs.zephyrproject.org/latest/getting_started/index.html) to install it on your system.\n\nTo build the firmware, run the following command. *\"./Sunmachine-A2-fw\"* is a path to the source code directory.\n\n\twest build -b sma2 ./Sunmachine-A2-fw\n\nAnd then, to upload the firmware to the board, you need an appropriate programmer. When connected, run the following command:\n\n\twest flash\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgblach%2FSunmachine-A2-fw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgblach%2FSunmachine-A2-fw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgblach%2FSunmachine-A2-fw/lists"}