Skip to content

Commit 994856b

Browse files
committed
Add sys call _exit required for TI_CC1352R1_LAUNCHXL
1 parent 840714d commit 994856b

File tree

1 file changed

+11
-0
lines changed
  • targets/TI_SimpleLink/TI_CC1352R1_LAUNCHXL/nanoCLR

1 file changed

+11
-0
lines changed

targets/TI_SimpleLink/TI_CC1352R1_LAUNCHXL/nanoCLR/main.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,14 @@ int main(void)
108108

109109
return (0);
110110
}
111+
112+
///////////////////////////////////////////////////////////////////////
113+
// need this dummy implementation here (started with SDK 4.20.01.04) //
114+
///////////////////////////////////////////////////////////////////////
115+
void __attribute__((naked)) _exit(int code)
116+
{
117+
(void)code;
118+
119+
for (;;)
120+
;
121+
}

0 commit comments

Comments
 (0)