-
Notifications
You must be signed in to change notification settings - Fork 109
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
libtock-rs apps don't really fit on the HiFive1 #156
Comments
Increasing the RAM size (in QEMU and Tock) and then the application size and Tock stack size fixes all of the memory issues, but that won't work on HW. |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently libtock-rs apps barely fit on the HiFive1 board.
Build the libtock-rs examples
Create a tbf file for the hello_world example
Run the TBF file with master Tock (
c94059d3e25dc635e682facff4894ef43b9aca0e
and no debug) and QEMU:It works and runs correctly :)
Now try to run the timer app
and you will see this:
If you enable debug options for the Tock kernel you will see this:
If you enable PMP on Tock then you can't even load the app
Basically it's really hard to fit the libtock-rs apps with Tock for the HiFive1. As it's the only board supported in QEMU this is a pain. It might be worth looking at trying to shrink the app sizes.
The text was updated successfully, but these errors were encountered: