pschatzmann / arduino-libhelix

A simple MP3 and AAC Decoder (not only) for Arduino based on libhelix
GNU General Public License v3.0
64 stars 21 forks source link

Version > 0.8.1 does not work on plateformio #13

Closed philippejadin closed 3 months ago

philippejadin commented 3 months ago

First thank you for this great library. I hope my diagnostic is correct, it seems that latest version don't work on plateformio anymore.

Here is a minimal plateformio.ini file to reproduce :

[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
board_build.core = earlephilhower
lib_deps = 
  https://github.com/pschatzmann/arduino-libhelix
  https://github.com/pschatzmann/arduino-audio-tools
[platformio]
src_dir = src

Errors I get :

It works fine if I pin the library versions to :

lib_deps = 
  https://github.com/pschatzmann/arduino-libhelix#v0.8.1
  https://github.com/pschatzmann/arduino-audio-tools#v0.9.5
pschatzmann commented 3 months ago

I committed a correction to libhelix, but I noticed that Platformio is messing up with the wifi information in the AudioTools: Now you can also specify the compile option NO_WIFI to switch the WiFI off, otherwise you will need to provide the additional libraries for WiFi support as well

philippejadin commented 3 months ago

I confirm it works fine now. Thank you for your time! I'm reconsidering platformio as a more reproducible environment for dev :)