-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
fix(component): Do not undefine PSRAM in ESP-IDF #10502
Conversation
👋 Hello me-no-dev, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 56 files 56 suites 4m 9s ⏱️ Results for commit de815f4. ♻️ This comment has been updated with latest results. |
@P-R-O-C-H-Y you will need to keep in mind this new configuration in boards.txt |
@me-no-dev Will this may break existing Platformio boards.json manifests?
|
@Jason2866 it will definitely break things. Will brainstorm some more |
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
Currently if Arduino is used as ESP-IDF component,
CONFIG_PSRAM
will always get undefined due to the fact thatBOARD_HAS_PSRAM
is not defined. This PR attempts to mitigate this problem by always defining (to 0 or 1)BOARD_HAS_PSRAM
when in Arduino and when in ESP-IDF, to defineBOARD_HAS_PSRAM
based onCONFIG_PSRAM
Fixes: #10500