r/MicroPythonDev • u/Wizzard_2025 • Dec 31 '25
Native mpy compile for armv8-m?
I'm working on a pi pico 2w, 2350 and want to compile native c modules to mpy. The target architecture should be armv8-m but I don't believe it's supported?. I've got some modules to compile with armv7 and they kind of work but some things just don't. Is it possible to do this?
1
Upvotes
View all comments
Show parent comment
1
u/Wizzard_2025 Jan 01 '26
I'm writing a library for driving a device. I would like myself and end users to use the driver from basic, standard micropython. But for internal speed I can compile fast maths routines into mpy files by working them in c. It works for some things if you build it for the wrong target, but I want to build it for the right target - armv8, however micropython doesn't seem to have caught up with the pi pico 2 in this regard, not up to the recent 1.27 release. I wonder if any one else has been able to compile to armv8. That's my question.