Commit ce7bca1
committed
fix(esp32c3): use semihosting _exit for QEMU emulator support
Remove conflicting _exit implementations from libnosys and libgloss to
ensure the semihosting version (from semihost-sys_exit.c, added as .o
in #1537) is used for ESP32-C3 QEMU emulator.
Changes:
- Comment out libnosys/_exit.c
- Comment out libgloss/riscv/sys_exit.c (3 occurrences)
This allows proper exit handling in QEMU emulator via semihosting
protocol instead of using the instruction which causes crashes.
Related: #1537
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 34b872c commit ce7bca1
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
237 | 236 | | |
238 | 237 | | |
239 | 238 | | |
| |||
1112 | 1111 | | |
1113 | 1112 | | |
1114 | 1113 | | |
1115 | | - | |
1116 | 1114 | | |
1117 | 1115 | | |
1118 | 1116 | | |
| |||
0 commit comments