microupload.py, receives path strings.
When the string path has subdirs, a back-slash ('\') separator is seen in Windows. The path is not created in the target if this is the case..
Replacing the separator to use posix paths solves the issue,
Proposed solution in PR #86.
Note: only tested with the mentioned setup
Flashing a Pycharm project with multiple subdirectories. Flashing fails writing subdirs content due to OSError: [Errno 2] ENOENT :
setup:
microupload.py, receives path strings. When the string path has subdirs, a back-slash ('\') separator is seen in Windows. The path is not created in the target if this is the case.. Replacing the separator to use posix paths solves the issue,
Proposed solution in PR #86. Note: only tested with the mentioned setup