summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/stack.c.gen5
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/stack.c.gen b/build-aux/stack.c.gen
index d9d128a..5bdb23c 100755
--- a/build-aux/stack.c.gen
+++ b/build-aux/stack.c.gen
@@ -1034,6 +1034,7 @@ class PicoSDKPlugin:
synthetic_node("isr_pendsv", 0, {"__unhandled_user_irq"}),
synthetic_node("isr_systick", 0, {"__unhandled_user_irq"}),
synthetic_node(f"__unhandled_user_irq", 0),
+ synthetic_node("_entry_point", 0, {"_reset_handler"}),
synthetic_node("_reset_handler", 0, {"runtime_init", "main", "exit"}),
]
@@ -1351,7 +1352,7 @@ def main(
return lib9p_plugin.thread_count(name)
return 1
if str(name.base()) == (
- "_reset_handler" if arg_pico_platform == "rp2040" else "main"
+ "_entry_point" if arg_pico_platform == "rp2040" else "main"
):
return 1
return 0
@@ -1486,7 +1487,7 @@ def main(
name = str(funcname.base())
base = val.nstatic
size = base + intrstack
- if name in ("main", "_reset_handler"):
+ if name in ("main", "_entry_point"):
main = CrRow(name=name, cnt=1, base=base, size=size)
else:
size = next_power_of_2(size + stack_guard_size) - stack_guard_size