Samuel Sadok
96cbe69f8a
Various DFU fixes
...
- make DFU script compatible with Python 2
- include permissions for DFU mode VID:PID in udev rules (these rules,
when missing, would result in `ValueError: The device has no langid`)
- fix `IndexError: list index out of range` that occurred when the
device was already in DFU mode
- fix `UnboundLocalError: local variable 'do_backup_config' referenced
before assignment` when DFU was started after the device was already
in DFU mode
2020-08-31 13:03:48 +02:00
samuelsadok
1d29893e8b
Merge pull request #10 from RoCkaZ/master
...
Only set new timeout if it is different from the old one
2020-06-02 19:19:59 +02:00
Samuel Sadok
2b38ce7513
fix python2 compatibility
...
String literal interpolation is not supported by Python < 3.6
2020-05-26 20:12:42 +02:00
Samuel Sadok
81f8dd2fe9
Show udev hint when USB access is denied
2020-05-26 20:10:09 +02:00
Samuel Sadok
e58e9ac257
clarify documentation on CRC calculation
2020-05-20 19:15:01 +02:00
Samuel Sadok
d3a864785d
remove spurious line change
2020-04-24 11:13:11 +02:00
Samuel Sadok
ff544bfc19
simplify JSON caching logic, make JSON cache ID opaque, remove spurious changes
2020-04-24 11:06:53 +02:00
Adam Munich
5e3d8693c9
Update shell.py
...
fix broken exceptionhandler
2020-04-24 11:06:53 +02:00
Adam Munich
0e1ee833d2
Update discovery.py
...
added entropy
2020-04-24 11:06:53 +02:00
Ben Wang
1445d3531a
refactor fiber cache
2020-04-23 17:49:12 +02:00
Adam Munich
3b4d2a5d34
Update discovery.py
...
store string directly
2020-04-23 17:49:12 +02:00
Adam Munich
4fc9f7e3fe
Update discovery.py
...
fixd
2020-04-23 17:49:12 +02:00
Adam Munich
f7eadfeb3b
Update discovery.py
...
fxd
2020-04-23 17:49:12 +02:00
Oskar Weigl
1e9e647941
backwards compatible with old firmware
2020-04-23 17:49:12 +02:00
Oskar Weigl
f6eacd7ae4
implement fetching of json crc on discovery
2020-04-23 17:49:12 +02:00
Oskar Weigl
50d06576b7
Merge pull request #390 from madcowswe/find-multiple
...
Find multiple
2019-12-10 22:09:25 -08:00
Oskar Weigl
c8c6f6237c
finish implementing basic ACIM control
2019-09-22 23:27:40 -07:00
Oskar Weigl
e64f934af8
change find multiple to count required odrives instead of fixed timeout
2019-04-22 22:10:59 -07:00
Oskar Weigl
088b8f876b
allow expected timeout
2019-04-19 00:15:06 -07:00
Oskar Weigl
ac6bf28109
add find multiple option
2019-04-18 21:22:28 -07:00
Oskar Weigl
e1f17c5590
odrivetool locals
2018-11-24 22:16:04 -08:00
Josh Marshall
48218b4182
Merge branch 'master' into py27compat
2018-09-07 14:18:33 +10:00
Oskar Weigl
cf9cf854a4
added a timeout retry to send path in python protocol
2018-08-18 22:14:54 -07:00
Josh Marshall
b8d0337b6c
Python 2.7 compatibility
2018-07-23 17:07:18 +10:00
Oskar Weigl
424e3c9ac1
Merge branch 'master' into devel
2018-07-01 01:11:58 -07:00
Oskar Weigl
eb07260c3e
fix odrive_demo.py
2018-07-01 00:22:03 -07:00
Oskar Weigl
a9b03dd4df
Merge branch 'devel' into powerwheels
2018-06-21 21:41:36 -07:00
Nathan Kau
2d7069d22c
fix timeout error code for macOS
2018-06-20 14:08:17 -07:00
Samuel Sadok
621f9521a8
remove install-time PySerial dependency and don't fail if installed as non-root
2018-06-18 11:54:41 +02:00
Oskar Weigl
3e230b645a
fix shell printing
2018-06-08 20:41:11 -07:00
Oskar Weigl
2b0164af74
clean up fiber port
2018-06-08 20:18:47 -07:00
Oskar Weigl
6ff4445770
Merge branch 'devel' into sam_fibre
...
Conflicts:
Firmware/Tupfile.lua
Firmware/fibre/cpp/include/fibre/protocol.hpp
Firmware/fibre/python/fibre/discovery.py
Firmware/fibre/python/fibre/usbbulk_transport.py
tools/odrive/dfu.py
tools/odrive/shell.py
tools/odrive/utils.py
tools/odrivetool
2018-06-08 19:30:21 -07:00
Samuel Sadok
6290e538d7
add setup.py to publish fibre on PyPI
2018-05-15 13:07:34 -07:00
Samuel Sadok
55d5d2a632
allow setting interactive shell variables, fix some warnings
2018-05-14 00:59:55 -07:00
Samuel Sadok
0caac7bdad
move updated ODrive python protocol library to Fibre
2018-05-13 23:58:43 -07:00
Samuel Sadok
f08e9a1d39
Merge commit 'ad3db5ff117039e17721b6371291044b8eb1309a' as 'Firmware/fibre'
2018-05-13 18:53:12 -07:00