Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant upload via OTA #1

Open
BernH4 opened this issue May 16, 2021 · 0 comments
Open

Cant upload via OTA #1

BernH4 opened this issue May 16, 2021 · 0 comments

Comments

@BernH4
Copy link

BernH4 commented May 16, 2021

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant