Thank you for your interest. This page explains what kind of contributions are useful right now, the legal terms, and the process.
The kernel is implemented and runs on hardware; the first release is being prepared (project status, roadmap). Build it and run its tests first: the quick start takes a few minutes on Linux or macOS.
Good ways to contribute now, from the smallest:
- Run the suites on a board you own and report the result. A run on a new board, archived with
tools/hil/run_hil.py --archive, is evidence the project cannot produce without that board (hardware runs). - Add a board. A board is a description, not code: an SoC the project already supports needs a short YAML file (hardware descriptions, any-board plan).
- Documentation: the user guide, examples, and corrections wherever the docs and the code disagree.
- Tests and benchmarks: a conformance case for a requirement that has none yet (case evidence).
- Review the specifications against the code, and file an issue for each mismatch.
- Drivers and ports, after an issue agrees the approach: the next milestone's drivers are planned for the STM32F4 and RP2350.
- Design changes, written as an Architecture Decision Record (the format is in
docs/architecture/06-decision-records.md), or answers todocs/architecture/08-open-questions.md.
Issues labelled good first issue are scoped for a first contribution. Ask on an issue before starting a large change. Everyone whose pull request has merged is listed in CONTRIBUTORS.md; add your row there in your first pull request.
Every source file follows the coding standard and the specification it implements. A change to kernel semantics updates the specification, the reference model (tools/model/) and the conformance suite in the same pull request.
EmbLinkRTOS is licensed under the Apache License, Version 2.0 (see LICENSE). By contributing you agree that your contribution is licensed under the same licence: inbound licence equals outbound licence. There is no contributor licence agreement.
Every commit must carry a Signed-off-by line certifying the Developer Certificate of Origin:
Signed-off-by: Your Name <your.email@example.com>
Add it with git commit -s. The Repository policy check requires a matching author trailer on every non-merge commit in the change. GitHub-generated merge commits are excluded; authored conflict-resolution changes belong in a separate signed-off commit. DCO certification is distinct from cryptographic signing.
Every C, assembly and linker-script source starts with this header (CODING-STANDARD CS-11.1):
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright 2026 <your name or organization> */
/*
* This file is part of EmbLinkRTOS, a deterministic real-time kernel for microcontrollers.
* Licensed under the Apache License, Version 2.0; see the LICENSE file at the repository root.
*/
/**
* @file my_driver.c
* @brief What the file is, in one sentence, with the specification sections it follows.
*
* @details
* The rest of what it implements and why, as long as it needs.
*
* @see my_driver.h
* @author Your Name
* @date 2026-11-13 (created)
*/@author is whoever created the file and @date the day it was created; neither changes later. @see names the file's companion header or source, where it has one. You can write the first three comments and a plain description comment, and let python3 tools/dev/file_headers.py --write my_driver.c turn it into the rest, with your name and today's date. CI runs tools/dev/file_headers.py --check.
Files commented with # (Python, CMake, Kconfig, YAML descriptions, shell scripts) start with the same lines in # comments, without the Doxygen block; a Python module's docstring says what it is:
# SPDX-License-Identifier: Apache-2.0
# Copyright 2026 <your name or organization>
#
# This file is part of EmbLinkRTOS, a deterministic real-time kernel for microcontrollers.
# Licensed under the Apache License, Version 2.0; see the LICENSE file at the repository root.tools/dev/file_headers.py --write adds the notice to such a file too.
- Open an issue first for anything beyond a small fix, so the approach can be agreed before work starts. Architecture changes need an ADR.
- Branch from
main, keep each pull request to one logical change, and write commit messages that explain why, not only what. - Code changes must pass existing CI and add evidence appropriate to the changed contract. The complete target quality gates are described in
docs/architecture/05-engineering-system.md§5: build matrix, conformance suite, static analysis, coverage, footprint thresholds, traceability, and documentation for any touched public API. Some gates remain unimplemented (STATUS.md); their absence is recorded as an evidence gap, not represented as a passing check. - A kernel semantics change must update the executable reference model and the conformance suite in the same pull request.
- Reviews are by the owners listed in
.github/CODEOWNERS.
Use the bug/feature issue forms and PR checklist. The required GitHub check names are CI merge gate, Documentation build, and Repository policy; the first aggregates the full existing compiler/port matrix plus lint/model/configuration jobs. See Repository workflow for DCO checks, limitations and activation of the main ruleset. A policy file alone does not enable branch protection.
For editor support, configure the presets you work with (cmake --preset native-gcc, and for example cm4-nucleo-hil or cm33-pico2w for board and driver code), then run python3 tools/dev/compile_db.py. It merges every build's compile_commands.json into build/compile_commands.json, which the repository's .clangd names, so clangd sees each file's include paths, the generated headers and the .clang-tidy checks. Run it again after configuring another preset. Format with clang-format 18, the version the lint job runs; later versions lay out some existing files differently.
A user-visible change adds a file to changes/, not an edit of CHANGELOG.md, so pull requests do not conflict on the changelog. Maintainers merge through a merge queue, so a pull request never needs main merged in just to be up to date. Use the release checklist for versioning, artifacts, evidence, signing and support; no supported release is implied by the current development version.
SoC and board descriptions may be bootstrapped from CMSIS-SVD files and from DeviceTree sources. Import only from permissively licensed sources (for example Apache-2.0, BSD, or MIT, including dual-licensed files where one option is permissive) and record the source and its licence in the description file's header.
This project follows the Code of Conduct.
Do not open public issues for vulnerabilities. See SECURITY.md.