From 1dc91058761816cc2427495e48f373393e62cf32 Mon Sep 17 00:00:00 2001 From: bishko <23706061+bishko@users.noreply.github.com> Date: Sun, 5 May 2024 13:06:13 +0100 Subject: [PATCH] Create Building in Gitpod.md (#10004) Gitpod offer by far the easierst and fastest method for building INAV targets. I wrote a small .md for those who want to have a step-by-step guide. --- docs/development/Building in Gitpod.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/development/Building in Gitpod.md diff --git a/docs/development/Building in Gitpod.md b/docs/development/Building in Gitpod.md new file mode 100644 index 00000000000..4434b734433 --- /dev/null +++ b/docs/development/Building in Gitpod.md @@ -0,0 +1,15 @@ +# Building in Gitpod + +Gitpod offers an online build environment for building INAV targets. +## Setting up the environment + +1. Go to https://gitpod.io/new +1. Paste `https://github.com/iNavFlight/inav/tree/master` into the field called "Select a repository" +1. Cick on the link that shows in the drop down and Gitpod will atomatically selects the adequate Editor and Browser +1. Leave the other fields as default and click "Continue". Your build environment will be created. +1. At the bottom of the page, you will see a command line. Type `make [TARGET]` and wait for the target to be built. +1. Your new target will be located in a folder called `bin`, which can be found at the top left of the page. + +NOTE: You can use this method to build your forks as well. Just paste in the link to your fork and follow the rest of the steps. + +You are done!