Running native code on Lego prime hub #10831
-
The Lego Robotics Inventor and Spike Prime hubs are STM32 based robotics kits that run Micropython. I'm trying to follow this example for generating .mpy files with native code in them: https://docs.micropython.org/en/latest/develop/natmod.html However, upon running this on the Pybricks firmware I get I tried to enable either ARM or THUM:
but either gives the following error:
This error doesn't really make sense to me, since this type of So anyway, I'm a bit stuck and confused about how to run native code on this device. Any help appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I may have fixed the issue, or at least made the error go away hehe #10855 Now with emit thumb I can load the factorial example 🎉 |
Beta Was this translation helpful? Give feedback.
I may have fixed the issue, or at least made the error go away hehe #10855
Now with emit thumb I can load the factorial example 🎉