arduino / arduino/Arduino

Bazel Support

Open
#6,860 7 comments 23 reactions 0 assignees View on GitHub
feature request
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

It'd be nice if the Arduino compile had Bazel (http://bazel.build) integration.

Something like:

```
arduino_cc_binary(
name = "example",
srcs = ["example.ino"],
board = "@io_github_arduino_arduino//boards:esp8266",
libraries = ["rs232"],
)
```
This would download the board definition, arduino compiler, and required libraries and build them to bazel-bin/example.bin

Contributor guide

Open the contributing guide

Research direction

Start by investigating how the Arduino compile currently obtains board definitions, the compiler, and libraries, then compare those needs with the proposed Bazel target. The example target in the issue is the requested starting point; done should mean it can build the example sketch into bazel-bin/example.bin.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.