Skip to content
Snippets Groups Projects
Commit 63f732d3 authored by Rafal Jaworowski's avatar Rafal Jaworowski
Browse files

API: Provide dummy halt() in the glue layer.


This fixes a demo app link failure on platforms configured with CONFIG_PANIC_HANG.

Signed-off-by: default avatarRafal Jaworowski <raj@semihalf.com>
parent 0dc1fc22
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,12 @@ void do_reset (void) ...@@ -84,7 +84,12 @@ void do_reset (void)
ub_reset(); ub_reset();
} }
void *malloc(size_t len) void *malloc (size_t len)
{ {
return NULL; return NULL;
} }
void hang (void)
{
while (1) ;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment