Skip to content
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

makefsdata - PERL program doesn't find any file inside fs folder #2

Open
cmarcante opened this issue Sep 22, 2022 · 1 comment
Open

Comments

@cmarcante
Copy link

cmarcante commented Sep 22, 2022

Thanks, your example is very good and unique.
I'm working with pi pico with C and Windows 10 (Spanish version).

I have problems with the file "my_fsdata.c" the the content is
#define FS_ROOT file
#define FS_NUMFILES 0

It means, no file was found and an error was reported by the cmake.
->FIND: formato de parámetros incorrecto<- or "FIND wrong parameter format".

I have the files from your example, into the project.
\src\fs\index.html
\src\fs\ssi.shtml
The Perl file is running from \src\external

The PERL version is : This is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x64-multi-thread

The find line is:
chdir("fs");
open(FILES, "find . -type f |");

Please, do you know which can be the problem into this PERL file ?
Thanks Carlos

@krzmaz
Copy link
Owner

krzmaz commented Sep 23, 2022

Hi Carlos! Thank you for the interest in the project! Your problems are connected to the makefsdata script not being compatible with windows.
You can see #1 for more details about it.
You can try using @rspeir fork and the python script, or run this project inside Windows subsystem for Linux.
I'm planning to publish a pull request for the lwIP project making the perl script platform agnostic, but haven't found the time to do that yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants