{"id":20522863,"url":"https://github.com/anachrocomputer/samd21blinky","last_synced_at":"2026-04-20T11:02:17.309Z","repository":{"id":70084996,"uuid":"356705980","full_name":"anachrocomputer/SAMD21blinky","owner":"anachrocomputer","description":"Rudimentary setup and main loop code for blinking LEDs on a SAMD21","archived":false,"fork":false,"pushed_at":"2023-08-18T19:38:02.000Z","size":22,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-16T10:49:16.690Z","etag":null,"topics":["atmel","microchip","samd21","samd21g17d"],"latest_commit_sha":null,"homepage":"","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/anachrocomputer.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":"2021-04-10T22:05:27.000Z","updated_at":"2023-08-12T15:52:34.000Z","dependencies_parsed_at":"2025-01-16T10:43:29.793Z","dependency_job_id":"ddce860e-27cd-46cb-8e40-7c63fd4a831b","html_url":"https://github.com/anachrocomputer/SAMD21blinky","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/anachrocomputer%2FSAMD21blinky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anachrocomputer%2FSAMD21blinky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anachrocomputer%2FSAMD21blinky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anachrocomputer%2FSAMD21blinky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anachrocomputer","download_url":"https://codeload.github.com/anachrocomputer/SAMD21blinky/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242128317,"owners_count":20076177,"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":["atmel","microchip","samd21","samd21g17d"],"created_at":"2024-11-15T22:37:08.597Z","updated_at":"2026-04-20T11:02:17.302Z","avatar_url":"https://github.com/anachrocomputer.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Static Badge](https://img.shields.io/badge/MCU-ATSAMD21-green \"MCU:ATSAMD21\")\n![Static Badge](https://img.shields.io/badge/IDE-MPLAB_X_V6.20-green \"IDE:MPLAB_X_V6.20\")\n![Static Badge](https://img.shields.io/badge/BOARD-SAMD21_Curiosity_Nano-green \"BOARD:SAMD21_Curiosity_Nano\")\n\n# SAMD21blinky #\n\nSome simple SAMD21 ARM test programs to verify toolchain, programmer, and chip.\n\nThe programs are in C and may be compiled with GCC and 'make' on Linux.\nAlternatively, Microchip MPLAB X and 'xc32' may be used on Linux or Windows.\n\nNote that access to the chip registers in the source must be coded differently\nbetween GCC and MPLAB X.\nFor the differences, compare 'blinky.c' in the root of the repo (GCC) with\n'blinky.c' in the subdirectory 'blinky.X' (MPLAB X).\nThe registers themselves are of course the same,\nbut the way that they're named and the data structures used to access them are\ndifferent.\n\n## Chips Supported ##\n\nAt present, there's only support for the SAMD21G17D on the SAMD21 Curiosity Nano.\n\nI have a SAMD21E18A on a break-out board that I'd like to get working too.\n\n## ARM Toolchains ##\n\n### MPLAB X ###\n\nA recent version of MPLAB X and the 'xc32' compiler.\nThe source code and IDE setup files are in the subdirectory 'blinky.X'.\nTested with MPLAB X V6.20 and xc32 V4.60.\n\n### GCC and 'make' ###\n\nWe can borrow the compiler, header files, startup files, and linker scripts\nfrom the Arduino installation.\nSource code 'blinky.c' and the usual 'Makefile' in the root of the repo.\nOnly compilation and linking is working at the moment;\nprogramming the chip is not yet possible\n(what programming tool should we use?).\nAlso, the 'blinky.c' file is at an early stage of development and does not\nset up very much of the hardware yet.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanachrocomputer%2Fsamd21blinky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanachrocomputer%2Fsamd21blinky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanachrocomputer%2Fsamd21blinky/lists"}