{"id":20041481,"url":"https://github.com/calebccff/rrst","last_synced_at":"2025-03-02T06:49:30.225Z","repository":{"id":179551990,"uuid":"663676886","full_name":"calebccff/rrst","owner":"calebccff","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-20T14:52:13.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T19:26:49.785Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calebccff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-07-07T21:17:21.000Z","updated_at":"2024-05-20T14:52:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"4851003f-283f-49d8-9b63-d90280e3fd39","html_url":"https://github.com/calebccff/rrst","commit_stats":null,"previous_names":["calebccff/rrst"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebccff%2Frrst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebccff%2Frrst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebccff%2Frrst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebccff%2Frrst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calebccff","download_url":"https://codeload.github.com/calebccff/rrst/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241470365,"owners_count":19968041,"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":[],"created_at":"2024-11-13T10:46:44.599Z","updated_at":"2025-03-02T06:49:30.194Z","avatar_url":"https://github.com/calebccff.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remote ReSeT\n\nRRST is a daemon for controlling an individual board via either the RTS and DTR\npins of a standard USB-\u003eUART adapter, or via an external MCU implementing the\n[CDBA](https://github.com/andersson/cdba) control interface.\n\nRRST expects your board to have a power button and a  \"bootloader mode\" button\n(usually volume up). You should attach these to the DTR# and RTS pins\nrespectively, ideally though a ~10k+ resister (4.7k will do fine).\n\n## Running a serial monitor\n\nTo implement smooth baud rate changes, and workaround the FTDI quirk, rrst\nprovides a passthrough terminal on a pty. As a bonus, this uses\n[ttypersist](https://github.com/russdill/ttypersist), which caches serial port\nconfiguration and hides disconnect/reconnect events, so you can safely\ndetach/reattach your serial adapter without your monitor program disconnecting.\n\nThe pty path can be retrieved with `rrst pty`, this can be integrated into a oneliner like:\n\n```sh\npicocom $(rrst pty)\n```\n\n## Baud rates\n\nBaud rates can be configured in the configuration file. It's also possible to\nconfigure two baud rates, one for the bootloader and one for Linux. This lets\nthe kernel boot a looot faster by using a high baud rate like 3000000 without\nmissing out on bootloader messages. This is accomplished by doing substring\nsearching on the serial output from the device and switching to the Linux baud\nrate when a match is found. The baud rate can also be toggle with `rrst baud`.\n\n## Wiring\n\nEnsure your serial adapter is 1.8v (and is 1.8v on the DTR/RTS lines). Use a\n5-10k resistor between the button test pad and the pins to prevent the pullups\nin the serial adapter from interfering with normal usage.\n\n## Compilation\n\n```bash\nmeson setup build\nmeson compile -C build\n```\n\nInstall with\n\n```sh\nsudo meson install -C build\n```\n\n## Systemd services\n\nRRST provides a user service to run the daemon, you can configure the serial\nport in `$HOME/.config/rrst.conf`, see the default config in this repo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebccff%2Frrst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalebccff%2Frrst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebccff%2Frrst/lists"}