Skip to content
@ClangBuiltArduino

ClangBuiltArduino

ClangBuiltArduino

ClangBuiltArduino is an initiative aimed at adding and enhancing LLVM/Clang support for Arduino programs and related software. By addressing compatibility issues and improving compiler support, we strive to make it easier to build Arduino projects using modern LLVM toolchains.

Note

ClangBuiltArduino GitHub organization is an independent initiative. We are not affiliated with or endorsed by Arduino or the LLVM Project.

About the Project

The Arduino ecosystem has long relied on GCC as its default toolchain. While GCC is widely adopted, clang offers several benefits, including:

  • Unified Toolchain: With clang, you can use a single toolchain for multiple architectures, avoiding the need for maintaining multiple prefixed toolchains for each target.
  • Advanced Diagnostics: Clang provides detailed code diagnostics in terms of error messages and warnings, making it easier to debug and optimize code.
  • Modular Architecture: LLVM's highly modular design allows for creating slim toolchains by shipping only the necessary components.

Our goal is to:

  1. Identify and fix issues that prevent Arduino programs from building with clang and other LLVM tools.
  2. Contribute patches upstream to relevant repositories.
  3. Provide custom board packages to integrate LLVM/Clang support into Arduino IDE.
  4. Serve as a centralized issue tracker for LLVM compatibility with Arduino software.

Popular repositories Loading

  1. tc-build tc-build Public

    Scripts to build LLVM toolchains targeting AVR and ARM chips

    Shell 2

  2. avr-libc avr-libc Public

    Forked from avrdudes/avr-libc

    The AVR-LibC package provides a subset of the standard C library for AVR 8-bit RISC microcontrollers.

    Assembly 1

  3. core_arduino_avr core_arduino_avr Public

    Forked from arduino/ArduinoCore-avr

    Fork of Arduino AVR core with patches for building with Clang

    C 1

  4. build-scripts build-scripts Public

    An experimental set of scripts to test building Arduino programs with clang

    Shell

  5. .github .github Public

  6. issue-tracker issue-tracker Public

    Issue tracker and progress marker for porting process.

Repositories

Showing 8 of 8 repositories
  • tc-build Public

    Scripts to build LLVM toolchains targeting AVR and ARM chips

    ClangBuiltArduino/tc-build’s past year of commit activity
    Shell 2 Apache-2.0 0 0 0 Updated Feb 13, 2025
  • clang-wrapper Public

    Wrapper for clang for working around some niche problems

    ClangBuiltArduino/clang-wrapper’s past year of commit activity
    Go 0 Apache-2.0 0 0 0 Updated Feb 13, 2025
  • BoardManagerFiles Public

    board manager json for Arduino IDE

    ClangBuiltArduino/BoardManagerFiles’s past year of commit activity
    0 MIT 0 0 0 Updated Feb 12, 2025
  • core_arduino_avr Public Forked from arduino/ArduinoCore-avr

    Fork of Arduino AVR core with patches for building with Clang

    ClangBuiltArduino/core_arduino_avr’s past year of commit activity
    C 1 1,079 0 0 Updated Feb 11, 2025
  • avr-libc Public Forked from avrdudes/avr-libc

    The AVR-LibC package provides a subset of the standard C library for AVR 8-bit RISC microcontrollers.

    ClangBuiltArduino/avr-libc’s past year of commit activity
    Assembly 1 61 0 0 Updated Feb 11, 2025
  • issue-tracker Public

    Issue tracker and progress marker for porting process.

    ClangBuiltArduino/issue-tracker’s past year of commit activity
    0 0 0 0 Updated Jan 23, 2025
  • .github Public
    ClangBuiltArduino/.github’s past year of commit activity
    0 0 0 0 Updated Jan 10, 2025
  • build-scripts Public

    An experimental set of scripts to test building Arduino programs with clang

    ClangBuiltArduino/build-scripts’s past year of commit activity
    Shell 0 GPL-3.0 0 0 0 Updated Dec 21, 2024

Top languages

Loading…

Most used topics

Loading…