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

[sw] Add a CMake option to choose whether to halt the core upon program termination #53

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nuntipat
Copy link

@nuntipat nuntipat commented Jul 4, 2023

Resolve #48 by adding a CMake option to choose whether to halt the core upon program termination

Copy link
Contributor

@engdoreis engdoreis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tackling this issue.
After these changes, we will need to specify the HALT_SIM_WHEN_EXIT flag every time when building for Software to be used in the simulation?
I would prefer having a multi target approach, which could be done by have a flag called TARGET=<FPGA|VERILATOR> and possibly always build both targets and the user chooses which binary should be loaded.

@nuntipat
Copy link
Author

nuntipat commented Jul 7, 2023

Agreed. I'll update and rebase my changes on top of pull request #46 that has just been merged.

@marnovandermaas marnovandermaas marked this pull request as draft December 18, 2023 11:01
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

Successfully merging this pull request may close these issues.

Unable to load a new program using OpenOCD if the current program doesn't run in an infinite loop
2 participants