M5Stack-SD-Updater
M5Stack-SD-Updater copied to clipboard
[SD-App] Please add M5Stack_WebRadio_Avator
https://github.com/robo8080/M5Stack_WebRadio_Avator
pre-hook:
install_arduino_lib https://github.com/earlephilhower/ESP8266Audio/archive/master.zip; echo "Patching esp8266Audio with getLevel()"; sed -i -e 's/bool SetOutputModeMono/int getLevel();\nbool SetOutputModeMono/g' ~/Arduino/libraries/ESP8266Audio-master/src/AudioOutputI2S.h; sed -i -e 's/include "AudioOutputI2S.h"/include "AudioOutputI2S.h"\n\n int aout_level = 0; int AudioOutputI2S::getLevel() { return aout_level; }/g' ~/Arduino/libraries/ESP8266Audio-master/src/AudioOutputI2S.cpp; sed -i -e 's/int16_t l/aout_level = (int)sample[RIGHTCHANNEL];\nint16_t l/g' ~/Arduino/libraries/ESP8266Audio-master/src/AudioOutputI2S.cpp;
post-hook:
#
Adding library requirements:
https://github.com/Gianbacchio/ESP8266_Spiram/archive/master.zip
Compilation of this package failed, it has been labeled as invalid until the source of the problem is identified and addressed