Skip to content

Commit

Permalink
Minimal gitpod devel support
Browse files Browse the repository at this point in the history
Dockerfile fix

Use ~/.local/ as compiler destination to get in path

gcc 2019 q3

Added minimal instructions for gitpod
  • Loading branch information
db4ple committed Jul 16, 2019
1 parent ccebc6f commit 7aa4add
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
image:
file: Dockerfile
14 changes: 11 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ The project is licensed under GPLv3 and is being developed within an open commun

### Getting Started

Soon we'll point here to a document describing how to setup an environment to compile, upload and debug firmware.
The easiest way to get started and build your own firmware is to use gitpod.
* Fork this repository in your own GitHub account
* Open this fork in the browser, press the "gitpod" button and follow the instructions to get an gitpod account
* Once you see the gitpod workspace
```
cd mchf-eclipse
make all
```
* Download the resulting binary `fw-mchf.bin`
* Now it is time to learn how to use git (with gitpod) in order to contribute your own changes.

Meanwhile you may try the available .bin files and follow the instructions in the
mchf-eclipse/bootloader/readme.txt how to upload these.
For more information and details how to build and debug on your own machine, see the [Wiki](https://github.com/df8oe/UHSDR/wiki/Topics:-UHSDR-SW-Development)

### Pull-requests

Expand Down
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM gitpod/workspace-full

# add your tools here
ARG GCC_BASE=gcc-arm-none-eabi-8-2019-q3-update
ARG GCC_SHORT=8-2019q3
ARG GCC_URL=https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/${GCC_SHORT}/${GCC_BASE}-linux.tar.bz2
RUN mkdir -p /home/gitpod/.local && wget -q ${GCC_URL} -O - | tar xfj - -C /home/gitpod/.local --strip-components=1

0 comments on commit 7aa4add

Please sign in to comment.