-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
cleanup/unify flash sector size define value #5327
Conversation
Further rework is possible to unify eboot defines as well, but that should be done separately. |
@d-a-v you've dabbled with sdk updates. Does this factoring out make sense? I'm worried about migrating to a newer sdk. Maybe this should be a patch or something? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per this comment
/* Definitions are placed in eboot. Include them here rather than duplicate them.
* Also, prefer to have eboot standalone as much as possible and have the core depend on it
* rather than have eboot depend on the core.
*/
then should spi_flash_geometry.h
go to eboot ?
There are three code pieces involved: eboot, the sdk, and our core, and all three had duplicate definitions in one way or the other. The sdk comes from Espressif and could be updated, eboot is hosted by us and is not included in the sdk, and our core is our own.
From the above, the flash geometry must be in the sdk. If I were to put them in eboot, the sdk would depend on eboot, which we don't want. |
Any further comments? Feel free to destroy my thinking above. |
Given that there are no further comments, and in the interest of moving forward, I'm merging this as-is. Any issues that arise from updating the sdk in the future will be handled at that time. |
Fixes #2421
Replaces #4509