From 578bcde6305b6db9653b220a0db631c3aeafdb10 Mon Sep 17 00:00:00 2001 From: paradajz <2544094+paradajz@users.noreply.github.com> Date: Sat, 20 Nov 2021 23:19:23 +0100 Subject: [PATCH] board/avr: add __throw_length_error stub implementation --- src/board/arch/avr/common/Init.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/board/arch/avr/common/Init.cpp b/src/board/arch/avr/common/Init.cpp index 1f82a80a2..03ed203fa 100644 --- a/src/board/arch/avr/common/Init.cpp +++ b/src/board/arch/avr/common/Init.cpp @@ -77,6 +77,14 @@ namespace std while (1) ; } + + void __throw_length_error(char const* arg) + { + Board::detail::errorHandler(); + + while (1) + ; + } } // namespace std namespace Board