From abe07c9651379ef45c49bef2192188d1b0be191d Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Sun, 1 Feb 2026 22:19:16 +0100 Subject: [PATCH] Fix for tests --- Tests/TactilityCore/Main.cpp | 8 ++++++++ Tests/TactilityKernel/Main.cpp | 1 + 2 files changed, 9 insertions(+) diff --git a/Tests/TactilityCore/Main.cpp b/Tests/TactilityCore/Main.cpp index acd1df90..92a856b7 100644 --- a/Tests/TactilityCore/Main.cpp +++ b/Tests/TactilityCore/Main.cpp @@ -49,3 +49,11 @@ int main(int argc, char** argv) { return data.result; } + +// NOTE: This is normally provided by the platform module, but that's not loaded for TactilityCore +extern "C" { +// Required for FreeRTOS +void vAssertCalled(unsigned long line, const char* const file) { + __assert_fail("assert failed", file, line, ""); +} +} diff --git a/Tests/TactilityKernel/Main.cpp b/Tests/TactilityKernel/Main.cpp index 4f86b737..ed234f76 100644 --- a/Tests/TactilityKernel/Main.cpp +++ b/Tests/TactilityKernel/Main.cpp @@ -56,3 +56,4 @@ int main(int argc, char** argv) { return data.result; } +