mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 20:24:32 +02:00
fix spiffsgen.py wrong path delimiter on windows
This commit is contained in:
committed by
Renz Christian Bagaporo
parent
ef49c41e15
commit
867ea68d5a
@@ -516,7 +516,7 @@ def main():
|
|||||||
for root, dirs, files in os.walk(args.base_dir):
|
for root, dirs, files in os.walk(args.base_dir):
|
||||||
for f in files:
|
for f in files:
|
||||||
full_path = os.path.join(root, f)
|
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()
|
image = spiffs.to_binary()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user