Skip to content

Fork of moononournation/LVGL_Music_Player for compiling with ESP-IDF 4.4.4

Notifications You must be signed in to change notification settings

johnboiles/Esp32Winamp

 
 

Repository files navigation

Winamp on ESP32

I thought @moononournation's Winamp on ESP32 video and Instructable was incredible, and I had to have one, but the original repo didn't have any instructions on how to build it. So in this repo I've set it up to build with ESP-IDF 4.4.4.

whips the llamas ass

Compiling

You'll need ESP-IDF 4.4.4 which as 16 June 2023 is the highest version of ESP-IDF that works out of the box with arduino-esp32. Installation instructions are here. It's typically something like:

mkdir -p ~/esp
cd ~/esp
git clone -b v4.4.4 --recursive https://github.com/espressif/esp-idf.git

Now from this repo, make sure you have the submodules:

git submodule update --init --recursive

Then build with:

. $HOME/esp/esp-idf/export.sh
idf.py set-target esp32s3
idf.py build flash monitor

This should upload and return logs for any connected EESP32.

TODO:

  • I only have the 480x320 boards (SC-01 Plus) so I haven't tested the other boards. I haven't put in the effort to make the CMakeLists.txt have an option for the different boards, but that's probably not too hard.
  • Audio gets a little glitchy, especially in higher bitrate files.
  • Would be awesome to drop Arduino entirely, then you could use the latest-and-greatest ESP-IDFs (Arduino support typically lags ~6-9 months behind ESP-IDF development). A few of the libraries depend on Arduino right now though.
  • I think the UI animations could be made smoother with some more optimization.
  • Lots and lots of duplicated code here (though a little bit less than the original repo)
  • Crashes sometimes.

About

Fork of moononournation/LVGL_Music_Player for compiling with ESP-IDF 4.4.4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.7%
  • Other 0.3%