Fix board files for Zephyr 2.2 compatibility

Warning: These changes break compatibility with previous v2.1.
This commit is contained in:
Martin Jaeger
2020-02-13 17:30:19 +01:00
parent 9b2162b12e
commit c4d4372953
13 changed files with 37 additions and 51 deletions
+8 -1
View File
@@ -9,7 +9,14 @@
#include <algorithm>
// necessary for PlatformIO debug session
void std::__throw_bad_alloc() {
void std::__throw_bad_alloc()
{
while (1) {}
}
// necessary to compile Zephyr v2.2
void std::__throw_length_error(char const*)
{
while (1) {}
}