As the title says... Chat on...

User avatar
By ThomasW
#5539
alonewolfx2 wrote:i am using this tool and it can combine bin files.

.. and is your esp then working (including file() functions)?

I think using esptool.py the files should be all in one call, e.g.:
$ESPTOOL --port $ESPPORT write_flash \
0x00000 my/eagle.app.v6.flash.bin \
0x10000 my/eagle.app.v6.irom0text.bin \
0x7c000 my/esp_init_data_default.bin \
0x7e000 my/blank.bin

... but in the end, this also results in 16k heap and reboots on most file() functions :(

Thomas
User avatar
By alonewolfx2
#5540
ThomasW wrote:
alonewolfx2 wrote:i am using this tool and it can combine bin files.

.. and is your esp then working (including file() functions)?

I think using esptool.py the files should be all in one call, e.g.:
$ESPTOOL --port $ESPPORT write_flash \
0x00000 my/eagle.app.v6.flash.bin \
0x10000 my/eagle.app.v6.irom0text.bin \
0x7c000 my/esp_init_data_default.bin \
0x7e000 my/blank.bin

... but in the end, this also results in 16k heap and reboots on most file() functions :(

Thomas

its working but file functions not working. zeroday changed somethings and we are waiting fix
User avatar
By zeroday
#5661
alonewolfx2 wrote:
ThomasW wrote:
alonewolfx2 wrote:i am using this tool and it can combine bin files.

.. and is your esp then working (including file() functions)?

I think using esptool.py the files should be all in one call, e.g.:
$ESPTOOL --port $ESPPORT write_flash \
0x00000 my/eagle.app.v6.flash.bin \
0x10000 my/eagle.app.v6.irom0text.bin \
0x7c000 my/esp_init_data_default.bin \
0x7e000 my/blank.bin

... but in the end, this also results in 16k heap and reboots on most file() functions :(

Thomas

its working but file functions not working. zeroday changed somethings and we are waiting fix


hi, firmware build from -ng gcc toolchain, file api not working neither, don't know why...
and nothing changed to xp vm (xtensa toolchain).
User avatar
By RogerClark
#5711 Hi

I just tried running make, using the Lubuntu VM image version supplied by Expressif and I get this error

/opt/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/fcntl.h:31:34: fatal error: xtensa/simcall-fcntl.h: No such file or directory
#include <xtensa/simcall-fcntl.h>
^

which seems to imply that here is something missing from the toolchain :-(

It looks like its in the version here

https://github.com/esp8266/esp8266-wiki/wiki/Toolchain

But I'm a bit loathed to just replace all of my headers

Especially when I"m not sure why any should be missing from the Expressif VM image

I guess perhaps I should post to the compiler thread