{"id":22374648,"url":"https://github.com/blueokiris/ch552g-dev-board","last_synced_at":"2025-10-15T08:31:02.991Z","repository":{"id":234350137,"uuid":"788717655","full_name":"blueOkiris/ch552g-dev-board","owner":"blueOkiris","description":"A simple breakout board with minimal hardware design for the CH552g","archived":false,"fork":false,"pushed_at":"2024-04-26T16:11:24.000Z","size":3080,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-04T21:18:04.782Z","etag":null,"topics":["board","breadboard","c","ch552g","dev","kicad","mcu"],"latest_commit_sha":null,"homepage":"","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/blueOkiris.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}},"created_at":"2024-04-19T00:15:23.000Z","updated_at":"2024-10-06T12:08:28.000Z","dependencies_parsed_at":"2024-04-19T01:27:43.314Z","dependency_job_id":"b0c8dcd8-3fbd-42cd-90eb-553c542030f1","html_url":"https://github.com/blueOkiris/ch552g-dev-board","commit_stats":null,"previous_names":["blueokiris/ch552g-dev-board"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueOkiris%2Fch552g-dev-board","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueOkiris%2Fch552g-dev-board/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueOkiris%2Fch552g-dev-board/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueOkiris%2Fch552g-dev-board/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blueOkiris","download_url":"https://codeload.github.com/blueOkiris/ch552g-dev-board/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236595170,"owners_count":19174372,"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":["board","breadboard","c","ch552g","dev","kicad","mcu"],"created_at":"2024-12-04T21:18:06.531Z","updated_at":"2025-10-15T08:30:57.530Z","avatar_url":"https://github.com/blueOkiris.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CH552G Dev Board\n\n## Description\n\nA simple breakout board with minimal hardware design for the CH552g as well as a C project to be used as a basis.\n\nI've become fond of the CH552g for projects as it's simple like AVR unlike something like ARM, but it doesn't require a programmer and has built-in USB support from the factory, unlike something like AVR but like ARM.\n\nTo ensure I don't have to constantly order pcb after pcb, I've created this dev board that can go on a breadboard, so I can prototype with the chip more easily.\n\n![img](./ch552g-dev-board.jpg)\n\n## Order Boards\n\nOpen up KiCAD and export the Gerber and Drill files and zip them up or grab a zip from Releases.\n\nThen go to JLCPCB's website, start a new order with the zip file, and select PCB Assembly.\n\nThen upload the provided BOM and CPL (in the pcb/ folder) and submit an order.\n\n## Build Example Code \n\nFirst, clone the repo, then make sure you clone all submodules: `git submodule update --init --recursive`\n\n### Dependencies\n\n- Linux:\n   + Just use [nix](https://nixos.org/download/). Use `nix-shell` to get the following:\n      - gnumake\n      - hidapi\n      - libusb1\n      - libusb\n      - python3\n      - sdcc\n      - virtualenv which will create .venv w/\n         + pyusb\n         + ch55xtool\n- Windows:\n   + Install [sdcc](https://sourceforge.net/projects/sdcc/files/latest/download?source=files)\n   + Install [mingw](https://sourceforge.net/projects/mingw/files/latest/download)\n   + Install [WCHISPTool](https://www.wch.cn/download/WCHISPTool_Setup_exe.html)\n      - Only relevant for uploading, not building\n\n### Build\n\nOn Linux, make sure you have the python virtualenv active and sdcc in your path (this happens every time you run `nix-shell`)\n\nRun `make -C example-code` (or `mingw32-make -C example-code`), and it will build everything.\n\n### Upload\n\n__Linux:__\n\nAssuming the program has been built, to upload:\n\n1. Hold down a button on the board you want to upload to\n2. Plug into USB and let go of the button\n3. Within 2 seconds of letting go, run `make -C example-code upload`\n\nIf it fails, just try again a few times. If it's still not working, then repeat the process.\n\n__Windows:__\n\nUse WCHISP Studio\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueokiris%2Fch552g-dev-board","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblueokiris%2Fch552g-dev-board","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueokiris%2Fch552g-dev-board/lists"}