micropython/tools
Dave Hylands 01d64914c5 stmhal: Fix USB CDC-only mode under Windows.
This fix adds PIDs 9801 and 9802 to the pybcdc.inf file.

When in CDC only mode, it presents itself as a Communcations
device rather than as a composite device. Presenting as a
composite device with only the CDC interface seems to confuse
windows.

To test and make sure that the correct pybcdc.inf was being used,
I used USBDeview from http://www.nirsoft.net/utils/usb_devices_view.html
to uninstall any old pyboard drivers (Use Control-F and search
for pyboard). I found running USBDeview as administrator worked best.

Installing the driver in CDC+MSC mode first is recommended (since the
pybcdc.inf file in on the internal flash drive). Then when you switch
modes everything seems to work properly.

I used https://github.com/dhylands/upy-examples/blob/master/boot_switch.py
to easily switch the pyboard between the various USB modes for testing.
2015-10-09 00:18:01 +01:00
..
tinytest tools: check-in errordeveloper/tinytest@eb2dbc858f 2014-05-08 01:41:21 +03:00
.gitattributes micropython-upip: Mark as binary file and re-commit. 2015-06-06 23:09:23 +03:00
.gitignore tools: check-in errordeveloper/tinytest@eb2dbc858f 2014-05-08 01:41:21 +03:00
bootstrap_upip.sh bootstrap_upip.sh: Allow to install into a path given by argument. 2015-05-29 22:35:45 +03:00
build-stm-latest.sh tools: Add STM32F4DISC and ESPRUINO_PICO to stmhal build script. 2015-04-21 13:16:41 +00:00
codestats.sh tools: Add codestats.sh to compute code statistics such as size, speed. 2015-06-03 15:38:43 +00:00
dfu.py Change dfu.py to be Python 2/3 compatible 2014-01-03 08:51:02 +02:00
file2h.py tools: Fix up pybcdc.inf generation: new lines and hex digits. 2014-04-16 11:45:52 +01:00
gen-changelog.sh tools: Make gen-changelog.sh print more lines from the tag annotation. 2015-08-11 13:50:40 +01:00
gendoc.py tools: Make gendoc.py able to output RST format. 2014-10-31 01:36:11 +00:00
insert-usb-ids.py stmhal: Fix USB CDC-only mode under Windows. 2015-10-09 00:18:01 +01:00
make-frozen.py tools/make-frozen.py: Use Python2-compatible shebang. 2015-07-06 14:48:29 +03:00
micropython-upip-0.5.8.tar.gz tools: Upgrade upip to 0.5.8. 2015-09-13 09:49:09 +03:00
pip-micropython pip-micropython: Add deprecation notice, but still leave for reference. 2015-06-13 21:39:57 +03:00
pyboard.py tools: Make pyboard.py Python2 compatible. 2015-08-08 13:03:08 +01:00
pydfu.py tools: Fix pydfu.py to work with old and new versions of PyUSB 2015-07-06 09:56:12 -07:00
tinytest-codegen.py qemu-arm: Disable inline asm tests that use floating point. 2015-04-19 15:50:24 +01:00