Skip to content

Instantly share code, notes, and snippets.

@schorsch1976
schorsch1976 / Build arm-none-eabi with newlib and newlib-nano from gcc git source
Created September 3, 2024 18:08
Build arm-none-eabi with newlib and newlib-nano from gcc git source
#!/bin/bash
# Author: Georg Gast
# 03.09.2024
#
# build-arm-none-eabi.sh
#
# Compile arm-none-eabi-gcc like the toolchain from arm from source.
#include <array>
#include <cassert>
#include <coroutine>
#include <iostream>
#include <variant>
template<std::size_t MAX_BUFFER_SIZE, typename... Events>
class EventQueue {
public:
static_assert(MAX_BUFFER_SIZE >= 1);