Closed campidelli closed 2 months ago
@campidelli I was able to get both esp32 examples to work by adding the following 3 lines to platformio.ini:
platform_packages= framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.4 framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.4/esp32-arduino-libs-3.0.4.zip
You will probably have to delete the .platformio directory in your home directory and the .pio directory in your project to get it to build. This may cause issues with your other projects that use the espressif32 platform unless you explicitly state the platform version in those projects. In my case this is platform = espressif32@6.0.1 instead of platform = espressif32. In any case you could always delete the .platformio directory before opening your other projects if you need to.
I hope this helps and doesn't cause more problems for you than it solves!
Thanks a lot, @RocketManRC, that worked beautifully! It is hard to go back to Arduino IDE after using VS Code hehe.
If you are curious, this is my code https://github.com/campidelli/arduino-accordion/tree/amy
Cheers!
Glad to hear you had success @campidelli and I will check out your project tomorrow!
I have so many projects with different microcontrollers and libraries that I couldn't survive anymore without PlatformIO.
This is great, thank you @RocketManRC . Is there something we can add to the AMY repository to make it easier for people using PlatformIO?
@bwhitman Yes for sure Brian and I will be happy to work on that. I'm not a PlatformIO expert but I know where to look for answers :-)
Hey @bwhitman, if you want to check what I have done so far, this maybe a good example to add to the ESP32 dual core examples: https://hackaday.io/project/197399-arduino-esp32-standalone-accordion/log/232631-found-the-synth-library-amy
Cheers!
+1 for PlatformIO - I'm testing it out on RP2350s at the moment. Currently it's just Forth written in C though.
Hi everyone, thanks for this amazing library!
I am trying to make this example https://github.com/shorepine/amy/blob/main/examples/AMY_Test_ESP32_DualCore/AMY_Test_ESP32_DualCore.ino to run using the PlatformIO on VSCode.
It works just fine on Arduino IDE, but I need to make it work on PlatformIO. The main issue is that PlatformIO doesn't support the version 3 of the arduino-esp32 yet, so I can't use the class:
So I am trying to use the old I2S library but it is not working, I keep getting the error:
Here is my sketch, I hope someone cal help me. Thanks!