Skip to content

Commit 18c2618

Browse files
committed
Removed legacy vid_pid field from Compile gRPC call
1 parent 2900744 commit 18c2618

File tree

7 files changed

+92
-105
lines changed

7 files changed

+92
-105
lines changed

commands/compile/compile.go

-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ func Compile(ctx context.Context, req *rpc.CompileRequest, outStream, errStream
160160

161161
builderCtx.Jobs = int(req.GetJobs())
162162

163-
builderCtx.USBVidPid = req.GetVidPid()
164163
builderCtx.WarningsLevel = req.GetWarnings()
165164

166165
builderCtx.CustomBuildProperties = append(req.GetBuildProperties(), "build.warn_data_percentage=75")

rpc/cc/arduino/cli/commands/v1/commands.pb.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rpc/cc/arduino/cli/commands/v1/common.pb.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rpc/cc/arduino/cli/commands/v1/compile.pb.go

+89-99
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rpc/cc/arduino/cli/commands/v1/compile.proto

-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ message CompileRequest {
5151
bool verbose = 10;
5252
// Suppresses almost every output.
5353
bool quiet = 11;
54-
// VID/PID specific build properties.
55-
string vid_pid = 12;
5654
// The max number of concurrent compiler instances to run (as `make -jx`).
5755
// If jobs is set to 0, it will use the number of available CPUs as the
5856
// maximum.

rpc/cc/arduino/cli/commands/v1/lib.pb.go

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rpc/cc/arduino/cli/debug/v1/debug.pb.go

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)