How Do You Specify The Flash Size For An ESP8285

Open
#267 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale

Research direction

Start by locating the ESP8285 board definition and the code or documentation that produces the flash-usage value 761840. Determine how a 2M flash size is specified and what that reported limit represents, then document the supported configuration and explanation in the appropriate PlatformIO documentation.

Written by the indexing model from the issue text.

Description

I've googled and search but I can't seem to find how specify the flash size of an ESP8285. The default is 1M but the DIYMORE ESP8285 board I have has 2M. I tried "board_upload.maximum_size = 2097152" but that doesn't appear to do anything.

Somewhat related, when I upload some code, I get the following: "Flash: [===== ] 50.3% (used 383057 bytes from 761840 bytes)". Where does 761840 come from? That's not 1M.

Dominant language
Python
Stars
288
Forks
361
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from platformio/platformio-docs

All issues in platformio/platformio-docs

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.