Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Add build instructions for deploy #298

Merged
merged 4 commits into from
Dec 29, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions source/docs/contributing/photonvision/build-instructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,27 @@ Running the following command under the root directory will build the jar under

``gradlew shadowJar``

Build and Run the Source on a Raspberry Pi Coprocessor
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

As a convinenece, the build has built in `deploy` command which builds, deploys, and starts the current source code on a coprocessor. It is generally intended for Raspberry Pi based coprocessors.

An architecture override is required to specify the deploy target's architecture.

.. tab-set::

.. tab-item:: Linux

``./gradlew deploy -PArchOverride=linuxarm64`
gerth2 marked this conversation as resolved.
Show resolved Hide resolved

.. tab-item:: macOS

``./gradlew deploy -PArchOverride=linuxarm64``

.. tab-item:: Windows (cmd)

`gradlew deploy -PArchOverride=linuxarm64``

Using PhotonLib Builds
~~~~~~~~~~~~~~~~~~~~~~

Expand Down
Loading