* Executing task in folder ESP32_LinuxCNC_MotionController_RealTime-main: platformio run --target upload --environment esp32-rmii-ethernet --upload-port /dev/ttyACM0 Processing esp32-rmii-ethernet (platform: espressif32@6.5.0; board: esp32dev; framework: arduino) ------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html PLATFORM: Espressif 32 (6.5.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 @ 2.0.14+sha.44da992 - tool-esptoolpy @ 1.40501.0 (4.5.1) - tool-mkfatfs @ 2.0.1 - tool-mklittlefs @ 1.203.210628 (2.3) - tool-mkspiffs @ 2.230.0 (2.30) - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5 LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 42 compatible libraries Scanning dependencies... Dependency Graph |-- FastAccelStepper @ 0.30.15 |-- ESP32Ping @ 1.7.0 |-- AsyncTCP @ 1.1.1 |-- ESP32Encoder @ 0.11.7 |-- WiFi @ 2.0.0 |-- ArduinoNvs @ 2.8.0 |-- ESP32Console @ 1.2.2 |-- ArduinoOTA @ 2.0.0 |-- Ethernet @ 2.0.0 |-- Ticker @ 2.0.0 |-- ESP32 Async UDP @ 2.0.0 Building in release mode Retrieving maximum program size .pio/build/esp32-rmii-ethernet/firmware.elf Checking size .pio/build/esp32-rmii-ethernet/firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [== ] 19.1% (used 62484 bytes from 327680 bytes) Flash: [========= ] 86.9% (used 1139529 bytes from 1310720 bytes) Configuring upload protocol... AVAILABLE: cmsis-dap, esp-bridge, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa CURRENT: upload_protocol = esptool Looking for upload port... Using manually specified: /dev/ttyACM0 Uploading .pio/build/esp32-rmii-ethernet/firmware.bin esptool.py v4.5.1 Serial port /dev/ttyACM0 Connecting... A fatal error occurred: This chip is ESP32-S2 not ESP32. Wrong --chip argument? *** [upload] Error 2 ================================================= [FAILED] Took 8.35 seconds ================================================= Environment Status Duration ------------------- -------- ------------ esp32-rmii-ethernet FAILED 00:00:08.350 ============================================ 1 failed, 0 succeeded in 00:00:08.350 ============================================ * The terminal process "platformio 'run', '--target', 'upload', '--environment', 'esp32-rmii-ethernet', '--upload-port', '/dev/ttyACM0'" terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.