Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sim: ELF file is deleted after compiling #121

Open
xobs opened this issue Dec 25, 2022 · 0 comments
Open

sim: ELF file is deleted after compiling #121

xobs opened this issue Dec 25, 2022 · 0 comments

Comments

@xobs
Copy link

xobs commented Dec 25, 2022

The build system generates a .hex file that is pulled into the SPI ROM as part of the simulation test bench. However, after this hexfile is generated, it removes the .elf file. In doing so, this makes it more difficult to debug the simulated CPU as it is no longer possible to trace which functions the CPU is executing.

As a workaround, it is possible to remove the .hex file and copy the .elf file out during the build, however this must be done before the build system removes the ELF file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant