Problems compiling ESP8266 - missing "eagle.app.flash.bin" #5564
Replies: 1 comment
-
Posted at 2016-09-16 by Wilberforce have you tried a What
The last lines output look like:
I'm not sure why you build is failing on the user1 target. Posted at 2016-09-16 by Kolban @wilberforce https://github.com/espruino/Espruino/blob/master/Makefile and we look at lines 1968 and 1982 ... we see two .... later I found the commit that made these changes ... it is this one: as I dug deeper ... the file that is missing ( However, what I find odd is line 1966 of the Makefile which reads:
and this is where my Makefile skills may be leaving me. What does that line do/mean? As far as I can tell it assigns to a variable called Posted at 2016-09-17 by tve If you're compiling using the SDK that comes with the open_sdk toolchain you're gonna have fun... Install the open_sdk without SDK and get & patch the SDK separately. You can also have it simpler by following what in the .travis.yaml file manually...
Posted at 2016-09-17 by Wilberforce The line: This should be generating the
We can set the output to verbose, so you can see what your error is:
This runs the build in verbose mode, so you will be able to see where the error is. In my case I see:
This implies there is something wrong with your python setup. As python is used to build the wrapper files - in your case I would have thought this would have failed earlier. What is your output from ?:
Posted at 2016-09-17 by Kolban With the help of @tve ... it seems that the latest download of the esp-open-sdk brings in the ESP8266 SDK 1.5 release (note that 2.0 is now available). As such, when I tried to build Espruino, it used the ESP8266 SDK 1.5 release. Now, SDK 1.5 supplies a tool called "gen_appbin.py" which is used by the Espruino Make system. Unfortunately, SDK 1.5 added an extra required parameter to that command which, so far, we have been unable to find any documentation upon. The up-shot of this is that attempting to build Espruino against an ESP8266 SDK 1.5 (or later) results in the errors reported at the start of this thread. As a community, we need to decide what we want to do next. My votes would be to attempt to get Espruino working with SDK 2.0 and skip SDK 1.5. This would then mean the following tasks:
Does this sound about right to the community? ... Later ... ... Later still ... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-09-16 by Kolban
I am trying to compile Espurino but it seems to fail right at the end. The last lines in my
make
are:The source is a fresh download of 1v87. I am compiling on Ubuntu Linux using the Xtensa toolchain built from
https://github.com/pfalcon/esp-open-sdk
. It appears that this has pulled in ESP8266 SDK 1.5.The initial debugging I have done is to look through the Makefile to see where "eagle.app.flash.bin" is mentioned. It appears at:
I don't yet know if I am missing an instruction or failed to perform a step (both are possible) or whether there is something "up" with the build recipe. If anyone has any knowledge here, most appreciated.
Beta Was this translation helpful? Give feedback.
All reactions