Skip to content

Commit

Permalink
Pin the audio library, move to FastLED fork to save some IRAM, re-ena…
Browse files Browse the repository at this point in the history
…ble Bluetooth
  • Loading branch information
tueddy committed Oct 22, 2023
1 parent b3dcba1 commit 3260297
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
* 31.08.2022: Directive `DONT_ACCEPT_SAME_RFID_TWICE` added. Blocks unwanted reapplies of the same rfid-tag (in case it's not a modification-card or rfid-tag is unknown in NVS).
* 02.10.2022: ESPuino is now able to stream audio to external BT-devices. This is currently in testing. Big thanks to @tueddy for providing this feature!
* 18.10.2022: New playmode: pick random subdirectory of a given directory and play it's content alphabetic ordered
* 08.01.2023: New feature: `PAUSE_ON_MIN_VOLUME`. Playback is paused automatically if volume reaches minVolume (usually 0).
* 20.10.2023: Change branch of arduinoespressif32
* 22.10.2023: Pin the audio library, move to FastLED fork to save some IRAM

## Old (monolithic main.cpp)
* 11.07.2020: Added support for reversed Neopixel addressing.
Expand Down
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ extra_scripts =
pre:gitVersion.py
pre:processHtml.py
lib_deps =
https://github.com/schreibfaul1/ESP32-audioI2S.git
https://github.com/schreibfaul1/ESP32-audioI2S.git#2ef8cf7
https://github.com/madhephaestus/ESP32Encoder.git#22992b3
https://github.com/knolleary/pubsubclient.git#2d228f2
https://github.com/biologist79/ESP32FTPServer
https://github.com/FastLED/FastLED.git@3.6.0
https://github.com/tueddy/FastLED.git#3.6.0_IRAM ;save some IRAM to compile with all features (https://github.com/FastLED/FastLED.git@3.6.0)
https://github.com/me-no-dev/ESPAsyncWebServer.git#1d46269
https://github.com/me-no-dev/AsyncTCP.git#ca8ac5f
https://github.com/bblanchon/ArduinoJson.git#7abf875
Expand Down
2 changes: 1 addition & 1 deletion src/revision.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma once

#include "gitrevision.h"
constexpr const char softwareRevision[] PROGMEM = "Software-revision: 20230214-1";
constexpr const char softwareRevision[] PROGMEM = "Software-revision: 20231022-1";
2 changes: 1 addition & 1 deletion src/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
//#define PLAY_LAST_RFID_AFTER_REBOOT // When restarting ESPuino, the last RFID that was active before, is recalled and played
//#define USE_LAST_VOLUME_AFTER_REBOOT // Remembers the volume used at last shutdown after reboot
#define USEROTARY_ENABLE // If rotary-encoder is used (don't forget to review WAKEUP_BUTTON if you disable this feature!)
//#define BLUETOOTH_ENABLE // If enabled and bluetooth-mode is active, you can stream to your ESPuino via bluetooth (a2dp-sink).
#define BLUETOOTH_ENABLE // If enabled and bluetooth-mode is active, you can stream to your ESPuino via bluetooth (a2dp-sink).

This comment has been minimized.

Copy link
@JanHBade

JanHBade Oct 27, 2023

Default BL Enable intended?

This comment has been minimized.

Copy link
@biologist79

biologist79 Oct 27, 2023

Owner

Why not?
It's just support for it. It isn't enabled silently - you need to activate it.

This comment has been minimized.

Copy link
@biologist79

biologist79 Oct 27, 2023

Owner

Oh wait, if your question is due to memory limitations: with having an optimized fastled lib pinned, this should work.

//#define IR_CONTROL_ENABLE // Enables remote control (https://forum.espuino.de/t/neues-feature-fernsteuerung-per-infrarot-fernbedienung/265)
#define CACHED_PLAYLIST_ENABLE // Enables playlist-caching (infos: https://forum.espuino.de/t/neues-feature-cached-playlist/515)
//#define PAUSE_WHEN_RFID_REMOVED // Playback starts when card is applied and pauses automatically, when card is removed (https://forum.espuino.de/t/neues-feature-pausieren-wenn-rfid-karte-entfernt-wurde/541)
Expand Down

0 comments on commit 3260297

Please sign in to comment.