Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

fix docker build #328

Open
wants to merge 224 commits into
base: master
Choose a base branch
from
Open

fix docker build #328

wants to merge 224 commits into from

Conversation

dingdayu
Copy link

docker build:

# clone git repository & to dir
git clone https://github.com/furrtek/portapack-havoc.git && cd portapack-havoc

# download git submodule 
git submodule update --init --recursive

# build docker images
docker build -t portapack -f dockerfile .

# build portapack-havoc
docker run -v `pwd`/havocbin:/havocbin portapack

# check bin file
ls havocbin

@dingdayu
Copy link
Author

dingdayu commented Apr 13, 2020

build in docker:

docker run -v `pwd`:/havoc/bin dingdayu/havoc

Build the latest code of the current repository to the current directory.

depend:

  • linux or mac
  • docker daemon running

@eried
Copy link

eried commented Apr 16, 2020

Great! works now in Windows

docker run -v pwd/havocbin:/havocbin portapack

I guess you want to say havoc/bin here right?

In Docker Windows, something like this works:
docker run -v ${PWD}/build:/havoc/bin portapack

@dingdayu
Copy link
Author

dingdayu commented Apr 17, 2020

Great! works now in Windows

docker run -v pwd/havocbin:/havocbin portapack

I guess you want to say havoc/bin here right?

In Docker Windows, something like this works:
docker run -v ${PWD}/build:/havoc/bin portapack

Yeah

eried added 23 commits April 18, 2020 01:17
Few improvements in ui_transmitter (furrtek#332)
Few improvements in ui_transmitter (furrtek#332)
dockerfile for compiling a local folder that contains the sourcecode, instead of pulling a fresh copy every time.

To prepare to compile Havoc in Windows/Linux/Mac Docker for example, in the path of the sourcecode:
    docker build -t portapack -f dockerfile-nogit .

And then:
    docker run -v ${PWD}:/havoc portapack

The bin file will be on the build directory now.
Merge branch 'master' into gps-sim
euquiq and others added 30 commits June 27, 2020 23:59
It reads the antennas definition from a txt file:

WHIPCALC/ANTENNAS.TXT

Inside the textfile you place each antenna you own with the following sintaxis:

<antenna label> <elements length in mm, separated by a space>

For example:

ANT500 185 315 450 586 724 862

Input the required frequency, adjust the wave type (full / half / quarter, etc.) and the calculator will return the antenna length (metric and imperial) while also calculating how much you need to expand the fitting antennas you got defined on the txt.

It may return up to 8 matching antennas, which is more than enough (normally you will have 2, perhaps 3 telescopic antennas around for your portapack)

If by any chance your antennas txt got more than 8 antennas, and more than 8 matches the length of the freq / wave you want, it will only show the first 8 matching antennas and will warn you at the bottom that there are even more results (hidden).

All calculations now are rounded into the best integer, considering first decimal, so precision is double than the original antenna calculator app.
As shown in portapack-mayhem/mayhem-firmware#88 ...

Tiny bug but probably responsible for badly forming datetime in several apps, as it is used in ACARS, POCSAG and ADSB_TX (and of course AIS RX)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants