]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/blobdiff - rpp/rpp/rpp_srmain.tlc
Added function prototype to catch stack overflow and malloc failed.
[jenkicar/rpp-simulink.git] / rpp / rpp / rpp_srmain.tlc
index 6659d0002af86ff83587897e638aba8ce73f7a96..281a2db9afdf753e78bdc4943ba94741186e49c8 100644 (file)
         }
     }
 
+
+    /**
+     * FreeRTOS malloc() failed hook.
+     */
+    void vApplicationMallocFailedHook(void) {
+        // FIXME: Implement.
+    }
+
+    /**
+     * FreeRTOS stack overflow hook.
+     */
+    void vApplicationStackOverflowHook(xTaskHandle xTask,
+                                       signed portCHAR *pcTaskName) {
+        // FIXME: Implement.
+    }
+
     %closefile tmpBuf
     %<LibSetSourceFileSection(cFile, "Functions", tmpBuf)>
     %%%%%%%%