{"id":22253496,"url":"https://github.com/nitrokey/chopstx","last_synced_at":"2025-07-28T05:32:40.476Z","repository":{"id":150827123,"uuid":"75741621","full_name":"Nitrokey/chopstx","owner":"Nitrokey","description":"Unofficial mirror of GNUK's submodule: Chopstx","archived":false,"fork":false,"pushed_at":"2022-02-16T10:20:36.000Z","size":796,"stargazers_count":15,"open_issues_count":2,"forks_count":22,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-20T12:45:52.057Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://salsa.debian.org/gnuk-team/chopstx/chopstx","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nitrokey.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS"}},"created_at":"2016-12-06T14:57:51.000Z","updated_at":"2024-09-04T20:55:06.000Z","dependencies_parsed_at":"2023-05-21T19:15:16.571Z","dependency_job_id":null,"html_url":"https://github.com/Nitrokey/chopstx","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitrokey%2Fchopstx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitrokey%2Fchopstx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitrokey%2Fchopstx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitrokey%2Fchopstx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nitrokey","download_url":"https://codeload.github.com/Nitrokey/chopstx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227870081,"owners_count":17832316,"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-12-03T07:18:40.718Z","updated_at":"2024-12-03T07:18:41.311Z","avatar_url":"https://github.com/Nitrokey.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Chopstx - Threads and only Threads\n\t\t\t\t\t\t\tVersion 1.14\n\t\t\t\t\t\t\t  2018-03-02\n\t\t\t\t\t\t\tNiibe Yutaka\n\t\t\t\t\t     Flying Stone Technology\n\nWhat's Chopstx?\n===============\n\nChopstx is an RT thread library for STM32F103 and GD32F103 (ARM\nCortex-M3), STM32F030 (ARM Cortex-M0), MKL27Z (ARM Cortex-M0plus), and\nemulation on GNU/Linux.\n\nWhile most RTOSes come with many features, drivers, and protocol\nstacks, Chopstx just offers a simple RT thread library.\n\nWith Chopstx, interrupt handling is also done by a thread.  This\nenables coherent code for ease of maintenance.\n\nWhile threads are important, we don't need more threads than\nnecessary.  Chopstx provides a feature of poll, so that we can\nminimize use of threads.\n\n\nNote that this library is _not_ related to the hand game:\n\n    https://en.wikipedia.org/wiki/Chopsticks_(hand_game)\n\nThanks to Yao Wei and Enrico Zini for giving me an opportunity\nvisiting the wiki page above, when my children were playing the game.\n\n\nLicense\n=======\n\nIt is distributed under GNU General Public Licence version 3 or later\n(GPLv3+), with additional permission.  Please see COPYING and\nEXCEPTION.\n\n\nExample code\n============\n\nWe have some examples in this distribution; Useful ones are LED\nblinker and USB CDC-ACM device.  For STM32F103, you can build it USB\nCDC-ACM demo by:\n\n   $ cd example-cdc\n   $ ln -sf ../board/board-olimex-stm32-h103.h board.h\n   $ make\n\nIf you want to try GD32F103, Add -DMHZ=96 to DEFS in Makefile.\n\nFor a specific board named FSM-55, an example of LED matrix dynamic\ndriver is provided.  See the directory: example-fsm-55.\n\nFor STM32 Primer2, see the directory: example-primer2.\n\n\nFuture Works\n============\n\nConvenience function to determine the bottom of thread stack,\nconfiguration of thread size by compiler's output would be next things\nto be done.\n\nExperimental SMP port for Cortex-A7 is under development.  For SMP,\nmore careful considerations for shared access to objects of struct\nchx_pq is needed.  So, modifications required will not be small.\n-- \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitrokey%2Fchopstx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitrokey%2Fchopstx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitrokey%2Fchopstx/lists"}