Fix tests

This commit is contained in:
Ken Van Hoeylandt 2026-02-01 22:34:26 +01:00
parent abe07c9651
commit 099753ff99
2 changed files with 9 additions and 1 deletions

View File

@ -50,7 +50,7 @@ int main(int argc, char** argv) {
return data.result; 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" { extern "C" {
// Required for FreeRTOS // Required for FreeRTOS
void vAssertCalled(unsigned long line, const char* const file) { void vAssertCalled(unsigned long line, const char* const file) {

View File

@ -49,3 +49,11 @@ int main(int argc, char** argv) {
return data.result; 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, "");
}
}