Skip to content

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

@cmarcante

Description

@cmarcante

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions