{"id":20885463,"url":"https://github.com/lab11/buckler","last_synced_at":"2025-05-12T19:31:02.033Z","repository":{"id":33843080,"uuid":"142791106","full_name":"lab11/buckler","owner":"lab11","description":"Development board for teaching embedded systems","archived":false,"fork":false,"pushed_at":"2021-12-10T06:17:28.000Z","size":23135,"stargazers_count":5,"open_issues_count":1,"forks_count":11,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-04-14T04:45:07.490Z","etag":null,"topics":["hardware","open-hardware","university-project"],"latest_commit_sha":null,"homepage":null,"language":"C","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/lab11.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}},"created_at":"2018-07-29T19:52:28.000Z","updated_at":"2022-09-26T22:07:31.000Z","dependencies_parsed_at":"2022-07-19T01:02:29.476Z","dependency_job_id":null,"html_url":"https://github.com/lab11/buckler","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fbuckler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fbuckler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fbuckler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fbuckler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lab11","download_url":"https://codeload.github.com/lab11/buckler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225148869,"owners_count":17428430,"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":["hardware","open-hardware","university-project"],"created_at":"2024-11-18T08:13:34.710Z","updated_at":"2024-11-18T08:13:35.438Z","avatar_url":"https://github.com/lab11.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Berkeley Buckler\n================\n\n[![Build Status](https://api.travis-ci.com/lab11/buckler.svg?branch=master)](https://app.travis-ci.com/github/lab11/buckler)\n\nA development board for teaching embedded systems.\n\n![Buckler PCB](media/buckler_revB.png)\n\n### Getting Started\n\n 1. Clone this repository and update the submodule\n\n```\n  $ git clone https://github.com/lab11/buckler.git --recursive\n  $ git subomdule update --init --recursive\n```\n\n 2. Build an example application\n\n```\n  $ cd software/apps/blink/\n  $ make\n```\n\nYou should see results similar to\n\n```\nBUILD OPTIONS:\n  Chip        nrf52832\n  RAM         64 kB\n  FLASH       512 kB\n  SDK         15\n  SoftDevice  s132 6.0.0\n  Board       Buckler_revB\n\n DIR        _build\n CC main.c ...\n ... (many more CCs) ...\n LD _build/blink_sdk15_s132.elf\n HEX _build/blink_sdk15_s132.hex\n BIN _build/blink_sdk15_s132.hex\n SIZE _build/blink_sdk15_s132.elf\n text    data    bss     dec    hex   filename\n 37672   2548   2624   42844   a75c   _build/blink_sdk15_s132.elf\n```\n\n 3. Load the example application (be sure to connect your Buckler board)\n\n```\n  $ make flash\n```\n\nThe three LEDS (red, yellow, and blue) on Buckler should begin a blinking\nsequence.\n\n\n### Build Options\n\nSeveral make directives exist for convenience of performing common operations.\n\n * **flash** - Upload code to the attached board over JTAG. Also builds code if\n               necessary.\n * **rtt** - Open two additional terminals, one starting a JTAG connection and\n             the other with an RTT terminal.\n * **gdb** - Open two additional terminals, one starting a GDB server and the\n\t\t     the other with a GDB session.\n * **debug** - Build application in unoptimized debug mode (with `-g` and `-O0`).\n * **flash_debug** - Upload debug version of code to the attached board over JTAG.\n\t\t\t\t     Also builds the debug version of code if necessary.\n * **erase** - Erase all code from the attached board over JTAG.\n * **flash_softdevice** - Upload the appropriate softdevice to the board over JTAG.\n\t\t\t\t\t\t  `make flash` automatically runs this command.\n * **clean** - Remove all built output.\n * **size** - Print size of built application text and data segments.\n * **lst** - Generate an assembly listing of the built code.\n\n\n### Directory Structure\n\n```\n├── hardware\n│   └── \u003cVarious hardware revisions\u003e\n│       ├── \u003cPDF version of schematic and layout\u003e\n│       ├── \u003cEagle schematic and layout files\u003e\n│       └── \u003cZipped assembly files\u003e\n├── media\n│   └── \u003cImages used in repo\u003e\n└── software\n    ├── apps\n    │   └── \u003cVarious applications\u003e\n    │       ├── \u003cCode for application\u003e\n    │       └── \u003cMakefile for application\u003e\n    ├── boards\n    │   └── \u003cBoard-specific headers and Makefiles\u003e\n    ├── libraries\n    │   └── \u003cVarious libraries\u003e\n    ├── nrf5x-base\n    │   └── \u003cSubmodule: build tools and files for nRF projects\u003e\n    └── tools\n        └── \u003cTools for Travis-CI use\u003e\n```\n\n### Project Repositories\n\nIf you are using Buckler for a project, we recommend you include it as a\nsubmodule in your own repository. An example of how to do so can be found in:\n[buckler-external-repo](https://github.com/brghena/buckler-external-repo)\n\n### Software Requirements\n\nIn order to get code compiling and loading over JTAG, you'll need at least two tools.\n\n**JLinkExe** should be installed from [here](https://www.segger.com/downloads/jlink).\nYou want to the \"J-Link Software and Documentation Pack\". There are various packages\navailable depending on operating system.\n\n\n**arm-none-eabi-gcc** is the cross-compiler version of GCC for building embedded ARM code.\n\n  MacOS:\n  ```\n  $ brew tap ARMmbed/homebrew-formulae \u0026\u0026 brew update \u0026\u0026 brew install arm-none-eabi-gcc\n  ```\n\n  Ubuntu:\n  ```\n  $ sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa \u0026\u0026 sudo apt update \u0026\u0026 sudo apt install gcc-arm-embedded\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fbuckler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flab11%2Fbuckler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fbuckler/lists"}