Skip to content

Conversation

earlephilhower
Copy link
Collaborator

The ESP8285H16 is reported to have 2MB of flash, so add an option the
the Generic 8285 board for 2MB.

Fixes #7161

The ESP8285H16 is reported to have 2MB of flash, so add an option the
the Generic 8285 board for 2MB.

Fixes esp8266#7161
@earlephilhower earlephilhower requested a review from d-a-v March 22, 2020 18:16
@d-a-v d-a-v merged commit 1127a09 into esp8266:master Mar 22, 2020
@Fibrino
Copy link

Fibrino commented May 15, 2020

Hello!
Where can I select this option for the ESP8285 generic board with 2MB of flash?

@d-a-v
Copy link
Collaborator

d-a-v commented May 15, 2020

85-2m

@Fibrino
Copy link

Fibrino commented May 15, 2020

I use Visual Studio Code + PlatformIO.
Isn't this view available with this configuration? I was getting crazy!

@d-a-v
Copy link
Collaborator

d-a-v commented May 15, 2020

I showed you the Arduino IDE.
I'm afraid I don't know about @platformio.
They will hopefully answer (@ivankravets @valeros).

@valeros
Copy link
Contributor

valeros commented May 15, 2020

@Fibrino Take a look at this page https://docs.platformio.org/en/latest/platforms/espressif8266.html#flash-size

In a nutshell, you need to specify the correct linker script in your platformio.ini:

board_build.ldscript = eagle.flash.2m64.ld

@Fibrino
Copy link

Fibrino commented May 15, 2020

So I was looking in the right place.
I was hoping there was a menu to select the desired option (as for Arduino) rather than entering it manually.
Thanks so much!

@earlephilhower earlephilhower deleted the esp82852mb branch May 15, 2020 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support ESP8285 (2MB flash)
4 participants