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, ""); +} +}