https://github.com/bazelembedded/rules_openocd
A set of Bazel rules for flashing binaries to microcontrollers.
https://github.com/bazelembedded/rules_openocd
bazel bazel-rules embedded openocd
Last synced: 29 days ago
JSON representation
A set of Bazel rules for flashing binaries to microcontrollers.
- Host: GitHub
- URL: https://github.com/bazelembedded/rules_openocd
- Owner: bazelembedded
- License: mit
- Created: 2021-06-15T10:42:25.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-11T07:10:39.000Z (over 4 years ago)
- Last Synced: 2025-07-07T22:36:53.174Z (about 1 year ago)
- Topics: bazel, bazel-rules, embedded, openocd
- Language: Starlark
- Homepage: https://bazelembedded.github.io/rules_openocd/
- Size: 256 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Openocd Rules for Bazel
A set of Bazel rules for flashing bare-metal programs using
[openocd](https://openocd.org/).
For a comprehensive introduction please read our [documentation](https://bazelembedded.github.io/rules_openocd).
# Getting started
``` python
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "rules_openocd",
remote = "https://github.com/bazelembedded/rules_openocd.git",
commit = "",
)
load("@rules_openocd//:openocd_deps.bzl", "openocd_deps")
openocd_deps()
```