-
-
Notifications
You must be signed in to change notification settings - Fork 369
Build Instructions using docker and Windows 10
Work-in-progress page
Install docker desktop.
git clone --recursive -b main https://github.com/EdgeTX/edgetx.git edgetx_main
If you've already got a git working copy, when you update it don't forget to update the submodules too, something like:
git fetch origin
git checkout v2.4.0
git submodule update --init --recursive
Use a directory with no spaces in the name for the directory containing the source, i.e. not "My Documents" - Note: It's possible to create a symlink/junction point so that 'Documents' points to 'My Documents'.
cd /cygdrive/d/Documents/dev/embedded/edgetx/
In Cygwin Terminal:
docker run -it --rm --mount src="$(cygpath -w $(pwd))",target="/src",type=bind ghcr.io/edgetx/edgetx-dev:2.4 bash
Command Prompt (PowerShell):
docker run -it --rm --mount src="$(pwd)",target="/src",type=bind ghcr.io/edgetx/edgetx-dev:2.4 bash
cd src
2.4 only:
export PATH="~/edgetx/edgetx-v2.4/radio/util:$PATH"
x9d+:
mkdir build-x9d-2.4
cd build-x9d-2.4/
cmake -LH ../ > cmake-options.txt
cmake -DPCB=X9D+ CMAKE_BUILD_TYPE:STRING=Release ../
make -j`nproc` firmware
NOTE: If getting error on last line related to nproc
replace nproc
with integer representing number of processes assigned for the task, for example for 16 processes:
make -j16 firmware
x7:
mkdir build-x7-2.4
cd build-x7-2.4
cmake -LH ../ > cmake-options.txt
cmake -DPCB=X7 CMAKE_BUILD_TYPE:STRING=Release ../
make -j`nproc` firmware
tx12:
mkdir build-tx12
cd build-tx12
cmake -LH ../ > cmake-options.txt
cmake -DPCB=X7 -DPCBREV=TX12 CMAKE_BUILD_TYPE:STRING=Release ../
make -j`nproc` firmware
Building & running simulator (simulator is keyboard-controlled!):
make -j`nproc` simu
export DISPLAY=IP_OF_YOUR_WINDOWS_MACHINE:0.0
./simu
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
Various
- External-module-protocols
- Customisable switches
Deprecated:
- Windows 10 (Visual C++)