-
Notifications
You must be signed in to change notification settings - Fork 3
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
make littleflash a submodule #1
Comments
Should be good now. Let me know if it doesn't work as you wanted. |
Thanks, but I think there some recursion hell going on.
that file is at Maybe is there not allowed to be multiple components with the same name? (there are 2 levels of extflash) |
Hmmm, I wonder why it failed there. I've attached a directory listing showing the tree I tested it in and it built fine. I suspect it's because I have an "extflash" in the httpd/components directory. I don't believe the littlefs/components/extflash fella is used when you're using this sort of hieirarchy. |
Did you happen to do the "git submodule init/update" in the littleflash directory? I set up a clean tree and didn't do the "init/update" in the littleflash directory and littleflash/components/extflash was not pulled down, so it wouldn't pollute your tree with too much extra stuff. |
Oh, I did not add extflash to my first-level components directory (since I wasn't planning to use it).
|
Sorry I didn't realize your port was in C++. |
Yes, that would be about the only way. But, it should work just fine. You might have a few minor issues to address.
Or you could break out the littlefs code you have in “main” into a separate .cpp file and then have your main code call that.
|
Would you please split this up so I can include just the littleflash part in my ESP-IDF project as a git submodule?
I.e. just like you did with extflash.
I want to include it in my PR chmorgan/esphttpd-freertos#12 but the maintainer doesn't want any duplicated code, just submodules.
The text was updated successfully, but these errors were encountered: