Getting the error

I'm getting following error on arduino IDE:

/usr/local/bin/arduino-cli compile --fqbn esp32:esp32:esp32doit-devkit1:DebugLevel=none,FlashFreq=80,UploadSpeed=921600 --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/568862994/build --build-path /tmp/arduino-build-8339931FB8AA70A11159A82F2120A7AA --library /mnt/create-efs/webide/13/e8/13e89aac54e7d22b04665ae02741cfff:farhan74/libraries_v2/SimpleTimer --library /mnt/create-efs/webide/13/e8/13e89aac54e7d22b04665ae02741cfff:farhan74/libraries_v2/TimerOne /tmp/568862994/button_test_aug16a

Sketch uses 952626 bytes (72%) of program storage space. Maximum is 1310720 bytes.

Global variables use 41384 bytes (12%) of dynamic memory, leaving 286296 bytes for local variables. Maximum is 327680 bytes.

In file included from /tmp/568862994/button_test_aug16a/button_test_aug16a.ino:27:0:

/home/builder/.arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/Wire/src/Wire.h: In function 'void mpu_read()':

/home/builder/.arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/Wire/src/Wire.h:102:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int, int)

uint8_t requestFrom(int address, int size, int sendStop);

^

/home/builder/.arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/Wire/src/Wire.h:97:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint16_t, uint8_t, bool)

uint8_t requestFrom(uint16_t address, uint8_t size, bool sendStop);

^

/home/builder/.arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/Wire/src/Wire.h:102:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int, int)

uint8_t requestFrom(int address, int size, int sendStop);

^

/home/builder/.arduino15/packages/esp32/hardware/esp32/1.0.6/libraries/Wire/src/Wire.h:97:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint16_t, uint8_t, bool)

uint8_t requestFrom(uint16_t address, uint8_t size, bool sendStop);

^

Upload started

Programming with: Serial

Flashing with command:C:/Users/hp/.arduino-create/esp32/esptool_py/3.0.0/esptool.exe --chip esp32 --port COM9 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 C:/Users/hp/AppData/Local/Temp/extrafiles176899786/tools/partitions/boot_app0.bin 0x1000 C:/Users/hp/AppData/Local/Temp/extrafiles176899786/tools/sdk/bin/bootloader_dio_80m.bin 0x10000 C:/Users/hp/AppData/Local/Temp/arduino-create-agent657710423/button_test_aug16a.bin 0x8000 C:/Users/hp/AppData/Local/Temp/extrafiles176899786/button_test_aug16a.partitions.bin

usage: esptool write_flash [-h] [--erase-all]

[--flash_freq {keep,40m,26m,20m,80m}]

[--flash_mode {keep,qio,qout,dio,dout}]

[--flash_size FLASH_SIZE]

[--spi-connection SPI_CONNECTION] [--no-progress]

[--verify] [--encrypt]

[--ignore-flash-encryption-efuse-setting]

[--compress | --no-compress]

<address> <filename> [<address> <filename> ...]

esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'C:/Users/hp/AppData/Local/Temp/arduino-create-agent657710423/button_test_aug16a.bin'

The actual error message seems to be missing, but from the notes that follow, I guess that the requestFrom function call could not be resolved.

The ESP32 implementation is probably compatible with the standard one, so you could have a look at the documentation, or you could have a look at one of the examples.

Then your IDE is installed and working correctly, and so you should not have posted in this section of the forum. There are warnings. Don't do that again. I'll move your post to a more appropriate section.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.