-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Update Kconfig.projbuild to fix LittleFS selective compilation #9684
Conversation
Fix selective compilation to include LittleFS library when checked in menu.
👋 Hello monte-monte, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
@monte-monte thanks for the fix! Please sign the CLA in order to make this mergeable |
@me-no-dev done. |
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]
|
Fix selective compilation to include LittleFS library when checked in menu.
By completing this PR sufficiently, you help us to review this Pull Request quicker and also help improve the quality of Release Notes
Checklist
This entire section above can be deleted if all items are checked.
Description of Change
Updating Kconfig.projbuild to fix LittleFS inclusion during selective compilation. There is a mismatch in names in Kconfig.projbuild and CMakeLists.txt. The latter is using correct notation
LittleFS
as the library folder is named, but in Kconfig the option is using allcaps notationLITTLEFS
. This results in LittleFS library not being included even when it is selected inInclude only specific Arduino libraries
menu. By default CMake includes all libraries not checking for their respective menu options, thus this bug was missed.Tests scenarios
Tested on 3.0.0RC3 with ESP32-C3. Checked in menuconfig
Arduino Configuration > Include only specific Arduino libraries > Enable FS > Enable LittleFS