I'm using VSCode 1.47.3 and PlatformIO 1.10.0.
I've cloned the repo as described in the README, added to the vscode workspace, and then selected the right environment in the platformio.ini.
I got some errors and can't compile the code for the ttgo-t-eight, but also the other environments failed to compile.
Could you please help?
Here is the log:
> Executing task in folder PedalinoMini: C:\Users\raid\.platformio\penv\Scripts\platformio.exe run <
Processing ttgo-t-eight (platform: espressif32; framework: arduino; board: esp32dev)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 1.6.0 > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 2.10001.190111 (1.0.1)
- tool-esptoolpy 1.20600.0 (2.6.0)
- toolchain-xtensa32 2.50200.80 (5.2.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
LibraryManager: Installing ArduinoJson
ArduinoJson @ 1f8636d is already installed
LibraryManager: Installing BatterySense
Battery Sense @ b1b1492 is already installed
LibraryManager: Installing blynk-library
Blynk @ c08f796 is already installed
LibraryManager: Installing AsyncTCP
AsyncTCP @ ca8ac5f is already installed
LibraryManager: Installing ESPAsyncWebServer
ESP Async WebServer @ f13685e is already installed
Installing dependencies
Looking for ESPAsyncTCP library in registry
Found: https://platformio.org/lib/show/305/ESPAsyncTCP
LibraryManager: Installing id=305
Using cache: C:\Users\raid\.platformio\.cache\3c\69ec8d45eebc4e13c137f6bf4cd5f53c
Unpacking [####################################] 100%
ESPAsyncTCP @ 1.2.2 has been successfully installed!
Looking for AsyncTCP library in registry
Found: https://platformio.org/lib/show/1826/AsyncTCP
LibraryManager: Installing id=1826
Using cache: C:\Users\raid\.platformio\.cache\8f\74372f406cb2e549f3eb2773b739d38f
Unpacking [####################################] 100%
AsyncTCP @ 1.1.1 has been successfully installed!
Looking for Hash library in registry
Warning! Library `{u'platforms': [u'espressif8266'], u'name': u'Hash'}` has not been found in PlatformIO Registry.
You can ignore this message, if `{u'platforms': [u'espressif8266'], u'name': u'Hash'}` is a built-in library (included in framework, SDK). E.g., SPI, Wire, etc.
LibraryManager: Installing esp8266-oled-ssd1306
ESP8266_SSD1306 @ 6aa3629 is already installed
LibraryManager: Installing FastLED
FastLED @ 3a1d880 is already installed
LibraryManager: Installing MD_REncoder
MD_REncoder @ d0c998d is already installed
LibraryManager: Installing OSC
OSC @ 41b4498 is already installed
LibraryManager: Installing RemoteDebug
RemoteDebug @ 22f770f is already installed
LibraryManager: Installing ResponsiveAnalogRead
ResponsiveAnalogRead @ 504c16b is already installed
LibraryManager: Installing Arduino-BLE-MIDI
BLE-MIDI @ 6eaf748 is already installed
LibraryManager: Installing Arduino-AppleMIDI-Library
AppleMIDI @ f2c9ad4 is already installed
Installing dependencies
Looking for MIDI Library library in registry
Found: https://platformio.org/lib/show/62/MIDI Library
LibraryManager: Installing id=62
Using cache: C:\Users\raid\.platformio\.cache\45\1621a11b23032cfbd16d2e63475b2445
Unpacking [####################################] 100%
MIDI Library @ 5.0.2 has been successfully installed!
LibraryManager: Installing arduino_midi_library
MIDI Library @ 150cecd is already installed
Installing dependencies
LibraryManager: Installing Arduino-BLE-MIDI
BLE-MIDI @ ce874ad is already installed
LibraryManager: Installing Arduino-ipMIDI
ipMIDI @ 96d7800 is already installed
Installing dependencies
Found 45 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <AceButton> 1.5 #09109dd
|-- <ArduinoJson> 6.16.0 #1f8636d
|-- <Battery Sense> 1.1.2 #b1b1492
|-- <Blynk> 0.6.1 #c08f796
| |-- <WiFi> 1.0
| |-- <WiFiClientSecure> 1.0
| | |-- <WiFi> 1.0
| |-- <ESP32 BLE Arduino> 1.0.1
|-- <AsyncTCP> 1.1.1 #ca8ac5f
|-- <ESP Async WebServer> 1.2.3 #f13685e
| |-- <AsyncTCP> 1.1.1 #ca8ac5f
| |-- <FS> 1.0
| |-- <WiFi> 1.0
| |-- <ArduinoJson> 6.16.0 #1f8636d
|-- <ESP8266_SSD1306> 4.1.0 #6aa3629
| |-- <Wire> 1.0.1
| |-- <SPI> 1.0
|-- <FastLED> 3.3.3 #3a1d880
| |-- <SPI> 1.0
|-- <MD_REncoder> 1.0.1 #d0c998d
|-- <OSC> #41b4498
|-- <RemoteDebug> 3.0.5 #22f770f
| |-- <WiFiClientSecure> 1.0
| | |-- <WiFi> 1.0
| |-- <SPI> 1.0
| |-- <WiFi> 1.0
|-- <ResponsiveAnalogRead> 1.2.1 #504c16b
|-- <BLE-MIDI> 0.0.1 #6eaf748
| |-- <ESP32 BLE Arduino> 1.0.1
|-- <AppleMIDI> 2.1.0 #f2c9ad4
| |-- <MIDI Library> 5.0.2
|-- <MIDI Library> 5.0.2 #150cecd
|-- <BLE-MIDI> 2.0.1 #ce874ad
| |-- <MIDI Library> 5.0.2
| |-- <ESP32 BLE Arduino> 1.0.1
|-- <ipMIDI> 1.0.3 #96d7800
| |-- <MIDI Library> 5.0.2
|-- <MIDI Library> 5.0.2
|-- <FS> 1.0
|-- <ESPmDNS> 1.0
| |-- <WiFi> 1.0
|-- <SPIFFS> 1.0
| |-- <FS> 1.0
|-- <Ticker> 1.1
|-- <Preferences> 1.0
|-- <WiFi> 1.0
|-- <ArduinoOTA> 1.0
| |-- <Update> 1.0
| |-- <ESPmDNS> 1.0
| | |-- <WiFi> 1.0
| |-- <WiFi> 1.0
|-- <AsyncUDP>
|-- <Update> 1.0
Building in release mode
Compiling .pio\build\ttgo-t-eight\lib417\FastLED\FastLED.cpp.o
Compiling .pio\build\ttgo-t-eight\lib417\FastLED\bitswap.cpp.o
Compiling .pio\build\ttgo-t-eight\lib417\FastLED\colorpalettes.cpp.o
Compiling .pio\build\ttgo-t-eight\lib417\FastLED\colorutils.cpp.o
Compiling .pio\build\ttgo-t-eight\lib417\FastLED\hsv2rgb.cpp.o
Compiling .pio\build\ttgo-t-eight\lib417\FastLED\lib8tion.cpp.o
Compiling .pio\build\ttgo-t-eight\lib417\FastLED\noise.cpp.o
Compiling .pio\build\ttgo-t-eight\lib417\FastLED\platforms.cpp.o
Compiling .pio\build\ttgo-t-eight\lib417\FastLED\power_mgt.cpp.o
Compiling .pio\build\ttgo-t-eight\lib417\FastLED\wiring.cpp.o
Compiling .pio\build\ttgo-t-eight\src\MidiTimeCode.cpp.o
Compiling .pio\build\ttgo-t-eight\src\PedalinoMini.cpp.o
Generating partitions .pio\build\ttgo-t-eight\partitions.bin
Compiling .pio\build\ttgo-t-eight\libf8f\AceButton\ace_button\AceButton.cpp.o
Compiling .pio\build\ttgo-t-eight\libf8f\AceButton\ace_button\ButtonConfig.cpp.o
Compiling .pio\build\ttgo-t-eight\libf8f\AceButton\ace_button\EncodedButtonConfig.cpp.o
Compiling .pio\build\ttgo-t-eight\libf8f\AceButton\ace_button\LadderButtonConfig.cpp.o
Compiling .pio\build\ttgo-t-eight\libf8f\AceButton\ace_button\testing\EventTracker.cpp.o
Archiving .pio\build\ttgo-t-eight\libef5\libArduinoJson.a
Compiling .pio\build\ttgo-t-eight\lib113\Battery Sense\Battery.cpp.o
Compiling .pio\build\ttgo-t-eight\lib97b\WiFi\ETH.cpp.o
Compiling .pio\build\ttgo-t-eight\lib97b\WiFi\WiFi.cpp.o
Compiling .pio\build\ttgo-t-eight\lib97b\WiFi\WiFiAP.cpp.o
Compiling .pio\build\ttgo-t-eight\lib97b\WiFi\WiFiClient.cpp.o
Compiling .pio\build\ttgo-t-eight\lib97b\WiFi\WiFiGeneric.cpp.o
Archiving .pio\build\ttgo-t-eight\libf8f\libAceButton.a
Compiling .pio\build\ttgo-t-eight\lib97b\WiFi\WiFiMulti.cpp.o
In file included from src\Pedalino.h:67:0,
Archiving .pio\build\ttgo-t-eight\lib113\libBattery Sense.a
from src\PedalinoMini.cpp:59:
.pio/libdeps/ttgo-t-eight/FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.003
# pragma message "FastLED version 3.003.003"
C ^
ompiling .pio\build\ttgo-t-eight\lib97b\WiFi\WiFiSTA.cpp.o
In file included from .pio/libdeps/ttgo-t-eight/FastLED/FastLED.h:65:0,
from src\Pedalino.h:67,
from src\PedalinoMini.cpp:59:
.pio/libdeps/ttgo-t-eight/FastLED/fastspi.h:135:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
^
CIompiling .pio\build\ttgo-t-eight\lib97b\WiFi\WiFiScan.cpp.o
n file included from src\PedalinoMini.cpp:61:0:
src\Config.h: In function 'void load_factory_default()':
src\Config.h:407:15: warning: narrowing conversion of '((p <= 2u) ? 2 : 5)' from 'int' to 'byte {aka unsigned char}' inside { } [-Wnarrowing]
pedals[p] = {PED_MIDI, // function
^
In file included from src\PedalinoMini.cpp:62:0:
src\UdpMidiOut.h: In function 'void AppleMidiSendAfterTouchPoly(byte, byte, byte)':
src\UdpMidiOut.h:123:104: warning: 'void midi::MidiInterface<Transport, _Settings, _Platform>::sendPolyPressure(midi::DataByte, midi::DataByte, midi::Channel) [with Transport = appleMidi::AppleMIDISession<WiFiUDP>; _Settings = appleMidi::AppleMIDISettings; _Platform = midi::DefaultPlatform; midi::DataByte = unsigned char; midi::Channel = unsigned char]' is deprecated [-Wdeprecated-declarations]
if (wifiEnabled && interfaces[PED_RTPMIDI].midiOut) RTP_MIDI.sendPolyPressure(note, pressure, channel);
^
In file included from .pio/libdeps/ttgo-t-eight/MIDI Library@src-59e1d1642f7f7db9ac6a5c47517998b9/src/MIDI.h:307:0,
from src\Pedalino.h:79,
from src\PedalinoMini.cpp:59:
.pio/libdeps/ttgo-t-eight/MIDI Library@src-59e1d1642f7f7db9ac6a5c47517998b9/src/MIDI.hpp:285:6: note: declared here
void MidiInterface<Transport, Settings, Platform>::sendPolyPressure(DataByte inNoteNumber,
^
In file included from src\PedalinoMini.cpp:62:0:
src\UdpMidiOut.h: In function 'void ipMIDISendAfterTouchPoly(byte, byte, byte)':
src\UdpMidiOut.h:250:102: warning: 'void midi::MidiInterface<Transport, _Settings, _Platform>::sendPolyPressure(midi::DataByte, midi::DataByte, midi::Channel) [with Transport = ipMidi::ipMidiTransport<WiFiUDP>;
_Settings = midi::DefaultSettings; _Platform = midi::DefaultPlatform; midi::DataByte = unsigned char; midi::Channel = unsigned char]' is deprecated [-Wdeprecated-declarations]
if (wifiEnabled && interfaces[PED_IPMIDI].midiOut) IP_MIDI.sendPolyPressure(note, pressure, channel);
^
In file included from .pio/libdeps/ttgo-t-eight/MIDI Library@src-59e1d1642f7f7db9ac6a5c47517998b9/src/MIDI.h:307:0,
from src\Pedalino.h:79,
from src\PedalinoMini.cpp:59:
.pio/libdeps/ttgo-t-eight/MIDI Library@src-59e1d1642f7f7db9ac6a5c47517998b9/src/MIDI.hpp:285:6: note: declared here
void MidiInterface<Transport, Settings, Platform>::sendPolyPressure(DataByte inNoteNumber,
^
Compiling .pio\build\ttgo-t-eight\lib97b\WiFi\WiFiServer.cpp.o
Compiling .pio\build\ttgo-t-eight\lib97b\WiFi\WiFiUdp.cpp.o
In file included from src\PedalinoMini.cpp:71:0:
src\WebConfigAsync.h: In function 'void get_actions_page()':
src\WebConfigAsync.h:682:32: error: 'class String' has no member named 'isEmpty'
if (String(banknames[i-1]).isEmpty())
^
In file included from src\PedalinoMini.cpp:71:0:
src\WebConfigAsync.h: In function 'void http_handle_login(AsyncWebServerRequest*)':
src\WebConfigAsync.h:2165:20: error: 'class String' has no member named 'isEmpty'
if (httpUsername.isEmpty()) {
^
src\WebConfigAsync.h: In function 'void http_handle_root(AsyncWebServerRequest*)':
src\WebConfigAsync.h:2205:21: error: 'class String' has no member named 'isEmpty'
if (!httpUsername.isEmpty() && !request->authenticate(httpUsername.c_str(), httpPassword.c_str())) return request->requestAuthentication();
^
src\WebConfigAsync.h: In function 'void http_handle_live(AsyncWebServerRequest*)':
src\WebConfigAsync.h:2213:21: error: 'class String' has no member named 'isEmpty'
if (!httpUsername.isEmpty() && !request->authenticate(httpUsername.c_str(), httpPassword.c_str())) return request->requestAuthentication();
^
src\WebConfigAsync.h: In function 'void http_handle_actions(AsyncWebServerRequest*)':
src\WebConfigAsync.h:2221:21: error: 'class String' has no member named 'isEmpty'
if (!httpUsername.isEmpty() && !request->authenticate(httpUsername.c_str(), httpPassword.c_str())) return request->requestAuthentication();
^
src\WebConfigAsync.h: In function 'void http_handle_pedals(AsyncWebServerRequest*)':
src\WebConfigAsync.h:2231:21: error: 'class String' has no member named 'isEmpty'
if (!httpUsername.isEmpty() && !request->authenticate(httpUsername.c_str(), httpPassword.c_str())) return request->requestAuthentication();
^
src\WebConfigAsync.h: In function 'void http_handle_interfaces(AsyncWebServerRequest*)':
src\WebConfigAsync.h:2239:21: error: 'class String' has no member named 'isEmpty'
if (!httpUsername.isEmpty() && !request->authenticate(httpUsername.c_str(), httpPassword.c_str())) return request->requestAuthentication();
^
src\WebConfigAsync.h: In function 'void http_handle_sequences(AsyncWebServerRequest*)':
src\WebConfigAsync.h:2247:21: error: 'class String' has no member named 'isEmpty'
if (!httpUsername.isEmpty() && !request->authenticate(httpUsername.c_str(), httpPassword.c_str())) return request->requestAuthentication();
^
src\WebConfigAsync.h: In function 'void http_handle_options(AsyncWebServerRequest*)':
src\WebConfigAsync.h:2256:21: error: 'class String' has no member named 'isEmpty'
if (!httpUsername.isEmpty() && !request->authenticate(httpUsername.c_str(), httpPassword.c_str())) return request->requestAuthentication();
^
src\WebConfigAsync.h: In function 'void http_handle_configurations(AsyncWebServerRequest*)':
src\WebConfigAsync.h:2264:21: error: 'class String' has no member named 'isEmpty'
if (!httpUsername.isEmpty() && !request->authenticate(httpUsername.c_str(), httpPassword.c_str())) return request->requestAuthentication();
^
src\WebConfigAsync.h: In function 'void http_handle_post_actions(AsyncWebServerRequest*)':
src\WebConfigAsync.h:2402:121: warning: format '%x' expects argument of type 'unsigned int*', but argument 3 has type 'byte* {aka unsigned char*}' [-Wformat=]
sscanf( request->arg(String("color") + String(i)).c_str(), "#%02x%02x%02x", &r, &g, &b);
^
src\WebConfigAsync.h:2402:121: warning: format '%x' expects argument of type 'unsigned int*', but argument 4 has type 'byte* {aka unsigned char*}' [-Wformat=]
src\WebConfigAsync.h:2402:121: warning: format '%x' expects argument of type 'unsigned int*', but argument 5 has type 'byte* {aka unsigned char*}' [-Wformat=]
src\WebConfigAsync.h:2402:121: warning: format '%x' expects argument of type 'unsigned int*', but argument 3 has type 'byte* {aka unsigned char*}' [-Wformat=]
src\WebConfigAsync.h:2402:121: warning: format '%x' expects argument of type 'unsigned int*', but argument 4 has type 'byte* {aka unsigned char*}' [-Wformat=]
src\WebConfigAsync.h:2402:121: warning: format '%x' expects argument of type 'unsigned int*', but argument 5 has type 'byte* {aka unsigned char*}' [-Wformat=]
src\WebConfigAsync.h: In function 'void http_handle_post_configurations(AsyncWebServerRequest*)':
src\WebConfigAsync.h:2718:42: error: 'const class String' has no member named 'isEmpty'
if (request->arg("newconfiguration").isEmpty()) {
^
In file included from src\PedalinoMini.cpp:73:0:
src\WifiConnect.h: In function 'void WiFiEvent(system_event_id_t, system_event_info_t)':
src\WifiConnect.h:294:10: error: 'SYSTEM_EVENT_STA_WPS_ER_PBC_OVERLAP' was not declared in this scope
C ompiling .pio\build\ttgo-t-eight\libc98\WiFiClientSecure\WiFiClientSecure.cpp.o
case SYSTEM_EVENT_STA_WPS_ER_PBC_OVERLAP:
^
In file included from src\Pedalino.h:71:0,
from src\PedalinoMini.cpp:59:
src\ShiftOut.h: In instantiation of 'void _ShiftOut<chipCount, ShiftType>::setHigh(int) [with unsigned char chipCount = 1u; ShiftType = unsigned char]':
src\Controller.h:105:27: required from here
src\ShiftOut.h:62:32: warning: operation on '((_ShiftOut<1u, unsigned char>*)this)->_ShiftOut<1u, unsigned char>::state' may be undefined [-Wsequence-point]
inline void setHigh(int id) { state = bitSet(state, id); }
^
src\ShiftOut.h: In instantiation of 'void _ShiftOut<chipCount, ShiftType>::setLow(int) [with unsigned char chipCount = 1u; ShiftType = unsigned char]':
src\Controller.h:113:28: required from here
src\ShiftOut.h:63:31: warning: operation on '((_ShiftOut<1u, unsigned char>*)this)->_ShiftOut<1u, unsigned char>::state' may be undefined [-Wsequence-point]
inline void setLow(int id) { state = bitClear(state, id); }
^
Compiling .pio\build\ttgo-t-eight\libc98\WiFiClientSecure\ssl_client.cpp.o
In file included from .pio/libdeps/ttgo-t-eight/AppleMIDI/src/rtpMIDI_Parser.h:177:0,
from .pio/libdeps/ttgo-t-eight/AppleMIDI/src/AppleMIDI.h:21,
from src\UdpMidiOut.h:17,
from src\PedalinoMini.cpp:62:
.pio/libdeps/ttgo-t-eight/AppleMIDI/src/rtpMIDI_Parser_JournalSection.hpp: In instantiation of 'appleMidi::parserReturn appleMidi::rtpMIDIParser<UdpClass, Settings, Platform>::decodeJournalSection(Deque<unsigned char, Settings:: MaxBufferSize>&) [with UdpClass = WiFiUDP; Settings = appleMidi::DefaultSettings; Platform = appleMidi::DefaultPlatform]':
.pio/libdeps/ttgo-t-eight/AppleMIDI/src/rtpMIDI_Parser.h:167:47: required from 'appleMidi::parserReturn appleMidi::rtpMIDIParser<UdpClass, Settings, Platform>::parse(Deque<unsigned char, Settings:: MaxBufferSize>&) [with UdpClass = WiFiUDP; Settings = appleMidi::DefaultSettings; Platform = appleMidi::DefaultPlatform]'
.pio/libdeps/ttgo-t-eight/AppleMIDI/src/AppleMIDI.hpp:64:55: required from 'void appleMidi::AppleMIDISession<UdpClass, Settings, Platform>::parseDataPackets() [with UdpClass = WiFiUDP; _Settings = appleMidi::DefaultSettings; _Platform = appleMidi::DefaultPlatform]'
.pio/libdeps/ttgo-t-eight/AppleMIDI/src/AppleMIDI.h:185:25: required from 'unsigned int appleMidi::AppleMIDISession<UdpClass, Settings, Platform>::available() [with UdpClass = WiFiUDP; _Settings = appleMidi::DefaultSettings; _Platform = appleMidi::DefaultPlatform]'
.pio/libdeps/ttgo-t-eight/MIDI Library@src-59e1d1642f7f7db9ac6a5c47517998b9/src/MIDI.hpp:785:32: required from 'bool midi::MidiInterface<Transport, _Settings, _Platform>::parse() [with Transport = appleMidi::AppleMIDISession<WiFiUDP>; _Settings = appleMidi::AppleMIDISettings; _Platform = midi::DefaultPlatform]'
.pio/libdeps/ttgo-t-eight/MIDI Library@src-59e1d1642f7f7db9ac6a5c47517998b9/src/MIDI.hpp:742:15: required from 'bool midi::MidiInterface<Transport, _Settings, _Platform>::read(midi::Channel) [with Transport =
appleMidi::AppleMIDISession<WiFiUDP>; _Settings = appleMidi::AppleMIDISettings; _Platform = midi::DefaultPlatform; midi::Channel = unsigned char]'
.pio/libdeps/ttgo-t-eight/MIDI Library@src-59e1d1642f7f7db9ac6a5c47517998b9/src/MIDI.hpp:706:16: required from 'bool midi::MidiInterface<Transport, _Settings, _Platform>::read() [with Transport = appleMidi::AppleMIDISession<WiFiUDP>; _Settings = appleMidi::AppleMIDISettings; _Platform = midi::DefaultPlatform]'
src\PedalinoMini.cpp:527:59: required from here
.pio/libdeps/ttgo-t-eight/AppleMIDI/src/rtpMIDI_Parser_JournalSection.hpp:51:18: warning: unused variable 'checkPoint' [-Wunused-variable]
uint16_t checkPoint = ntohs(cb.value16);
^
.pio/libdeps/ttgo-t-eight/AppleMIDI/src/rtpMIDI_Parser_JournalSection.hpp:135:18: warning: unused variable 'channelNr' [-Wunused-variable]
uint16_t channelNr = (chanflags & RTP_MIDI_CJ_MASK_CHANNEL) >> RTP_MIDI_CJ_CHANNEL_SHIFT;
^
In file included from .pio/libdeps/ttgo-t-eight/FastLED/platforms/esp/32/fastled_esp32.h:8:0,
from .pio/libdeps/ttgo-t-eight/FastLED/platforms.h:36,
from .pio/libdeps/ttgo-t-eight/FastLED/FastLED.h:52,
from src\Pedalino.h:67,
from src\PedalinoMini.cpp:59:
.pio/libdeps/ttgo-t-eight/FastLED/platforms/esp/32/clockless_rmt_esp32.h: In instantiation of 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::fillNext() [with int DATA_PIN = 5; int T1 = 60; int T2 = 150; int T3 = 90; EOrder RGB_ORDER = (EOrder)66u; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]':
.pio/libdeps/ttgo-t-eight/FastLED/platforms/esp/32/clockless_rmt_esp32.h:524:21: required from 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::interruptHandler(void*) [with int DATA_PIN = 5; int T1 = 60; int T2 = 150; int T3 = 90; EOrder RGB_ORDER = (EOrder)66u; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]'
Compiling .pio\build\ttgo-t-eight\libbae\BLE\BLE2902.cpp.o
.pio/libdeps/ttgo-t-eight/FastLED/platforms/esp/32/clockless_rmt_esp32.h:291:31: required from 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::initRMT() [with int DATA_PIN = 5; int T1 = 60; int T2 = 150; int T3 = 90; EOrder RGB_ORDER = (EOrder)66u; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]'
.pio/libdeps/ttgo-t-eight/FastLED/platforms/esp/32/clockless_rmt_esp32.h:305:24: required from 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showPixels(PixelController<RGB_ORDER>&) [with int DATA_PIN = 5; int T1 = 60; int T2 = 150; int T3 = 90; EOrder RGB_ORDER = (EOrder)66u; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]'
src\PedalinoMini.cpp:551:1: required from here
.pio/libdeps/ttgo-t-eight/FastLED/platforms/esp/32/clockless_rmt_esp32.h:541:22: warning: unused variable 't1' [-Wunused-variable]
uint32_t t1 = __clock_cycles();
^
Compiling .pio\build\ttgo-t-eight\libbae\BLE\BLE2904.cpp.o
C*ompiling .pio\build\ttgo-t-eight\libbae\BLE\BLEAddress.cpp.o
** [.pio\build\ttgo-t-eight\src\PedalinoMini.cpp.o] Error 1
========================================================================================== [FAILED] Took 115.74 seconds ==========================================================================================
Environment Status Duration
------------------------ -------- ------------
esp32dev IGNORED
esp32doit-devkit-v1 IGNORED
esp32doit-devkit-v1-ble IGNORED
esp32doit-devkit-v1-wifi IGNORED
ttgo-t-eight FAILED 00:01:55.744
ttgo-t-eight-ble IGNORED
ttgo-t-eight-wifi IGNORED
===================================================================================== 1 failed, 0 succeeded in 00:01:55.744 =====================================================================================
The terminal process "C:\Users\raid\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
Hi,
I'm using VSCode 1.47.3 and PlatformIO 1.10.0. I've cloned the repo as described in the README, added to the vscode workspace, and then selected the right environment in the platformio.ini. I got some errors and can't compile the code for the ttgo-t-eight, but also the other environments failed to compile.
Could you please help?
Here is the log: