-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump ESP8266Audio to 1.9.8 and remove no longer needed quirks
- Loading branch information
1 parent
dfb9778
commit 25926fc
Showing
4 changed files
with
3 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,8 @@ | ||
#if QUIRK_RTTTL || QUIRK_LOVYAN | ||
#if QUIRK_RTTTL | ||
#define ledcSetup(ch, freq, res) \ | ||
uint32_t __freq = freq; \ | ||
uint8_t __res = res; \ | ||
do { \ | ||
} while (0) | ||
#define ledcAttachPin(pin, ch) ledcAttachChannel(pin, __freq, __res, ch) | ||
#endif | ||
|
||
#if QUIRK_LOVYAN | ||
#include <stdbool.h> | ||
|
||
#include "esp_heap_caps.h" | ||
#include "multi_heap.h" | ||
|
||
#include "rom/ets_sys.h" | ||
#include "rom/gpio.h" | ||
#include "soc/gpio_struct.h" | ||
#include "soc/spi_periph.h" | ||
#include "soc/spi_reg.h" | ||
|
||
#undef bool | ||
#undef true | ||
#undef false | ||
#endif | ||
|
||
#if QUIRK_ESP8266_AUDIO | ||
#ifdef __cplusplus | ||
#include "WiFi.h" | ||
#endif | ||
#include "esp_chip_info.h" | ||
#include "soc/rtc_cntl_reg.h" | ||
#include "soc/rtc_io_reg.h" | ||
#define rtc_clk_apll_enable(...) | ||
#define I2S_MCLK_MULTIPLE_DEFAULT I2S_MCLK_MULTIPLE_128 | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,5 @@ lib_deps = ${esp32s3_base.lib_deps} | |
lovyan03/LovyanGFX@^1.1.9 | ||
lewisxhe/[email protected] | ||
adafruit/Adafruit DRV2605 Library@^1.2.2 | ||
earlephilhower/ESP8266Audio@^1.9.7 | ||
https://github.com/earlephilhower/ESP8266Audio#c93201483fa2a15a36ccb6296b2b9382ddfa3000 | ||
earlephilhower/ESP8266SAM@^1.0.1 |