-
-
Notifications
You must be signed in to change notification settings - Fork 351
Build Instructions using docker and Windows 10
Work-in-progress page
Download and install Docker Desktop for Windows
Download and install GWSL to run Linux Companion and Simulator
- Run GWSL to configure it. Accept page 1 and 2 defaults and add disable access control on page 3
git clone --recursive -b main https://github.com/EdgeTX/edgetx.git EdgeTX
- If you already have a local EdgeTX repository don't forget to update the submodules too, e.g.:
git fetch origin
git checkout main
git submodule update --init --recursive
- open a PowerShell
- cd to your local repository
docker run --name="ETXDocker" -it --rm --mount src="$(pwd)",target="/src",type=bind ghcr.io/edgetx/edgetx-dev bash
cd src
mkdir -p build-output
cd build-output
cmake -DPCB=X10 -DPCBREV=TX16S -DCMAKE_BUILD_TYPE=Release ../
make configure
make -C arm-none-eabi -j$(nproc) firmware
make -C native -j$(nproc) libsimulator
make -C native -j$(nproc) companion210
make -C native -j$(nproc) simulator210
- find the results in folder build-output of your local build repository folder
X9d+:
-DPCB=X9D+ -DCMAKE_BUILD_TYPE=Release
X7:
-DPCB=X7 -DCMAKE_BUILD_TYPE=Release
TX12:
-DPCB=X7 -DPCBREV=TX12 -DCMAKE_BUILD_TYPE=Release
TX16S:
-DPCB=X10 -DPCBREV=TX16S -DCMAKE_BUILD_TYPE=Release
- make sure GWSL is running
- open a PowerShell
- in case you don't know your IP address enter 'ipconfig' to find out
- cd to your build folder
- remember to replace IP_OF_YOUR_WINDOWS_MACHINE with your IP address and enter:
docker run --name="ETXDocker" -it --rm --mount src="$(pwd)",target="/src",type=bind ghcr.io/edgetx/edgetx-dev bash
export DISPLAY=IP_OF_YOUR_WINDOWS_MACHINE:0.0
cd src
./native/companion210
- make sure GWSL is running
- open a PowerShell
- in case you don't know your IP address enter
ipconfig
to find out -
cd
to your build folder - remember to replace IP_OF_YOUR_WINDOWS_MACHINE with your IP address and enter:
docker run --name="ETXDocker" -it --rm --mount src="$(pwd)",target="/src",type=bind ghcr.io/edgetx/edgetx-dev bash
export DISPLAY=IP_OF_YOUR_WINDOWS_MACHINE:0.0
cd src
./native/simulator210
- Should you get a message like
container name "/ETXDocker" is already in use
open a PowerShell and enterdocker stop ETXDocker
- If you need to update the docker image open a PowerShell and enter:
docker rmi ghcr.io/edgetx/edgetx-dev
. The latest image will then be downloaded at next docker run - before running the simulator you need to run companion and create a radio profile
- companion and simulator won't have audio. If you need audio you might find PulseAudio on WSL2 useful
Getting started with Git
- Workflow for GitHub noobs
Building and debugging EdgeTX
- In a webbrowser with Gitpod
- Windows 10 (MSYS2)
- Docker with Windows 10
- Ubuntu in a WSL2 under Win10
- Ubuntu 20.04
- MacOS 10.15
- MacOS 14.1
Modifications:
- Flysky Hall Sticks Mod
- Flysky FRM303 Mod for TX16S
- Flysky PL18 & PL18EV Hardware Mod for Complete EdgeTX Support
- Flysky NB4+ Hardware Mod for Complete EdgeTX Support
- Flashing EdgeTX to Flysky PL18 or Paladin-EV
How to unbrick your radio with STM32CubeProgrammer
DMA mappings of radios:
- RadioMaster TX16S
- FlySky NV14
Interrupt usage of radios:
- RadioMaster TX16S
Implementation notes:
- YAML Parser/Generator
- Mixer synchronisation
Customisable switches:
- Customisable switches
Deprecated:
- Windows 10 (Visual C++)