mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Remove stackoverflow error, have one CORE_INTERNAL error for catastrophic crash
This commit is contained in:
parent
59f5d6449b
commit
508d41c8c5
10 changed files with 163 additions and 57 deletions
12
test/stackoverflow/rom/rom.c
Normal file
12
test/stackoverflow/rom/rom.c
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include "uvm32_target.h"
|
||||
|
||||
int foo(int a) {
|
||||
yield(0);
|
||||
printdec(a);
|
||||
return foo(a+1);
|
||||
}
|
||||
|
||||
void main(void) {
|
||||
foo(1);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue