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:
- The repository at tag v1.0.0: the build scripts, the patches (none), and the self test: https://github.com/MageMCU/AVR-Simulator-Toolchain/tree/v1.0.0
- The release v1.0.0, with avr-toolchain-1.0.0-source.tar: every upstream source archive, unmodified, the scripts, and SHA256SUMS: https://github.com/MageMCU/AVR-Simulator-Toolchain/releases/tag/v1.0.0
What Is Served, and Its License
| Files (in this folder) | Part | Version | License |
|---|---|---|---|
| tools/cc1plus | GCC, the C++ compiler for AVR | 7.3.0 | GNU GPL v3 (COPYING) |
| tools/ | GNU binutils | 2.42 | GNU GPL v3 |
| (inside cc1plus) | GMP, MPFR, MPC | 6.1.0, 3.1.4, 1.0.3 | GNU LGPL v3 |
| assets/libs/ | GCC's runtime library | 7.3.0 | GNU GPL v3 with the GCC Runtime Library Exception (COPYING.RUNTIME) |
| assets/libs (libc, libm, libatmega328p), avr-libc headers | avr-libc | 2.1.0 | BSD style |
| assets/objects, the Arduino headers | Arduino AVR core, Wire, SPI | 1.8.6 | GNU LGPL 2.1 (COPYING.LIB) |
| assets/objects/ | Servo | 1.2.2 | GNU 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.