-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
RP2040 PlatformIO lacks PWMAudio dependency #269
Comments
Hi, If I am correct, there is no One thing I wonder (but maybe you can enlighten us on that) is, as Mozzi supports a quite large set of different architectures, all with different includes, is it possible to make this |
I'd have to check the timing, but AFAIR, PWMAudio was added to the RP2040 core about a year or two ago (https://github.com/earlephilhower/arduino-pico/tree/master/libraries/PWMAudio). So this looks like a problem of PlatformIO not having the latest version. I have no real idea just how cores and libraries are registered with PlatformIO, but the problem will be found, there. |
Hello, thank you for responding.
I think so too, this issue can be solved by correcting PlatformIO library registration info about Mozzi. According to the registry website, it shows authors of the library. Is it NOT the actual submitter who have registered Mozzi library over there? https://registry.platformio.org/libraries/sensorium/Mozzi/insights/authors |
I don't think we have registered that, ourselves, but the info looks correct. However, I could not find the core we are assuming (https://github.com/earlephilhower/arduino-pico) in that registry. Rather it seems to contain a totally different, mbed-based core (https://github.com/platformio/platform-raspberrypi). No idea how you would go about installing the former with PlatformIO (or about registering it in the database), but I think that's what you'll need to do. |
I don't think either. Also note the FixMath is also correctly registered even though I am sure of not doing it. |
I added Mozzi manually by copying Mozzi files into src directory. So, I close this issue now. |
Environment:
Steps to reproduce
Board:RP2040 (Generic)
andFramework: Arduino
Current Behavior
Resulting to following error:
Workaround
Add
PWMAudio
to the project'splatformio.ini
, for example it looks like below:lib_deps = sensorium/Mozzi@^2.0.1 PWMAudio
Comments
Mozzi for PlatformIO already has dependency with
I2S
andAudioBufferManager
, but it lacksPWMAudio
.This issue would be solved by modifing
library.json
, but I didn't find it so far.The text was updated successfully, but these errors were encountered: