You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Damien George
5327cd1021
tools/pyboard.py: Use '/' exclusively when dealing with paths.
Currently, certain mpremote filesystem operations can fail on Windows due
to a mixing of '/' and '\' for path separators. Eg if filesystem_command()
is called with a destination that ends in / then dest.endswith(os.path.sep)
will return False, which gives the wrong behaviour (it does end in a path
separator).
For similar reasons to 7e9a15966a
, it's best
to use '/' everywhere in pyboard.py and mpremote, because the target device
understands only '/'. mpremote already does this, so the remaining place
to fix it is in pyboard.y, to convert all incoming paths to use '/' instead
of '\'.
This effectively reverts 57fd66b80f
which
tried to fix the problem in a different way.
See also related 1f84440538
.
Signed-off-by: Damien George <damien@micropython.org>
2 years ago
..
autobuild
tools/autobuild: Create .uf2 file for seeed_xiao_nrf52.
2 years ago
mpremote
tools/mpremote: Use hatch to build mpremote package.
2 years ago
.gitattributes
micropython-upip: Mark as binary file and re-commit.
10 years ago
.gitignore
tools: check-in errordeveloper/tinytest@eb2dbc858f6c3785468a96e98f2b944f10013163
11 years ago
cc1
tools: Add C middle-processor to make builtin tables proper hash tables.
9 years ago
ci.sh
tools/ci.sh: Add unix, stm32 and rp2 ports to code size check.
2 years ago
codeformat.py
shared/tinyusb: Further refactor static USB device implementation.
2 years ago
codestats.sh
tests,tools: Update path to unix micropython executable.
2 years ago
dfu.py
tools/dfu.py: Make tool work with python3 when parsing DFU files.
3 years ago
file2h.py
all: Reformat C and Python source code with tools/codeformat.py.
5 years ago
gen-changelog.sh
Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc.
9 years ago
gen-cpydiff.py
all: Keep msvc build output in build/ directories.
2 years ago
insert-usb-ids.py
ports: Rename USBD_VID/PID config macros to MICROPY_HW_USB_VID/PID.
3 years ago
makemanifest.py
tools/makemanifest.py: Fix printing of mpy_cross.CrossCompileError.
2 years ago
manifestfile.py
tools/manifestfile.py: Replace recursive glob with os.walk.
2 years ago
metrics.py
unix/variants: Remove variant suffix from executable filename.
2 years ago
mpy-tool.py
tools/mpy-tool.py: Initialize line_info_top.
2 years ago
mpy_bin2res.py
tools/mpy_bin2res: Tools to convert binary resources to Python module.
7 years ago
mpy_cross_all.py
all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE.
3 years ago
mpy_ld.py
py/persistentcode: Introduce .mpy sub-version.
2 years ago
pyboard.py
tools/pyboard.py: Use '/' exclusively when dealing with paths.
2 years ago
pydfu.py
all: Update Python formatting to latest Black version 21.12b0.
3 years ago
tinytest-codegen.py
py/formatfloat: Format all whole-number floats exactly.
2 years ago
uf2conv.py
tools/uf2conv.py: Update to latest version.
3 years ago
uf2families.json
tools/uf2conv.py: Update to latest version.
3 years ago
uncrustify.cfg
tools: Add note about uncrustify versions.
2 years ago
verifygitlog.py
tools/verifygitlog.py: Add additional help for subject line issues.
2 years ago