Remora
Remora copied to clipboard
Test Remora in ESP32S2
S2 arrived Try to compile this in the S2 and make some benchmarks.
Issues found: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/peripherals/i2s.html
-
Neopixes uses I2s and in the file Esp32_i2s.c includes:
#include "rom/ets_sys.h" // This header file is not existing in IDF 4.0.
-
It uses 8 NeoEsp32RmtChannel4 if I see this correctly I see constants only up to RMT_CHANNEL3 (Has 4 then? Not entirely sure about this)
Should be solved by this fork from atanisoft https://github.com/atanisoft/NeoPixelBus/commit/001d25f09e8b957ddf03fddbf30a4acdff662018
With Atanisoft update and adding this defines:
#define I2S1O_WS_OUT_IDX -1 #define I2S1O_BCK_OUT_IDX -1 #define I2S1O_DATA_OUT23_IDX -1
Plus a small update suggested by the compiler works:
esp32S2/NeoPixelBus/src/internal/Esp32_i2s.c:168:20: error: 'volatile union
For the moment is not important to run this in S2 and in the next reviews I would be interested to compare speed with S3. Other than that a solution has been proposed in this ticket.