This splits the picolibc helper functions into separate files instead of smashing them all together. Signed-off-by: Keith Packard <keithp@keithp.com>
16 lines
225 B
C
16 lines
225 B
C
/*
|
|
* Copyright © 2021, Keith Packard <keithp@keithp.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "picolibc-hooks.h"
|
|
|
|
__weak void _exit(int status)
|
|
{
|
|
printf("exit\n");
|
|
while (1) {
|
|
Z_SPIN_DELAY(100);
|
|
}
|
|
}
|