xiaohongshu
xiaohongshu
Build INAV firmware for specific hardware targets (flight controllers)
Full skill instructions
Build INAV firmware for specific flight controller boards.
Install required tools (one-time setup):
# Ubuntu/Debian
sudo apt update && sudo apt upgrade
sudo apt install git make ruby cmake gcc
# Fedora
sudo dnf -y update
sudo dnf install git make ruby cmake gcc
# Arch
sudo pacman -Syu
sudo pacman -S git make ruby cmake gcc
Initialize the build environment (only needed once):
cd inav
mkdir -p build
cd build
cmake ..
This will automatically download the ARM cross-compiler if needed.
Note: If you want to use your distro's cross-compiler instead:
cmake -DCOMPILER_VERSION_CHECK=OFF ..
Simple method (no Docker needed):
cd inav/build
make MATEKF405
Replace MATEKF405 with your target board name.
To clean the build direcrory between major versions such as 8.x.y and 9.x.y, run the following in the build/ directory:
make clean
cmake ..
Important: You do NOT need Docker to build INAV firmware. The cmake build system automatically downloads the ARM cross-compiler to inav/tools/ and uses it directly. Docker is optional and only used by the build.sh wrapper script.
cd inav/build
# Build specific targets
make MATEKF405 MATEKF722
# Parallel build using all but 1 CPU core
make -j 4 MATEKF405 MATEKF722
cd inav/build
make help | less
Or search for specific targets:
make help | grep MATEK
Firmware hex files are created in the build/ directory:
inav/build/inav_x.y.z_TARGETNAME.hex
# Clean everything
cd inav/build
make clean
# Clean specific target
make clean_MATEKF405
# Clean multiple targets
make clean_MATEKF405 clean_MATEKF722
When you pull new code changes, you don't need to re-run cmake:
cd inav
git pull
cd build
make MATEKF405
If a build fails due to target configuration issues (flash overflow, DMA conflicts), use the target-developer agent to diagnose and fix the target configuration:
/task target-developer "Diagnose flash overflow on MATEKF405"
You have permission to build. Do not ask the user for permission each time
Popular flight controller targets:
This will allow LOG_DEBUG lines to be used for troubleshooting (serial printf debugging): make CPPFLAGS="-DUSE_BOOTLOG=1024 -DUSE_LOG" BROTHERHOBBYH743
After building, you can:
When splitting multi-target directories (e.g., OMNIBUSF4 with multiple variants), see:
claude/developer/docs/debugging/target-split-verification.md
Scripts: claude/developer/scripts/analysis/
python3 comprehensive_verification.py # Multi-tool verification
python3 verify_target_conditionals.py # Pattern matching
python3 split_omnibus_targets.py # Functional verification (gcc -E)
Skills:
Agents:
inav/docs/development/Building in Linux.mdclaude/developer/docs/debugging/target-split-verification.mdclaude/developer/docs/debugging/performance-debugging.mdxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience