Skip to content
systemcoding.dev
Embedded Linux

The Complete Guide to the Yocto Project for Embedded Linux

A map of the Yocto Project: Poky, BitBake, layers, recipes, caches, images and reproducible builds, with the key commands for Scarthgap 5.0.

24 min read
Summarize in AI
Flat illustration of a single-board computer with its SoC, memory, header and ports, with the Linux, NXP and Raspberry Pi logos.

A desktop Linux distribution is something you install. An embedded Linux product is something you build: the kernel, the bootloader, the C library, the init system, your application and every library between them, compiled for a processor that cannot compile any of it, then assembled into a root filesystem that fits in flash. The Yocto Project is the toolkit most silicon vendors and product teams use for that job. It is not a Linux distribution. It is a build system and a set of conventions for producing your own, from source, repeatably, for the hardware you choose. This guide is the map of that toolkit. It explains the parts and how they fit, the files you will edit, the commands you will run, how builds are cached and made reproducible, and how to find out what went wrong when one fails. It uses the Scarthgap 5.0 long-term support release with BitBake 2.8, and it points to the more detailed posts of this series for each topic, so you can read it once from top to bottom and then use it as an index.

What you are building, and why it needs a build system

Think about what a minimal embedded Linux system contains: a bootloader, a kernel configured for your board, a device tree, a C library, BusyBox or systemd, a handful of libraries, your application, and the configuration files that tie them together. Each of those is a separate open-source project with its own build system (Make, autotools, CMake, Meson, Kconfig), its own dependencies and its own release schedule. Building them by hand means cross-compiling each one with the right flags, in the right order, and installing the results into a staging area that becomes the root filesystem. Doing that once is a weekend. Doing it again when a library releases a security fix, for three boards, with a second developer who needs to reproduce your result, is why people use a build system.

A build system for this problem has to do several things well. It has to describe each package once, in a form that records where the source comes from and how to build it. It has to work out the build order from dependencies. It has to cross-compile consistently, so the toolchain is part of the build. It has to avoid redoing work, because compiling a whole Linux userland takes hours. And it has to be able to say exactly what went into an image, including the licence of every piece. The Yocto Project's build system does all of that, with the price of a steep first week.

The vocabulary: Yocto, Poky, OpenEmbedded and BitBake

The names are confusing at first, and the post on what Poky, OpenEmbedded-Core and BitBake actually are takes them apart in detail. The short version is a stack.

BitBake is the build engine, written in Python. It reads text files describing how to build software, works out a dependency graph of tasks, and runs the tasks, many in parallel. It knows nothing about C compilers or embedded Linux. All of that is in the metadata it reads.

OpenEmbedded-Core (OE-Core) is the metadata layer that holds the shared recipes and classes: the C library, BusyBox, systemd, OpenSSL, the toolchain, the kernel recipes and the classes that give recipes their shortcuts. In the repository it is the directory called meta.

Poky is a git repository that bundles BitBake, OE-Core and two more layers (meta-poky, the reference distribution policy, and meta-yocto-bsp, reference board support) together with the setup script. It is what you clone to start. The word also names the reference distribution, set by DISTRO = "poky".

The Yocto Project is the umbrella organisation. It coordinates the releases, publishes the manuals, runs the autobuilder that tests every change, and maintains tools such as devtool, runqemu and the SDK generators.

When you read "Yocto" in a job description, it usually means all of the above. When you read a command like bitbake core-image-minimal, you are asking the engine to build an image from metadata that came from OE-Core and your own layers.

Releases, and which one to use

The project makes a release every six months, in spring and autumn, each with a code name and a version number. Some releases are designated long-term support (LTS). Scarthgap, version 5.0, was released in April 2024 and is an LTS release, as Kirkstone 4.0 was before it. The project records the support periods on its releases page at https://wiki.yoctoproject.org/wiki/Releases, and that page, not a remembered date, is what to plan against.

The practical rules are these. For a product that will ship and be maintained for years, build on an LTS release and stay on its branch, taking the stable updates and security fixes it receives. For experiments, the newest release is fine. Never mix branches: Poky, OE-Core and every other layer must be on branches for the same release, because the metadata changes between releases in ways that break older layers. A layer declares which releases it works with through LAYERSERIES_COMPAT, and BitBake refuses to proceed with a layer that does not list the release in use.

Moving from one release to the next is real work, which the post on upgrading a product to Scarthgap lays out step by step. The reason to choose carefully at the start is that the upgrade is a project, not a command.

Your first build

The route from nothing to a booted image is short, and it is worth doing before reading further, because the rest of this guide is easier to follow with a build directory in front of you.

On a Linux host with the packages from the manual, as an ordinary user, you clone Poky at the release branch, source the setup script, and build the smallest image:

Shell
git clone -b scarthgap https://git.yoctoproject.org/poky
cd poky
source oe-init-build-env build
bitbake core-image-minimal

The details, including the host package list and what each step prints, are in the post on setting up a build host. While it runs, which takes a long time on a first build because it compiles everything from source including the compiler, you can read the next sections. When it finishes, the runqemu post shows how to boot the result without hardware:

Shell
runqemu qemux86-64 nographic slirp
Text
Poky (Yocto Project Reference Distro) 5.0.5 qemux86-64 ttyS0

qemux86-64 login:

The point release number in your banner will differ. Logging in as root with an empty password works in this development configuration, and you now have a Linux system that you built entirely from source. Everything else in Yocto is about changing what that system contains, how it is built, and how to do it repeatably.

Anatomy of a build

When you run bitbake core-image-minimal, the work happens in five stages, and knowing them helps when something fails, because each has its own kind of error.

Configuration. BitBake reads the build directory's conf/bblayers.conf to learn the layers, then each layer's conf/layer.conf, then the base configuration from OE-Core, the machine and distribution files, and finally your conf/local.conf. The configuration files post goes through the variables and the read order. Errors here are about missing layers or invalid configuration.

Parsing. BitBake parses every recipe in every layer into an in-memory description, and caches the result so that later runs are fast. Errors here name a recipe file and a line, and they stop the build before it starts.

Planning. From the requested target, BitBake works out which tasks are needed and in which order, using the dependencies recipes declare. It computes a signature for each task, and compares it with the stamps of finished work and with the shared state cache. Tasks that are already done or restorable are marked as not needed. The tasks and stamps post explains the model.

Execution. The remaining tasks run, many at once, each as a shell or Python function in its own environment. A typical software recipe runs do_fetch, do_unpack, do_patch, do_configure, do_compile, do_install, then packaging tasks. Errors here come with a log file, and the log is where you find the actual cause.

Assembly. Image recipes run do_rootfs, which installs the chosen packages into a directory, and do_image, which turns it into files such as an ext4 image or a tarball. The result appears in tmp/deploy/images/<machine>/.

The build directory holds everything: conf/ for your settings, downloads/ and sstate-cache/ unless you moved them, and tmp/ with the work directories, stamps, packages and deploy output. Deleting tmp/ is safe and forces a rebuild from the cache. Deleting sstate-cache/ and tmp/ forces a full rebuild.

Layers: how the metadata is organised

A layer is a directory of metadata with a conf/layer.conf file. Layers are the unit of organisation and the unit of reuse: Poky's meta is a layer, a board vendor ships a layer, your product has a layer. They stack, with a priority deciding which wins when two provide the same recipe, and each declares its dependencies on other layers.

Three kinds of layer appear in nearly every product.

  • Core and distribution layers, from the Yocto Project and OpenEmbedded: meta, meta-poky, meta-oe and its siblings, which supply the general-purpose recipes.

  • Board support (BSP) layers, from the silicon or board vendor: the kernel recipe and configuration, the bootloader, the machine definition and any proprietary components for one family of boards.

  • Your product layer, which holds your applications, your image definitions, your changes to other layers' recipes and, eventually, your distribution policy.

The discipline that matters most is never to edit other people's layers. Changes go in your own layer, as new recipes, as .bbappend files that modify existing ones, or as configuration. That keeps upgrades possible. The bitbake-layers post shows the command that adds, removes and inspects layers, and the create-layer post creates one. A first layer is five minutes of work, and the show-recipes post answers the recurring question of where a recipe comes from.

The three choices: machine, distribution and image

Every build is the product of three independent choices, explained in the MACHINE, DISTRO and image post.

MACHINE names the hardware. It selects the CPU tuning, the kernel, the bootloader and the formats of image files. The default is qemux86-64, a virtual machine, which is why the first build needs no board. A real board brings its own machine configuration through its BSP layer.

DISTRO names the policy: the C library, the init system, the default features and the compiler flags. The default is poky, a generic reference. A product eventually writes its own, to control exactly what it ships.

The image target, the argument to bitbake, names the contents. core-image-minimal is a console boot with BusyBox. core-image-full-cmdline adds the common command-line tools. Your product has its own image recipe, which the images part of this series builds.

Each choice is changed in a different place and has a different cost. Switching MACHINE is cheap, since outputs live in separate directories and the cache is shared. Switching DISTRO rebuilds most of the system, because policy enters every task's signature.

Variables, operators and overrides

Almost everything in Yocto is a variable assignment, and the syntax has a few rules that explain most of the confusion newcomers have. The local.conf post covers them in context, and this section gives the essentials.

The assignment operators decide who wins when two files set the same variable:

OperatorMeaning
=Assign, replacing earlier values
?=Assign only if nothing has set it yet
??=A weak default, applied last if still unset
+= and =+Append or prepend, adding a space
:append and :prependAppend or prepend with no added space, applied late
:removeDelete a word from a list

Overrides apply a value only in a context. The syntax is a colon followed by the override name: SRC_URI:append:qemux86-64 = " file://extra.patch" appends only when qemux86-64 is among the active overrides, which come from the machine, the distribution, the architecture and the recipe. The package override form, FILES:${PN}-dev, sets a variable for one package of a recipe.

The colon form was introduced in the Honister release, replacing the older underscore form. Old tutorials show DEPENDS_append, which does not work on Scarthgap. The migration post states the boundary and converts a layer.

Whenever a variable has a value you do not expect, ask BitBake rather than guessing. The bitbake -e post shows how:

Shell
bitbake -e core-image-minimal | grep -E '^(MACHINE|DISTRO)='
Text
DISTRO="poky"
MACHINE="qemux86-64"

The history comments above each variable in the full dump name the file and line of every assignment, which turns most configuration mysteries into a lookup.

Recipes: how one package is described

A recipe is a .bb file that describes one piece of software: where to get it, how to build it and what to install. The recipes cornerstone guide covers writing them thoroughly, and a few ideas are enough here.

A recipe sets metadata about the software: SUMMARY, LICENSE with a checksum of the licence text in LIC_FILES_CHKSUM, and SRC_URI, which lists the sources. For a source tarball it includes a checksum so a changed download fails the build, and for git it pins a revision with SRCREV. The git post explains why a floating revision should stay out of release builds, and the licence post covers the licence fields that the build enforces.

It then inherits classes that supply the build steps. A project that follows the autotools conventions needs one line, inherit autotools, and the CMake and Meson equivalents work the same way, as the posts on autotools, CMake and Meson show. A project with a hand-written build writes do_compile and do_install as shell functions, as in the simple C program post.

A recipe declares dependencies of two kinds, which the DEPENDS and RDEPENDS post separates: DEPENDS for what must be built first, and RDEPENDS for what must be on the target at run time.

To change a recipe that lives in another layer, you write a .bbappend in your own layer, as the bbappend post explains, and to change the source you add a patch to SRC_URI, as the patches post shows.

From installed files to packages and images

A recipe's do_install puts files into a staging directory, ${D}, using the standard path variables. The packaging step then splits them into packages by rules in PACKAGES and FILES, so that headers, documentation and debug symbols land in separate -dev, -doc and -dbg packages and stay out of the image unless requested. The install post and the package splitting post explain both halves. Many "it builds but is not on the target" problems are a file that matched no package, reported as installed-vs-shipped.

An image recipe lists packages through IMAGE_INSTALL and capabilities through IMAGE_FEATURES, and the build installs them, plus their run-time dependencies, into a root filesystem and writes the result in the formats named by IMAGE_FSTYPES. The image recipe post builds one, and the final cornerstone guide of this series covers images, SDKs and devtool in depth.

Why builds are fast the second time: signatures and the cache

A first full build takes hours. A rebuild after a small change can take minutes. The difference is the shared state cache, and understanding it is the key to using Yocto in a team.

BitBake computes a signature for each task: a hash of the task's code, the variables it reads and the signatures of the tasks it depends on. When the signature has not changed, the output cannot have changed, so BitBake restores the task's saved output from the shared state cache (SSTATE_DIR) instead of running it. When any input changes, the signature changes, and only the tasks downstream of the change rerun. The signature generation post explains how the hashes are built, and the diffsigs post shows how to find why a task reran.

You make two directories outlast any one build: DL_DIR for downloaded sources and SSTATE_DIR for the cache. Pointing every build on a machine at the same two paths is the first optimisation, and the shared directories post shows how. The second is a team-wide cache: one continuous-integration job builds and publishes its cache, and everyone's builds list it in SSTATE_MIRRORS, as the shared state mirror post sets out. The third is hash equivalence, a small server that records when different signatures produced identical output so that harmless changes do not cascade, covered with the PR service in the server post.

Alongside caching, the thread settings control how much of the machine a build uses. BB_NUMBER_THREADS sets how many tasks run at once and PARALLEL_MAKE sets the jobs inside each, and they multiply, which is why memory, not core count, is usually what limits you. The speed post explains how to size them and how to measure with buildstats.

Reproducible builds

A product build has to be repeatable years later: the same inputs must give the same image, or at least a defensible one. Four things have to hold still.

The metadata. Poky, every layer and your own repositories need pinned commits, not branch names. A tool such as kas records them in one project file, as the kas post shows, and turns a fresh checkout into the same build.

The sources. Upstream servers disappear and tarballs are replaced. Fetch everything once into a mirror you keep, and run release builds with the network disabled, as the offline build post explains, so a missing source is an error.

The host. Native tools are built from source, but the host compiler and libraries still leak in. Building inside a container pins them, and the Docker post shows a working setup, including the non-root user that BitBake requires.

The settings. Configuration that affects the output has to live in version control, in layers, not in one developer's local.conf. A distribution configuration of your own is the home for it.

On top of the technical reproducibility sits compliance. Every recipe declares a licence, the build writes a manifest of the licences in each image, and INCOMPATIBLE_LICENSE can exclude licences you cannot ship. That output is the starting point for a licence review, and the licence post explains the fields that feed it.

Customising: appends, classes and optional layers

As a product grows, you meet the places where plain recipes stop being enough. Appends let you change another layer's recipe. Your own classes share logic across recipes, and the class-writing post writes one with Python and shell tasks. Layers that integrate with another layer only when it is present use BBFILES_DYNAMIC, as that post describes. Several machines in one build use multiconfig, as the BBMULTICONFIG post shows, including a way for one machine's image to consume another's output. Services that run on the target are packaged with the systemd class, as the systemd post shows, and accounts for them come from the useradd class in the useradd post. Out-of-tree drivers are built against the image's own kernel by the module class.

Debugging a build

Builds fail, and the skill that makes Yocto tolerable is finding the cause quickly. A reliable routine has six steps.

  1. Read the first error, not the last. The terminal summary names the failing recipe and task and a log path. The log, tmp/work/.../temp/log.do_<task>, has the full output. Search upwards from the end for the first line containing error.

  2. Check what ran. run.do_<task> in the same directory is the exact script that executed, with every variable expanded. Reading it answers questions about flags and paths without guessing.

  3. Ask BitBake for the configuration. bitbake -e <recipe> shows each variable's final value and where it was set.

  4. Reproduce interactively. bitbake -c devshell <recipe> opens a terminal in the recipe's work directory with the build environment, so you can rerun the failing command by hand.

  5. Isolate the task. bitbake -c compile <recipe> runs one task and its dependencies. bitbake -c cleansstate <recipe> removes the recipe's work and its cache entries, which is the way to force a true recompile, since a plain -c clean can still restore from the cache.

  6. Look for the unexpected rebuild. If something reran that should not have, compare signatures with bitbake-diffsigs.

The errors you meet most often fall into a small set.

SymptomLikely cause
Do not use Bitbake as rootRunning as root; use a normal user or a container
Please use a locale setting which supports UTF-8Host locale not generated
Nothing PROVIDES 'x'Layer missing from bblayers.conf, or a typo in the name
Unable to fetch URLNetwork, proxy, or a source that moved
LIC_FILES_CHKSUM ... does not matchThe licence file changed; read it, then update the checksum
QA Issue: ... installed-vs-shippedA file matched no package; extend FILES
QA Issue: ... ldflagsA hand-written Makefile ignores LDFLAGS
Everything rebuildsA task signature changed; use bitbake-diffsigs

Yocto and the alternatives

Yocto is not the only way to produce an embedded Linux system. Buildroot builds a single image from one Kconfig configuration with a simpler model and a shorter learning curve, and it suits one device with a small team. Yocto's layers, signatures, caches, package feeds and SDKs suit product families, vendor board support and long maintenance. The Yocto versus Buildroot post gives the decision table. If a silicon vendor ships a Yocto layer for your board, that alone usually settles it.

Where the boot chain comes from

An embedded Linux device boots through a chain, and each link is a recipe in a layer, which is worth seeing once because it explains where your board's support lives. The first link is firmware in ROM on the chip, which loads a first-stage loader. A bootloader such as U-Boot or GRUB then loads the kernel, a device tree that describes the board's hardware, and optionally an initial RAM filesystem. The kernel mounts the root filesystem and starts the init system, and the init system starts your services.

In a Yocto build, the bootloader is a recipe chosen by PREFERRED_PROVIDER_virtual/bootloader, the kernel is a recipe chosen by PREFERRED_PROVIDER_virtual/kernel, and the device tree comes from the kernel recipe, selected by KERNEL_DEVICETREE in the machine configuration. The init system is a distribution choice. The root filesystem is the image. All of it is built from the same metadata, with the same compiler, in the same run, and the outputs land together in the deploy directory. That is the main advantage of the integrated approach: when you change a kernel option, the matching modules, headers for the SDK and device tree rebuild with it, and the whole product moves as one.

The machine configuration file, which a BSP layer provides, is where these choices are recorded, together with the serial console, the image formats, the CPU tuning and the list of features the hardware has. If you bring up a new board, writing that file, and the recipes it points to, is the work. Starting from the closest existing board in a vendor layer is nearly always better than starting from nothing.

Adding your application, from source to image

The most common first task after the QEMU build is putting your own program in the image. The steps are short once you know the pieces, and they show how the guide's sections connect.

  1. Create your layer next to Poky with bitbake-layers create-layer, and add it with bitbake-layers add-layer. All your work goes there.

  2. Write the recipe for the application: licence, SRC_URI pinned to a revision, an inherit for its build system, and DEPENDS for the libraries it uses. If it has no build system class, write do_compile and do_install.

  3. Build the recipe alone with bitbake <recipe> and fix the errors from the first one in the log. List the result with oe-pkgdata-util list-pkg-files to confirm that the files you expect are packaged.

  4. Add it to an image. In your layer write an image recipe that inherits core-image and appends the package to IMAGE_INSTALL, so that the dependency is recorded in version control and not in your local.conf.

  5. Build the image and boot it in QEMU, log in, and run the program.

  6. Iterate with devtool. Run devtool modify <recipe> to put the source in a workspace, edit, devtool build, and devtool deploy-target to a board or QEMU. When the change is right, devtool finish writes it back to your layer.

  7. Publish an SDK with bitbake -c populate_sdk for developers who build the application without the full tree.

Every step is a command and a file in your layer, and nothing depends on the state of a particular developer's machine. When you can repeat steps 1 to 5 on a fresh checkout and get the same image, you have the base of a product build.

Sizing the machine and the disk

A Yocto build is demanding on three resources, and a build machine that is short of any of them gives a slow or failing build that is hard to diagnose.

Disk. A build directory with the work directories of every recipe, the downloads and the shared state cache is large, and it grows with each machine and each release you build. Keep the build on a fast local disk with ample free space, and enable rm_work to delete each recipe's work directory when it finishes if space is tight. BB_DISKMON_DIRS, set in the sample configuration, stops the build before the disk is full, which is far better than finding a half-written file system. Do not put a build on a network share.

Memory. Compiles of large C++ projects, the kernel link step and Rust builds are the heavy ones, and memory pressure appears when many of them overlap. The cure is to lower BB_NUMBER_THREADS and PARALLEL_MAKE, or to use the pressure variables, as the speed post explains. A machine with many cores and little memory is slower than a balanced one.

CPU and time. More cores shorten the first build and the long single-recipe compiles. The shared state cache matters more than raw speed for day-to-day work, since most builds restore most tasks. The right investment for a team is a build server that fills the cache for everyone, and not a faster laptop for each person.

Container hosts and virtual machines add their own limits. A build inside Docker on macOS or Windows runs in a Linux virtual machine whose memory and disk are set separately, and bind-mounted source and build directories from the host are slow, so keep the build tree in a native volume.

Keeping a product secure and maintained

An embedded product with network access needs security updates for years, and Yocto's structure makes that tractable if you plan for it from the start.

The long-term support release receives stable updates and security fixes on its branch, so a product stays on scarthgap and takes point releases of Poky and its layers on a schedule. The release process is a normal change: update the pinned commits, rebuild, compare the manifest and the vulnerability report against the baseline, test, and ship.

To know which known vulnerabilities your image carries, enable the cve-check class with INHERIT += "cve-check". It compares every package's name and version against the public CVE database that the build downloads, and writes a report per image. The report lists the identifiers that apply and those you have marked as patched or not applicable, which you record in the recipe with CVE_STATUS entries so that the report stays meaningful. Treat the output as a prompt for investigation and not as a verdict, since matching depends on names and versions and produces false positives and misses.

A software bill of materials is the other half of supply chain hygiene. The create-spdx class writes SPDX documents that list the packages in an image with their versions, licences and checksums. Together with the licence manifest, it gives customers and auditors a precise record of what you shipped.

The practices that matter most are mundane. Keep your own layers' LAYERSERIES_COMPAT current, keep patches against upstream so that fixes can be dropped, remove packages you do not need so that there is less to patch, turn off debugging features in production images, and rebuild from pinned inputs so that a fix can be applied to the exact image you shipped, not to a new one.

Common host and environment problems

Before a recipe is ever involved, the host causes a surprising share of the early errors. A short list, with the cause and the fix, saves a lot of searching.

SymptomCauseFix
Please use a locale setting which supports UTF-8The host locale is not UTF-8 or not generatedGenerate en_US.UTF-8 and export LANG and LC_ALL
Do not use Bitbake as rootRunning as root, often in a containerCreate a normal user and run as it
Missing host tool errorsA package from the host list is missingInstall the packages from the manual for your distribution
The directory ... contains a spaceSpaces in the path of the build or layersMove to a path without spaces
Permission errors on DL_DIR or SSTATE_DIRShared directories without group write accessFix ownership, setgid and umask
The build hangs on fetchA proxy not passed to BitBakeAdd the variables to BB_ENV_PASSTHROUGH_ADDITIONS
Disk full, build haltsBB_DISKMON_DIRS threshold reachedFree space, enable rm_work, prune the cache
Filesystem errors on a shared folderCase-insensitive or network filesystemUse a native Linux filesystem for the build

Most of these appear in the first minute of a build, before any compilation, and the messages name the problem. When one does not, run bitbake -e or read bitbake.log in the build directory, which records the server's view of the run.

A working practice for teams

The projects that stay healthy share a few habits, none of them subtle.

Keep everything that defines the build in version control: a project file that pins layers, a layer of your own that holds recipes, appends, machines, distribution and images, and no meaningful state in anyone's local.conf. Run a continuous-integration build of every image on every change, publish its shared state cache, and let developers build against it. Build in a container, with the network off for release builds and a source mirror that you back up. Use your own distribution configuration, rather than Poky's reference policy, so you control features and flags. Keep patches small, give each an Upstream-Status line, and drop them when upstream releases the fix. And plan the release upgrade as a project, with a recorded baseline of package versions and a validation run on real hardware.

A reading path through this series

The posts in this series follow the order of this guide. Start with the fundamentals: what the names mean, setting up the host, booting in QEMU, the configuration files, and the three choices of machine, distribution and image. Continue with the working tools: bitbake -e, bitbake-layers, the container setup, and the cache directories. Move on to the model underneath: tasks and stamps, signatures, hash equivalence, and why a rebuild happens. Then write recipes, which is the subject of the recipes guide, starting with a single C program and growing through autotools, CMake and Meson, patches, packaging and the system integration classes. Finish with images, SDKs and the devtool workflow in the images guide. At each step, the question to ask is the same one this guide began with: what exactly is going into my system, and can someone else rebuild it?

Share

Keep reading

Flat illustration of user space above the system call boundary, the kernel and the hardware, with the Linux, C and GNU logos.
Kernels

Write a Pin Controller Driver With pinctrl

Write a Linux 6.12 pin controller driver: pinctrl_desc, pins, groups and functions, the set_mux callback, and the device tree states that consumers select.

8 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.