{"id":19880766,"url":"https://github.com/andidittrich/avr.skeleton-c","last_synced_at":"2026-03-05T06:31:59.209Z","repository":{"id":145680088,"uuid":"48847410","full_name":"AndiDittrich/AVR.Skeleton-C","owner":"AndiDittrich","description":" :skull: Application Skeleton for 8Bit AVR Projects","archived":false,"fork":false,"pushed_at":"2018-01-10T20:28:33.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T02:45:39.933Z","etag":null,"topics":["avr","avr-gcc","avr-library","avr-toolchain","gcc","makefile"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/AndiDittrich.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2015-12-31T11:30:21.000Z","updated_at":"2018-01-10T20:13:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"1032f04e-db16-4937-abf9-9729cd4296e1","html_url":"https://github.com/AndiDittrich/AVR.Skeleton-C","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndiDittrich/AVR.Skeleton-C","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndiDittrich%2FAVR.Skeleton-C","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndiDittrich%2FAVR.Skeleton-C/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndiDittrich%2FAVR.Skeleton-C/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndiDittrich%2FAVR.Skeleton-C/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndiDittrich","download_url":"https://codeload.github.com/AndiDittrich/AVR.Skeleton-C/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndiDittrich%2FAVR.Skeleton-C/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30112235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["avr","avr-gcc","avr-library","avr-toolchain","gcc","makefile"],"created_at":"2024-11-12T17:12:25.735Z","updated_at":"2026-03-05T06:31:59.157Z","avatar_url":"https://github.com/AndiDittrich.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Skeleton-C\r\n==========\r\n\r\nSimple Makefile Template for 8Bit AVR Projects\r\n\r\n## Features ##\r\n\r\n* Simply compile all C-Files of a project\r\n* Project configuration within a simple config file\r\n* EEPROM CLI Programming utility functions\r\n* Generates the `.hex` image and extended listing `.lss`\r\n* Includes some [basic utility functions](docs/library.md) located in `lib/`\r\n* Use [AVRDUDE](http://www.nongnu.org/avrdude/) to upload the flash image to your target\r\n* Advanced PHP based pre-processing (define your custom pre-processor functions)\r\n\r\n## Requirement: AVR Toolchain ##\r\n\r\nThe AVR Toolchain can be installed with your package manager, or *in case you need a more recent version* manually by downloading the [Official Toolchain Package](http://www.atmel.com/tools/atmelavrtoolchainforlinux.aspx)\r\n\r\n**Ubuntu/Debian**\r\n\r\n```bash\r\napt-get install make avr-libc binutils-avr gcc-avr avrdude\r\n```\r\n\r\n## Usage ##\r\n\r\n1. Use git \r\n2. Add **AVR.Skelekton-C** as submodule: `git submodule add https://github.com/AndiDittrich/AVR.Skeleton-C.git`\r\n3. Link the makefile to your project root `ln -s AVR.Skeleton-C/makefile makefile`\r\n4. Copy to makefile.config template `cp AVR.Skeleton-C/config.makefile .`\r\n5. Customize the project based configuration by editing `config.makefile` to match your MCU-Type and frequency\r\n6. Compile your project with `make`\r\n7. Upload the flash image to your device `make install`\r\n\r\nAll build-files are stored in the `build/` directorie. The output files are prefixed with **_application**.\r\nFor example, the generated hex file is located in `build/_application.hex`\r\n\r\n## Project based Configuration ##\r\n\r\nTo edit linker, compiler flags, MCU-target, frequency you just need to edit the `config.makefile` file.\r\nThis allows you to easily update the **Skeleton-C** project without merging the makefile manually!\r\n\r\n### Exmaple - Target Device Settings ###\r\n\r\n* 8MHz Clock\r\n* atmega16\r\n\r\n```makefile\r\n# The AVR Device (AVR-GCC/AVRDUDE)\r\nT_DEVICE = atmega16\r\n\r\n# Target Clock (F_CPU) in Hz\r\nT_FCPU  = 8000000\r\n```\r\n\r\n## EEPROM Programming ##\r\n\r\n```raw\r\n0x55 0x22 0x10 0x1 0x00 0x01 0x02 0x03\r\n0x22 0x11 0x00 0xff 0xA0\r\n```\r\n\r\n## Library Functions ##\r\n\r\nA bunch of easy to use [utility functions](docs/library.md) is included to speed-up your project.\r\nFor further informations, please take a look into the [Documentation](docs/library.md)\r\n\r\n## Any Questions ? Report a Bug ? Enhancements ? ##\r\n\r\nPlease open a new issue on [GitHub](https://github.com/AndiDittrich/AVR.Skeleton-C/issues)\r\n\r\n## License ##\r\n\r\nAVR.Skeleton-C is OpenSource and licensed under the Terms of [The MIT License (X11)](http://opensource.org/licenses/MIT). You're welcome to [contribute](https://github.com/AndiDittrich/AVR.Skeleton-C/blob/master/CONTRIBUTE.md)!\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandidittrich%2Favr.skeleton-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandidittrich%2Favr.skeleton-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandidittrich%2Favr.skeleton-c/lists"}