-->
Page 1 of 2

esp-open-sdk problem blinky compilation problem.blinky-0x400

PostPosted: Sun Nov 13, 2016 1:41 pm
by gusa
Hello,

This is my first attempt to build something in an ESP module. I am using esp-open-sdk. I am using this tutorial: https://www.penninkhof.com/2015/03/esp8266-open-sdk/

Basically I am using https://github.com/pfalcon/esp-open-sdk to compile the basic blinking test code it includes. The main problem I have here is that when I type make it just generate blinky-0x00000.bin blinky-0x10000.bin files.

When I type make flash it tries to flash blinky-0x40000.bin that is not created. So it fails to flash.

Could you let me know what I am doing wrong?

Re: esp-open-sdk problem blinky compilation problem.blinky-0

PostPosted: Wed Nov 16, 2016 8:34 am
by davydnorris
Yeah I had same problem - I think the Makefile is for older setups.

I changed the makefile to look for 0x10000 and to flash into 0x10000 and it worked for me after that

Re: esp-open-sdk problem blinky compilation problem.blinky-0

PostPosted: Mon Nov 21, 2016 12:26 am
by algofoogle
I can confirm that the suggestion by davydnorris works for me, for the same problem as reported by gusa.

Here is my altered Makefile that illustrates this: blinky Makefile covering blinky-0x10000.bin instead of blinky-0x40000.bin

I'm not sure yet why there's a difference (or hence how to standardise this), but I suspect it's due to a different ESP8266 SDK version. Does anyone know?

NOTE ALSO: That my Makefile includes the "-lc" option to link the standard C library also (for memchr()). I haven't yet looked into the correct solution for this but I think someone's working on a patch around here...

Re: esp-open-sdk problem blinky compilation problem.blinky-0

PostPosted: Sat Nov 26, 2016 2:06 pm
by CARPP
Do you use the esp open-sdk on linux or windows?