mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -59,3 +59,12 @@ void vApplicationMallocFailedHook(void) {
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
void user_vAssertCalled(void) {
|
||||
|
||||
MSG("user_vAssertCalled\r\n");
|
||||
|
||||
while (1) {
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user