igrr / mkspiffs

Tool to build and unpack SPIFFS images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make error windows - help please

zafrirron opened this issue · comments

$ make dist
mkdir -p spiffs_t
cp spiffs/src/.h spiffs_t/
cp spiffs/src/
.c spiffs_t/
rm -rf spiffs_t/.git
rm -f spiffs_t/.DS_Store
ls -1 spiffs_t > out.list0
touch spiffs_t/.DS_Store
mkdir -p spiffs_t/.git
touch spiffs_t/.git/foo
./mkspiffs -c spiffs_t -s 0x100000 -p 512 -b 0x2000 out.spiffs_t | sort | sed s/^\/// > out.list1
./mkspiffs -u spiffs_u -s 0x100000 -p 512 -b 0x2000 out.spiffs_t | sort | sed s/^\/// > out.list_u
./mkspiffs -l -s 0x100000 -p 512 -b 0x2000 out.spiffs_t | cut -f 2 | sort | sed s/^\/// > out.list2
diff --strip-trailing-cr out.list0 out.list1
1,7d0
< spiffs.h
< spiffs_cache.c
< spiffs_check.c
< spiffs_gc.c
< spiffs_hydrogen.c
< spiffs_nucleus.c
< spiffs_nucleus.h
make: *** [Makefile:130: test] Error 1

Can you please run cat out.list0 and cat out.list commands and post the output?

Sorry, I just broke my environment ... after reinstalling mingw32)
(diff not found error..)
.

Okay, closing for now, please reopen if you can supply more info.