chore: update Ubuntu 22.04 build environment script and docs#7209
Merged
Conversation
…r image Sync setup_buildenv_ubuntu22.04.sh with the edgetx-dev Dockerfile: - Add PPAs: Kitware (newer cmake), NodeSource Node 20.x, git-core, savoury1/multimedia (newer SDL2) - Install dfu-util from apt instead of building from source; removes 4 steps and libusb-1.0-0-dev dependency - Add nodejs (Node 20.x) and install lv_font_conv globally for font generation - Remove i386 architecture support and 32-bit libs — no longer needed since the ARM GNU toolchain 14.x ships as native 64-bit binaries - Update Qt 6.9.0 → 6.9.3 - Update Python packages: unpin pillow and clang, add pydantic, remove unused filelock/future/lxml Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Makes version bumps a single-line change rather than hunting through the script. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add Qt bin dir to ~/.bashrc alongside the ARM toolchain, using a heredoc to cleanly handle variable expansion (QT_VERSION expands now, $PATH is written literally). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
aqt runs as the current user so it needs write access to the output directory before installing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add "last tested" version/date header - Fix WSL2 reference to mention Windows 11 and correct link text - Fix chmod command (a+x -> +x) - Drop cd into build-output; all commands now run from source root - Fix cmake options listing command (../ -> -S . to match new working directory) - Replace make-based workflow with cmake --build throughout, eliminating the jobserver conflict warning caused by the superbuild - Add CMAKE_BUILD_PARALLEL_LEVEL export so --parallel works without a count - Use cmake --fresh -S . -B <dir> configure style for clarity and correctness - Add -Wno-dev to suppress developer warnings - Remove outdated "Starting with 2.8" note - Restructure Companion/Simulator section with current (post-2.12) workflow first, using wasi-module target and multi-target cmake --build - Document required cp of .wasm file from wasm-build/ to native/ when building a single target manually - Mention tools/build-wasm-modules.sh as a helper to build all radio simulator modules in one go - Add legacy section for EdgeTX 2.10-2.12 using libsimulator target - Separate cd and binary launch into individual code blocks for easier copy/paste; enforce one command per code block throughout Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
setup_buildenv_ubuntu22.04.shwith the CI Docker image (edgetx-dev)docs/building/linux-ubuntu-22.04.mdto reflect current build workflowScript changes (
setup_buildenv_ubuntu22.04.sh)dfu-utilfrom apt instead of building from sourcenodejs+ installlv_font_convgloballyQT_VERSIONandGCC_ARM_VERSIONas top-level constants~/.bashrcPATH alongside ARM toolchain/opt/qtand set ownership before Qt installationDoc changes (
linux-ubuntu-22.04.md)maketocmake --build(eliminates jobserver conflict warning)cmake --fresh -S . -B <dir>style; dropcd build-output— all commands run from source rootCMAKE_BUILD_PARALLEL_LEVELexport for parallelismcpof.wasmfile tonative/when building a single targettools/build-wasm-modules.shas a helper to build all radio simulator modules🤖 Generated with Claude Code