kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/spiffsgen_path_on_windows' into 'master'
Fix issue with spiffsgen path when creating image in Windows Closes IDFGH-1095 See merge request idf/esp-idf!4931pull/3486/head
commit
8720a13d0f
|
@ -516,7 +516,7 @@ def main():
|
|||
for root, dirs, files in os.walk(args.base_dir):
|
||||
for f in files:
|
||||
full_path = os.path.join(root, f)
|
||||
spiffs.create_file("/" + os.path.relpath(full_path, args.base_dir), full_path)
|
||||
spiffs.create_file("/" + os.path.relpath(full_path, args.base_dir).replace("\\", "/"), full_path)
|
||||
|
||||
image = spiffs.to_binary()
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue