Skip to content

Cant upload via OTA #1

Open
Open
@BernH4

Description

@BernH4

I have the following output:

FQBN       is [esp8266:esp8266:nodemcuv2]
IOT_NAME   is [esp8266]
OTA_PORT   is [8266]
OTA_PASS   is [test123]
V          is [1]
VFLAG      is [-v]
MAKE_DIR   is [/home/bs/projects/arduino/ota_test]
BUILD_DIR  is [build/esp8266.esp8266.nodemcuv2]
SRC        is [ota_test.ino]
HDRS       is [credentials.h]
BIN        is [build/esp8266.esp8266.nodemcuv2/ota_test.ino.bin]
SERIAL_DEV is [/dev/ttyUSB0]
PLAT_PATH  is [/home/bs/.arduino15/packages/esp8266/hardware/esp8266/2.7.3]
PY_PATH:   is [/home/bs/.arduino15/packages/esp8266/tools/python3/3.7.2-post1]
IOT_IP:    is [192.168.178.26]
BINFILE:   is []
---> Uploading Over The Air
Usage: espota.py [options]

espota.py: error: -f option requires 1 argument
make: *** [Makefile:140: ota] Error 2

This is probably because BINFILE is empty. Honestly its my first time dealing with makefiles but i think it cant find the binary.
Should that BUILD_DIR Variable be a Path? I dont know where that directory is, compiled files still seem to go to /tmp with filename 'arduino-sketch-7EBEE2342ADEAE4BF5085414967AF1EC'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions