M5Stack-SD-Updater icon indicating copy to clipboard operation
M5Stack-SD-Updater copied to clipboard

[SD-App] Please add M5Stack_WebRadio_Avator

Open tobozo opened this issue 6 years ago • 3 comments

https://github.com/robo8080/M5Stack_WebRadio_Avator

tobozo avatar Aug 29 '19 22:08 tobozo

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:

# 

tobozo avatar Aug 29 '19 22:08 tobozo

Adding library requirements:

https://github.com/Gianbacchio/ESP8266_Spiram/archive/master.zip

tobozo avatar Aug 29 '19 22:08 tobozo

Compilation of this package failed, it has been labeled as invalid until the source of the problem is identified and addressed

tobozo avatar Nov 07 '19 10:11 tobozo