mkspiffs
mkspiffs copied to clipboard
Add support for excluding files when building images
Hi everyone,
I've put together a change to allow for the exclusion of files duging the creation of SPIFFS images. I wondering if people would find it useful.
My main concern with this change is the introduction of a dependency on the fnmatch
function. For MinGW, I found an implementation in libiberty.a (I couldn't find a declaration in any of the header files I have though so I added one manually). However, I don't have easy access to other platforms, so assuming this change is desirable, I'd need help figuring out that dependency on other platforms as well. Due to this, I'm marking this PR as a draft for now.
Let me know what you think.
Thanks.