ESP8266 Flash Address and boot.bin

When I compile my firmware, does PlatformIO automatically incorporate boot.bin? Because it looks like it is flashing to 0x00000 and that seems to be the address of boot.bin where user1.bin should be in 0x01000.

What framework = .. are we talking about?

That’s an excellent question, and is why you get paid the big money. :slight_smile:

framework = arduino
platform = espressif8266
board = d1_mini
1 Like

Do you mean this ?

So the answer is yes? It joins in the bootloader and creates a bin file inclusive of the bootloader I’m guessing?

The way the firmware is built and linked (or C/C++ too for that matter) is still somewhat mystical to me. :slight_smile:

@valeros could you explain us how does this work?

Hi @lbussy! Yes, the bootloader and the user firmware are merged together and uploaded as a single image.

1 Like

Thank you @valeros. It seemed that way, but I did not want to depend on what I was doing until I knew there was a reason for it.

1 Like