Build Instructions using Docker and Windows 10¶
Work-in-progress page
Building EdgeTX on Windows 10 using Docker images¶
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
Fetch a local copy of the EdgeTX repository or update your existing local EdgeTX repository¶
- If you already have a local EdgeTX repository don't forget to update the submodules too, e.g.:Run build (example TX16s)¶
- 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
More Cmake build options¶
X9d+:
X7:
TX12:TX16S:
Running Linux Companion and Simulator¶
Running Companion¶
- 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:
Running Simulator¶
- make sure GWSL is running
- open a PowerShell
- in case you don't know your IP address enter
ipconfigto find out cdto your build folder- remember to replace IP_OF_YOUR_WINDOWS_MACHINE with your IP address and enter:
Needful things¶
- Should you get a message like
container name "/ETXDocker" is already in useopen 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