We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 969f589 commit 6aa1bfeCopy full SHA for 6aa1bfe
src/rp2_common/pico_lwip/tools/makefsdata.py
@@ -24,8 +24,8 @@ def process_file(input_dir, file):
24
content_type = "application/octet-stream"
25
26
# file name
27
- data = f"/{file.relative_to(input_dir)}\x00"
28
- comment = f"\"/{file.relative_to(input_dir)}\" ({len(data)} chars)"
+ data = f"/{file.relative_to(input_dir).as_posix()}\x00"
+ comment = f"\"/{file.relative_to(input_dir).as_posix()}\" ({len(data)} chars)"
29
while(len(data) % PAYLOAD_ALIGNMENT != 0):
30
data += "\x00"
31
results.append({'data': bytes(data, "utf-8"), 'comment': comment});
0 commit comments