diff --git a/post/src/post.c b/post/src/post.c
index 1044dc9dfe0dc664237d0c554e7196e43504b4ef..17de6fd1e52109fabf087ab77316bd09ab273ac8 100644 (file)
--- a/post/src/post.c
+++ b/post/src/post.c
#pragma DATA_ALIGN(post_version, 16)
char post_version[] = POST_VERSION;
+/* OSAL functions for Platform Library */
+uint8_t *Osal_platformMalloc (uint32_t num_bytes, uint32_t alignment)
+{
+ return malloc(num_bytes);
+}
+
+void Osal_platformFree (uint8_t *dataPtr, uint32_t num_bytes)
+{
+ /* Free up the memory */
+ if (dataPtr)
+ {
+ free(dataPtr);
+ }
+}
+
/******************************************************************************
* Function: post_display_led_error
******************************************************************************/