platformio / platformio/platformio-docs

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.

Dominant language
Python
Stars
285
Forks
357
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

No contributing guide indexed for this repository

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.