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.

Pinned Loading

  1. BoardManagerFiles Public

    board manager json for Arduino IDE

  2. clang-wrapper Public

    Wrapper for clang for working around some niche problems

    Go

  3. tc-build Public

    Scripts to build LLVM toolchains targeting AVR and ARM chips

    Shell 2

  4. core_arduino_avr Public

    Forked from arduino/ArduinoCore-avr

    Fork of Arduino AVR core with patches for building with Clang

    C 2

  5. 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 2

Repositories

Showing 10 of 10 repositories
  • tc-build Public

    Scripts to build LLVM toolchains targeting AVR and ARM chips

    Shell 2 Apache-2.0 0 5 (1 issue needs help) 0 Updated Apr 12, 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.

    Assembly 2 63 0 0 Updated Apr 11, 2025
  • core_arduino_avr Public Forked from arduino/ArduinoCore-avr

    Fork of Arduino AVR core with patches for building with Clang

    C 2 1,083 2 (2 issues need help) 0 Updated Mar 31, 2025
  • BoardManagerFiles Public

    board manager json for Arduino IDE

    0 MIT 0 0 0 Updated Mar 20, 2025
  • core_arduino_renesas Public Forked from arduino/ArduinoCore-renesas

    Fork of Arduino Renesas core with patches for building with Clang

    C 0 MIT 87 0 0 Updated Feb 26, 2025
  • clang-wrapper Public

    Wrapper for clang for working around some niche problems

    Go 0 Apache-2.0 0 0 0 Updated Feb 15, 2025
  • issue-tracker Public

    Issue tracker and progress marker for porting process.

    0 0 0 0 Updated Jan 23, 2025
  • .github Public
    0 0 0 0 Updated Jan 10, 2025
  • build-scripts Public

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

    Shell 0 GPL-3.0 0 0 0 Updated Dec 21, 2024
  • core_arduino_api Public Forked from arduino/ArduinoCore-API

    Fork of Arduino core APIs with patches for building with Clang

    C++ 0 LGPL-2.1 130 0 0 Updated Sep 20, 2024

Top languages

Loading…

Most used topics

Loading…