Yes, I learned rp2040 is ARMv6. These things are new for me and the distribution of information is confusing for me.
Thanks you very much that you have made available such wealth of good information in you github, Peter. Great!!!
(I have studied your fft and filter code, at the moment I use Goertzel, which is fast enough in microPython for only a few frequencies.)
Where can we find information about the inline assembler for Pico?
Re: Where can we find information about the inline assembler for Pico?
I'm getting the following error:
My code:
Sorry I thought this post was for the Espruino Pico (instead of the Pi Pico).
Please disregard. Assembler was removed in commit f1d260d.
I'm using MicroPython v1.14-83-g680ce4532 on 2021-03-03; Espruino Pico with STM32F401CDTraceback (most recent call last):
File "<stdin>", line 1, in <module>
SyntaxError: invalid micropython decorator
My code:
Code: Select all
@micropython.asm_thumb
def inv_int(r0):
neg(r0,r0)
Please disregard. Assembler was removed in commit f1d260d.
Re: Where can we find information about the inline assembler for Pico?
The Espruino Pico has quite a bit less flash (only 384K) so in order to get things to fit, I imagine a bunch of features were turned off, and the inline assembler is probably one of those things:
https://github.com/micropython/micropyt ... rd.h#L4-L5
https://github.com/micropython/micropyt ... rd.h#L4-L5