{"id":21070747,"url":"https://github.com/microbit-foundation/docker-codal-microbit-v2-llvm","last_synced_at":"2026-03-19T18:44:09.573Z","repository":{"id":194769445,"uuid":"691514602","full_name":"microbit-foundation/docker-codal-microbit-v2-llvm","owner":"microbit-foundation","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-27T08:58:48.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-08T08:46:35.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microbit-foundation.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":"2023-09-14T10:35:00.000Z","updated_at":"2023-09-14T11:58:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"8bae4149-9e2c-4710-82cf-b9c043e15de7","html_url":"https://github.com/microbit-foundation/docker-codal-microbit-v2-llvm","commit_stats":null,"previous_names":["microbit-foundation/docker-codal-microbit-v2-llvm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/microbit-foundation/docker-codal-microbit-v2-llvm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fdocker-codal-microbit-v2-llvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fdocker-codal-microbit-v2-llvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fdocker-codal-microbit-v2-llvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fdocker-codal-microbit-v2-llvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microbit-foundation","download_url":"https://codeload.github.com/microbit-foundation/docker-codal-microbit-v2-llvm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fdocker-codal-microbit-v2-llvm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29059097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T20:13:53.544Z","status":"ssl_error","status_checked_at":"2026-02-03T20:13:40.507Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-19T18:48:10.986Z","updated_at":"2026-02-03T22:06:33.897Z","avatar_url":"https://github.com/microbit-foundation.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-codal-microbit-v2-llvm\n\n\nTo build the docker image:\n```\ndocker build -t \"microbit-llvm\" .\n```\n\nTo run the docker image:\n\n```\ndocker run --rm -v $(pwd):/home microbit-llvm main.cpp\n```\n\nTo jump into a container:\n```\ndocker run -it --rm microbit-llvm\n```\n\nSteps to extract the hex (Users passing their own main does not work as of now, but this is a good foundation):\n```\ndocker build -t \"microbit-llvm\" .\ndocker run --name llvm microbit-llvm:latest\ndocker start llvm\ndocker cp llvm:/home/microbit-v2-samples-llvm/build/MICROBIT.hex .\n```\nTo extract the newlib artefact (This will need optimising before sending to browser):\n```\ndocker cp llvm:/home/archive.tar .\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrobit-foundation%2Fdocker-codal-microbit-v2-llvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrobit-foundation%2Fdocker-codal-microbit-v2-llvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrobit-foundation%2Fdocker-codal-microbit-v2-llvm/lists"}