ctag-fh-kiel / ctag-tbd

CTAG TBD >>to be determined<< an extendible open source Eurorack sound module
Other
141 stars 43 forks source link

build: add spiffs storage build dependency, fix cmake include for Win… #11

Closed georgik closed 3 years ago

georgik commented 3 years ago

Here you can find suggested correction for issue with spiffsgen https://github.com/espressif/esp-idf/issues/6429 The fix in main CMakeLists.txt contains dependency on targets which performs copy. Without the dependency it might happen that files are not copied before spiffs_create partition is invoked or it could be invoked when files are just partially copied. This can be simulated just by running Windows build on slow single core computer.

The correction in components/network/CMakeLists.txt remove unnecessary include which causes problem when building on Windows, because of incorrectly escaped backslash in the path. Since the include is not necessary it can be removed.