Processing esp32_u2f (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 (5.1.0) > Espressif ESP32 Dev Module HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, 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 @ 3.20004.220818 (2.0.4) - tool-esptoolpy @ 1.30300.0 (3.3.0) - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3 LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 34 compatible libraries Scanning dependencies... Dependency Graph |-- Wire @ 2.0.0 |-- DFRobot_DHT20 @ 1.0.0 | |-- Wire @ 2.0.0 |-- Crypto @ 0.4.0+sha.4a6b190 |-- EEPROM @ 2.0.0 Building in release mode Compiling .pio\build\esp32_u2f\src\main.cpp.o src/main.cpp: In function 'void setup()': src/main.cpp:588:46: error: 'SIM_UIDH' was not declared in this scope sprintf(U_ID, "%08lX %08lX %08lX %08lX", SIM_UIDH, SIM_UIDMH, SIM_UIDML, ^~~~~~~~ src/main.cpp:588:46: note: suggested alternative: 'SI_USER' sprintf(U_ID, "%08lX %08lX %08lX %08lX", SIM_UIDH, SIM_UIDMH, SIM_UIDML, ^~~~~~~~ SI_USER src/main.cpp:588:56: error: 'SIM_UIDMH' was not declared in this scope sprintf(U_ID, "%08lX %08lX %08lX %08lX", SIM_UIDH, SIM_UIDMH, SIM_UIDML, ^~~~~~~~~ src/main.cpp:588:67: error: 'SIM_UIDML' was not declared in this scope sprintf(U_ID, "%08lX %08lX %08lX %08lX", SIM_UIDH, SIM_UIDMH, SIM_UIDML, ^~~~~~~~~ src/main.cpp:588:67: note: suggested alternative: 'SIG_DFL' sprintf(U_ID, "%08lX %08lX %08lX %08lX", SIM_UIDH, SIM_UIDMH, SIM_UIDML, ^~~~~~~~~ SIG_DFL src/main.cpp:589:9: error: 'SIM_UIDL' was not declared in this scope SIM_UIDL); ^~~~~~~~ src/main.cpp:589:9: note: suggested alternative: 'SI_USER' SIM_UIDL); ^~~~~~~~ SI_USER src/main.cpp: In function 'int initResponse(byte*)': src/main.cpp:693:5: error: 'RawHID' was not declared in this scope RawHID.send(resp_buffer, 100); ^~~~~~ src/main.cpp: In function 'void errorResponse(byte*, int)': src/main.cpp:710:5: error: 'RawHID' was not declared in this scope RawHID.send(resp_buffer, 100); ^~~~~~ src/main.cpp: In function 'void respondErrorPDU(byte*, int)': src/main.cpp:733:5: error: 'RawHID' was not declared in this scope RawHID.send(buffer, 100); ^~~~~~ src/main.cpp: In function 'void sendLargeResponse(byte*, int)': src/main.cpp:758:5: error: 'RawHID' was not declared in this scope RawHID.send(resp_buffer, 100); ^~~~~~ src/main.cpp: In function 'void processMessage(byte*)': src/main.cpp:1147:9: error: 'RawHID' was not declared in this scope RawHID.send(buffer, 100); ^~~~~~ src/main.cpp:1157:13: error: 'RawHID' was not declared in this scope RawHID.send(buf, 100); ^~~~~~ src/main.cpp:1171:9: error: 'RawHID' was not declared in this scope RawHID.send(buf, 100); ^~~~~~ src/main.cpp:1224:21: error: 'RawHID' was not declared in this scope RawHID.send(buf, 100); ^~~~~~ src/main.cpp:1235:21: error: 'RawHID' was not declared in this scope RawHID.send(buf, 100); ^~~~~~ src/main.cpp:1325:17: error: 'RawHID' was not declared in this scope RawHID.send(buf, 100); ^~~~~~ src/main.cpp:1375:13: error: 'RawHID' was not declared in this scope RawHID.send(buf, 100); ^~~~~~ src/main.cpp:1381:13: error: 'RawHID' was not declared in this scope RawHID.send(buf, 100); ^~~~~~ src/main.cpp:1394:9: error: 'RawHID' was not declared in this scope RawHID.send(hash_buffer, 100); ^~~~~~ src/main.cpp:1407:9: error: 'RawHID' was not declared in this scope RawHID.send(buf, 100); ^~~~~~ src/main.cpp:1415:9: error: 'RawHID' was not declared in this scope RawHID.send(buf, 100); ^~~~~~ src/main.cpp:1423:9: error: 'RawHID' was not declared in this scope RawHID.send(buf, 100); ^~~~~~ src/main.cpp: In function 'void processPacket(byte*)': src/main.cpp:1451:13: error: 'RawHID' was not declared in this scope RawHID.send(buffer, 100); ^~~~~~ src/main.cpp:1458:13: error: 'RawHID' was not declared in this scope RawHID.send(buffer, 100); ^~~~~~ src/main.cpp: In function 'void authenticateKey()': src/main.cpp:1505:9: error: 'RawHID' was not declared in this scope n = RawHID.recv(recv_buffer, 0); // 0 timeout = do not wait ^~~~~~ Compiling .pio\build\esp32_u2f\FrameworkArduino\base64.cpp.o Compiling .pio\build\esp32_u2f\FrameworkArduino\cbuf.cpp.o Compiling .pio\build\esp32_u2f\FrameworkArduino\esp32-hal-adc.c.o Compiling .pio\build\esp32_u2f\FrameworkArduino\esp32-hal-bt.c.o Compiling .pio\build\esp32_u2f\FrameworkArduino\esp32-hal-cpu.c.o Compiling .pio\build\esp32_u2f\FrameworkArduino\esp32-hal-dac.c.o Compiling .pio\build\esp32_u2f\FrameworkArduino\esp32-hal-gpio.c.o *** [.pio\build\esp32_u2f\src\main.cpp.o] Error 1 ========================== [FAILED] Took 5.44 seconds ==========================