Add flash mapping defines at compile time by d-a-v · Pull Request #6813 · esp8266/Arduino · GitHub
Skip to content

Add flash mapping defines at compile time#6813

Closed
d-a-v wants to merge 2 commits into
esp8266:masterfrom
d-a-v:flashmappingdefines
Closed

Add flash mapping defines at compile time#6813
d-a-v wants to merge 2 commits into
esp8266:masterfrom
d-a-v:flashmappingdefines

Conversation

@d-a-v

@d-a-v d-a-v commented Nov 19, 2019

Copy link
Copy Markdown
Collaborator

This let user code to take actions (like checking mapping) at compile time
defines example: -DEEPROMSTART=0x3FB000 -DFSSTART=0x200000 -DFSEND=0x3FA000 -DFSBLOCKSIZE=8192
Addresses are relative to SPI start address wich is 0x40200000

Fixes #6806 @sprior

This let user code to take actions (like checking mapping) at compile time
defines example: -DEEPROMSTART=0x3FB000 -DFSSTART=0x200000 -DFSEND=0x3FA000 -DFSBLOCKSIZE=8192
Addresses are relative to SPI start address wich is 0x40200000
@sprior

sprior commented Nov 20, 2019

Copy link
Copy Markdown

d-a-v added a commit to d-a-v/Arduino that referenced this pull request Nov 23, 2019
@d-a-v

d-a-v commented Nov 23, 2019

Copy link
Copy Markdown
Collaborator Author

@d-a-v d-a-v closed this Nov 23, 2019
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.

[feature request] It would be nice to have the Arduino IDE add a #define for the configured flash size

2 participants