Skip to content

Instantly share code, notes, and snippets.

View mokrafoka's full-sized avatar

Milosz mokrafoka

  • Stuttgart, Germany
View GitHub Profile
@mokrafoka
mokrafoka / build_avr_tool_chain.sh
Last active May 5, 2025 17:49
AVR tool-chain with standalone stdcxx library.
#!/bin/bash
# This script builds a complete avr-gcc toolchain from source. It
# allows you to set the desired version of binutils, gcc and
# avr-libc.
#
# Furthermore it builds the standalone part libstdcxx which is
# something like libstdcxx without all system relevant bindings (which
# excludes io-streams and most containers and many generators that use
# malloc and other system calls).