This commit is contained in:
Ben V. Brown
2024-06-04 21:35:26 +10:00
parent a85ba1e788
commit 851bd05e11
2 changed files with 12 additions and 3 deletions

View File

@@ -52,8 +52,8 @@ extern "C" {
header file. */
void vAssertCalled(void);
#define configASSERT(x) \
if ((x) == 0) \
#define configASSERT(x) \
if ((x) == 0) \
vAssertCalled()
#ifdef __cplusplus
@@ -75,7 +75,7 @@ void vApplicationSleep(uint32_t xExpectedIdleTime);
#define INCLUDE_xTaskGetCurrentTaskHandle 1
#define INCLUDE_uxTaskGetStackHighWaterMark 1
#define INCLUDE_xTaskGetIdleTaskHandle 1
#define INCLUDE_eTaskGetState 0
#define INCLUDE_eTaskGetState 1
#define INCLUDE_xEventGroupSetBitFromISR 1
#define INCLUDE_xTimerPendFunctionCall 0
#define INCLUDE_xTaskAbortDelay 0

View File

@@ -59,3 +59,12 @@ void vApplicationMallocFailedHook(void) {
;
}
}
void user_vAssertCalled(void) {
MSG("user_vAssertCalled\r\n");
while (1) {
;
}
}