AVR Simulator Compiler: Where the Source Is

The AVR Simulator (AVR100 and later) compiles each sketch in your browser with GCC and GNU binutils, built to WebAssembly. They are free software under the GNU General Public License version 3, and their complete source is offered here, to anyone, at no charge. Back to the simulator.

The Source

The compiler files in this folder (tools/ and assets/) are the release v1.0.0 of the repository MageMCU/AVR-Simulator-Toolchain, built from source by GitHub Actions:

What Is Served, and Its License

Files (in this folder)PartVersionLicense
tools/cc1plusGCC, the C++ compiler for AVR7.3.0GNU GPL v3 (COPYING)
tools/avr-as, avr-ld, avr-objcopyGNU binutils2.42GNU GPL v3
(inside cc1plus)GMP, MPFR, MPC6.1.0, 3.1.4, 1.0.3GNU LGPL v3
assets/libs/libgcc.a, gcc's headersGCC's runtime library7.3.0GNU GPL v3 with the GCC Runtime Library Exception (COPYING.RUNTIME)
assets/libs (libc, libm, libatmega328p), avr-libc headersavr-libc2.1.0BSD style
assets/objects, the Arduino headersArduino AVR core, Wire, SPI1.8.6GNU LGPL 2.1 (COPYING.LIB)
assets/objects/lib_Servo.o, Servo.hServo1.2.2GNU LGPL 2.1

The repository's own notes: TOOLCHAIN-SOURCE.md. The rest of this folder is listed in NOTICES.md.

Your Sketches and the Simulator

  • The programs you compile are yours: the GCC Runtime Library Exception lets compiled programs use libgcc under any terms.
  • The simulator itself (its pages and JavaScript) is Carpenter Software's, under the MIT License; it runs the compiler as a separate program, an aggregate under GPL v3 section 5.
  • Nothing is sent to a server: the compiler runs in your browser.