Esp8266 nonos framework -- esptool upload

2 questions about esp8266 nonos upload:

  1. when using Eclipse, I modified the esptool upload to store my own data at 0xFE000, but on PlatformIO the esptool writes something at this address:
Writing at 0x00030000... (90 %)
Writing at 0x00034000... (100 %)
Wrote 200708 bytes (147493 compressed) at 0x00010000 in 17.4 seconds (effective 92.5 kbit/s)...
Hash of data verified.
Compressed 128 bytes to 75...
Writing at 0x000fc000... (100 %)
Wrote 128 bytes (75 compressed) at 0x000fc000 in 0.0 seconds (effective 81.0 kbit/s)...
Hash of data verified.
Compressed 4096 bytes to 26...
Writing at 0x000fe000... (100 %)
Wrote 4096 bytes (26 compressed) at 0x000fe000 in 0.0 seconds (effective 3910.1 kbit/s)...
Hash of data verified.

What is this, and can I overwrite it?

2). How can I modify the upload script to include writing my own bin file to 0xFE000?


Note that 0xfc000 + 0x2000 = 0xfe000.

You can use an extra_script to further append to this variable with your own data, or modify the content of that variable so that instead of blank.bin it takes your file.

Another note is that the esp8266-nonos-sdk version used in PlatformIO is so outddated, it should not be used.

Thanks, Max.

(I’m not having any problems with the nonos version, except that I had to clean up a few references to .h files initially)