From 099753ff995b46caa2b4c4eacc586575ddda2826 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Sun, 1 Feb 2026 22:34:26 +0100 Subject: [PATCH] Fix tests --- Tests/TactilityCore/Main.cpp | 2 +- Tests/TactilityFreeRtos/Main.cpp | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Tests/TactilityCore/Main.cpp b/Tests/TactilityCore/Main.cpp index 92a856b7..e065f22a 100644 --- a/Tests/TactilityCore/Main.cpp +++ b/Tests/TactilityCore/Main.cpp @@ -50,7 +50,7 @@ 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 +// NOTE: This is normally provided by the platform kernel module, but that's not loaded for TactilityCore extern "C" { // Required for FreeRTOS void vAssertCalled(unsigned long line, const char* const file) { diff --git a/Tests/TactilityFreeRtos/Main.cpp b/Tests/TactilityFreeRtos/Main.cpp index acd1df90..e065f22a 100644 --- a/Tests/TactilityFreeRtos/Main.cpp +++ b/Tests/TactilityFreeRtos/Main.cpp @@ -49,3 +49,11 @@ int main(int argc, char** argv) { return data.result; } + +// NOTE: This is normally provided by the platform kernel 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, ""); +} +}