Closed mrdudz closed 9 months ago
Thanks for the report. Just for my own reference, do by chance know the exact instructions that aren't supported?
I don't know, sorry ... i just disabled them where it complained :) (There must be a list somewhere)
i found this "RP2040 is based on the Cortex-M0+ core design. The M0+ uses the ARMv6-M Thumb instruction set" - so it does not supports the instructions that only exist in 32bit mode.
I've gone ahead and updated dr_mp3 and dr_flac in the dev branch with your proposed fixes. Before I get that released to the master branch, would you be able to give that a try when you get a chance just to verify?
I will report back if it actually works when i have the hardware with actual audio output... so far i can only confirm it builds and doesn't crash - no idea if the decoded stream is OK :)
It should be fine. That particular code was just an optimized path. It'll just fall back to the generic C implementation instead. I'll get this released shortly. Thanks for checking that it compiles.
The M0 cores do not have some instructions that the decoders use, this patch will still make it compile:
and: