KMKfw / kmk_firmware

Clackety Keyboards Powered by Python
https://kmkfw.zulipchat.com
Other
1.32k stars 458 forks source link

Let copy-compiled remove old mpy files from device #987

Closed xs5871 closed 1 week ago

claycooper commented 2 weeks ago

Are people going to want to selectively copy compiled files? Or does our stance of not mixing and matching modules preclude that?

xs5871 commented 1 week ago

At least boards based on the nice!nano want to strip out unused modules and that is what we have been recommending in the past to get around limited flash. But those wouldn't use the bulk copy with copy-compiled target anyway. Occasionally we remove or rename files. I would consider not cleaning up old "binaries" during an update process a bug, that's the rational.

claycooper commented 1 week ago

I agree with that stance.