Join GitHub today
Deleted thumb check #1315
Pull Request Overview
This pull request deletes the thumb check in the kernel to keep it platform agnostic. I'm working on getting Tock running on risc-v and this check caused a problem when trying to run an application.
I ran it on the Hail board using the blink app and everything seems to be in working order. Also allows load processes to complete on the Arty-e21 (risc-v board).
TODO or Help Wanted
Not sure if this check needs to be put somewhere else in the platform specific code.
brghena left a comment
This was only really ever there as a sanity check. The compile process in libtock-c for ARM Cortex-Ms already ensures that code is compiled into thumb mode. I'd say we're probably good just removing this altogether rather than trying to add chip-specific process checks.