-
Notifications
You must be signed in to change notification settings - Fork 42
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
make httpflash error curl: (3) malformed #14
Comments
curl: (3) malformed ,why I'm getting this error? |
Can you add some more info? What do you see on the serial port, what did you set ESPIP to what are you trying to do in general? |
I have cloned this repository and make the project using |
Don't you mean |
Ah, gotcha. The instructions are for the nonos version, which builds a separate html and program binary. You're using the FreeRTOS version, which defaults to a single binary. You should be able to not execute the htmlflash command and get it working anyway. |
kindly guide Im newbie to ESP SDK and Linux thing. How can I get my http webserver on esp8266? im using esp-open-sdk as per this article |
after flashing bin file using
|
Hi, taher143, For httpflash to work under linux you must set ESPIP. An example shell command: After flashing you could get:
from ESP in the debug console.
|
make httpflash gives error
make[1]: Entering directory '/opt/esp-open-sdk/esphttpd/libesphttpd'
AR libesphttpd.a
index.tpl (71%, heatshrink)
wifi/wifi.tpl (55%, heatshrink)
wifi/style.css (73%, heatshrink)
wifi/140medley.min.js (74%, heatshrink)
wifi/icons.png (100%, none)
wifi/connecting.html (61%, heatshrink)
flash/index.html (54%, heatshrink)
flash/style.css (59%, heatshrink)
flash/140medley.min.js (74%, heatshrink)
test/index.html (72%, heatshrink)
test/test.js (38%, heatshrink)
led.tpl (84%, heatshrink)
style.css (78%, heatshrink)
cats/cross-eyed-cat.jpg (100%, none)
cats/kitten-loves-toy.jpg (100%, none)
cats/junge-katze-iv.jpg (100%, none)
websocket/index.html (52%, heatshrink)
make[1]: Leaving directory '/opt/esp-open-sdk/esphttpd/libesphttpd'
AR build/httpd_app.a
Header: 40 bytes, user1: 377908 bytes, user2: 377908 bytes.
curl: (3) malformed
Makefile.ota:93: recipe for target 'httpflash' failed
make: *** [httpflash] Error 3
The text was updated successfully, but these errors were encountered: