Skip to content

Add flash mapping defines at compile time#6813

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

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

Conversation

@d-a-v
Copy link
Collaborator

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

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
Copy link

sprior commented Nov 20, 2019

Looks good, thanks for implementing.

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

d-a-v commented Nov 23, 2019

closed and included by #6690

@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