-
Notifications
You must be signed in to change notification settings - Fork 67
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
LittleFS not re-built when files in data
dir change
#1364
Comments
Could you please doublecheck if it works as expected if you replace this line:
by env.AddPostAction("buildprog", esp32_create_combined_bin) |
Sorry for not getting back to you sooner. I was AFK over the weekend, merely skimmed some of the notifications, and I did not see this one yet. I came back here to note: "Probably fixed by ecb5e9c". Seeing your request I tested it, but unfortunately, changes to files in the
Given the approach you suggest, I asked ChatGPT about it. The code it produced was unusable, as is often the case, but there was a pointer, as is also often the case: This works as expected ( from SCons.Script import AlwaysBuild
AlwaysBuild(env.AddPostAction("buildprog", esp32_create_combined_bin)) |
You are right. Will add it with the next release. |
What happened?
When only changing files in the
data
dir, the newly created firmware image is the same as in the build before.To Reproduce Bug
Change a file in
data
but only that file, then rebuild firmware.Expected Behavior
LittleFS image is re-built and integrated into new firmware image.
Install Method
Self-Compiled
What git-hash/version of OpenDTU-OnBattery?
1234
What firmware variant (PIO Environment)?
generic_esp32s3_usb
Relevant log/trace output
No response
Anything else?
No response
Please confirm the following
The text was updated successfully, but these errors were encountered: