Ken Van Hoeylandt a935410f82
Kernel and buildscript improvements (#477)
* **New Features**
  * Centralized module management with global symbol resolution
  * Level-aware logging with colored prefixes and millisecond timestamps

* **Breaking Changes**
  * ModuleParent hierarchy and getModuleParent() removed
  * Logging API and adapter model replaced; LogLevel-driven log_generic signature changed

* **Improvements**
  * Unified, simplified module registration across build targets
  * Tests updated to reflect new module lifecycle and global symbol resolution
2026-02-03 08:35:29 +01:00

21 lines
447 B
C

#include <stdlib.h>
#if defined(__GLIBC__)
#include <assert.h>
#endif
#include <tactility/freertos/task.h>
#include <tactility/log.h>
#define TAG "freertos"
/**
* Assert implementation as defined in the FreeRTOSConfig.h
*/
void vAssertCalled(unsigned long line, const char* const file) {
LOG_E("Assert triggered at {}:{}", file, line);
#if defined(__GLIBC__)
__assert_fail("assert failed", file, line, "");
#else
abort();
#endif
}