diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2022-09-30 03:25:13 +0100 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2022-09-30 03:25:13 +0100 |
| commit | b490699eabbb755cb23204bb6343395bbe47d08d (patch) | |
| tree | b1962ac010f466fa57bd795b1d0e10c5ebc11014 /src | |
| parent | ebe75dcaba0239d225243cdedd31aaf860abbd0a (diff) | |
Delete esp32_i2s_parallel_mcu_def.h.txt
Diffstat (limited to 'src')
| -rw-r--r-- | src/esp32_i2s_parallel_mcu_def.h.txt | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/esp32_i2s_parallel_mcu_def.h.txt b/src/esp32_i2s_parallel_mcu_def.h.txt deleted file mode 100644 index dd276da..0000000 --- a/src/esp32_i2s_parallel_mcu_def.h.txt +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once - -/* Abstract the Espressif IDF ESP32 MCU variant compile-time defines - * into another list for the purposes of this library. - * - * i.e. I couldn't be bothered having to update the library when they - * release the ESP32S4,5,6,7, n+1 etc. if they are all fundamentally - * the same architecture. - */ -#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3 - - #define ESP32_SXXX 1 - #define ESP32_I2S_DEVICE I2S_NUM_0 - - #define I2S_PARALLEL_CLOCK_HZ 160000000L - #define DMA_MAX (4096-4) - -#elif CONFIG_IDF_TARGET_ESP32 || defined(ESP32) - - // 2016 model that started it all, and this library. The best. - #define ESP32_ORIG 1 - #define ESP32_I2S_DEVICE I2S_NUM_0 - - #define I2S_PARALLEL_CLOCK_HZ 80000000L - #define DMA_MAX (4096-4) - -#elif CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32H2 - - #error "ESPC-series RISC-V MCU's do not support parallel DMA and not supported by this library!" - #define ESP32_CXXX 1 - -#else - #error "ERROR: No ESP32 or ESP32 Espressif IDF detected at compile time." - -#endif
\ No newline at end of file |
