Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flash mapping defines at compile time #6813

Closed
wants to merge 2 commits into from

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