Commit Graph

205 Commits

Author SHA1 Message Date
iabdalkader
80e025dcd7 Append .py when saving files
* Fixes issue #41
2015-07-09 06:36:26 +02:00
iabdalkader
9d51051ba8 Return FR_NO_FILE if built-in cascade not found 2015-07-09 04:38:07 +02:00
iabdalkader
6c1d1ede81 Fix IDE boards names 2015-07-09 03:51:00 +02:00
iabdalkader
b18104abec Fix c header cascade 2015-07-09 03:34:18 +02:00
iabdalkader
645070f11e Add c header cascade option 2015-07-09 02:21:04 +02:00
iabdalkader
50e95cf3d5 Cleanup the cascade generator
* Add command line args
* Add cascade name arg
* Add cascade info arg
2015-07-09 00:30:02 +02:00
iabdalkader
66db27c4c0 Add baudrate setting
* Add a baudrate combo selection
* Add baudrate to config file
* Use 921600 in the default config
2015-07-08 03:29:24 +02:00
iabdalkader
182a844cd2 Add FW version command
* Add FW version command to usbdbg.
* Add FW version function to openmv.py
* Check for major version in the IDE.
2015-07-04 03:44:42 +02:00
iabdalkader
0d0086f6b3 Import pydfu on Linux only for openmv module 2015-07-04 01:54:02 +02:00
iabdalkader
f851600d50 Import pydfu on Linux only 2015-07-04 01:51:58 +02:00
iabdalkader
46d2f9db18 Remove usb imports 2015-07-04 01:48:02 +02:00
Ibrahim Abd Elkader
65bb893790 Merge pull request #48 from dhylands/pydfu-improvement
pydfu - minor improvement in list construction.
2015-07-01 23:44:00 +03:00
Dave Hylands
1790d04c87 pydfu - minor improvement in list construction.
This was a change done by @dpgeorge in the micropython tree and
I'm basically migrating back to openmv.
2015-07-01 12:40:09 -07:00
Dave Hylands
2e27055f69 Fix pydfu.py to work with Beta 1 and Beta 2 versions of PyUSB
In PyUSB 1.0.0.b1, the usb.util.get_string function takes a lenght argument.
In PyUSB 1.0.0.b2, it no longer takes a length argument.

Since python2 seems to come with PyUSB 1.0.0.b1 and python3 seems to come
with 1.0.0.b2, this change allows the same source to work with either
version of PyUSB.
2015-06-21 06:41:01 -07:00
iabdalkader
b8273fec98 Update examples 2015-05-05 14:07:05 +03:00
iabdalkader
95e1ef70c2 Show pop-up menu only when cam is connected
* Fixes #35
2015-05-01 05:13:18 +03:00
iabdalkader
26425fa66e Rollback to gtksourceview 2015-04-30 08:11:50 +03:00
iabdalkader
80740ed910 Catch device disconnected except when exiting DFU 2015-04-29 00:01:59 +03:00
iabdalkader
8fef7ee4a9 Add last firmware path to config file 2015-04-28 22:26:18 +03:00
iabdalkader
0354614d8a Use Python2.7 in IDE 2015-04-28 22:16:42 +03:00
iabdalkader
0215a4ad23 Request text buffer only if buf_len > 0 2015-04-28 22:15:47 +03:00
iabdalkader
cbd37fc360 Remove stop script before exec
* No need to send stop before exec anymore
2015-04-28 22:12:32 +03:00
iabdalkader
b9d96dab42 Fix pydfu/libusb issue
* See https://github.com/walac/pyusb/issues/94
2015-04-22 02:28:12 +02:00
iabdalkader
51907dc7cd Set baudrate once when opening port 2015-02-10 07:01:05 +02:00
iabdalkader
754cce406c Implement debugging over CDC 2015-02-08 11:12:24 +02:00
iabdalkader
62a213522d Remove old test script 2015-02-08 10:42:28 +02:00
iabdalkader
38f4ed963d Fix Typo 2015-02-08 07:26:07 +02:00
iabdalkader
f99ae139ad Fix IDE path in py2exe 2014-11-15 08:16:41 +02:00
iabdalkader
903f524a28 Catch except when releasing dev 2014-11-15 03:37:02 +02:00
iabdalkader
35a7cb47f7 Return string COM ports for Windows 2014-11-10 22:55:11 +02:00
iabdalkader
ebb884b174 Set preferences dialog title 2014-11-10 22:50:18 +02:00
iabdalkader
acf0c7b17e Move config file and user scripts to home dir 2014-11-10 22:12:30 +02:00
iabdalkader
02777986c1 Fix warning about disconnected device 2014-11-10 21:59:50 +02:00
iabdalkader
7dfc2f0f24 Add preferences dialog, serial port enumeration 2014-11-10 21:58:41 +02:00
iabdalkader
5f58d6e3d6 Remove QT IDE 2014-11-10 20:44:00 +02:00
iabdalkader
6a0af1f3c3 Use separate configs for cdc/hid and debug
* This is the only solution that works with libusb on Windows
* Soft-disconnect is used to switch between configs
2014-11-10 19:36:34 +02:00
iabdalkader
2ea5a6e639 Use appdirs to manage file paths 2014-11-10 01:36:10 +02:00
iabdalkader
7fa3142d71 Catch except when serial is closed 2014-11-06 15:15:01 +02:00
iabdalkader
40d43a2a8c Add OMV Debug Interface 2014-11-06 15:14:33 +02:00
iabdalkader
874e4b99bb Open serial port after calling openmv.init
* Handle the case where init changes the configuration
2014-11-03 17:00:28 +02:00
iabdalkader
97bf077581 Fix init compatibility with Windows backend 2014-11-02 16:16:42 +02:00
iabdalkader
ad5d2d742d Update tooltips 2014-11-02 16:13:13 +02:00
iabdalkader
b062c8fb68 Fix init compatibility with Windows backend 2014-11-02 15:54:39 +02:00
iabdalkader
cea31c1774 Use one request for locking and header
* Use one request for locking and FB header to save bandwidth
2014-11-01 15:58:52 +02:00
iabdalkader
97bf3d90fe Remove VTE use textview for terminal 2014-10-31 20:45:42 +02:00
iabdalkader
0aaa51bc26 Fix SDRAM part-no
* Issue #29
2014-10-31 19:21:41 +02:00
iabdalkader
46bbb691ca Make get_dfu_devices compatible with pyusb 1.0.0b2 2014-10-31 13:43:18 +02:00
iabdalkader
47806afe4a Update pyusb interface for 1.0.0b2
* Fix issue #30
2014-10-31 13:15:48 +02:00
shimniok@gmail.com
9c3c7b6c53 Modified to take RGB888 from fb_dump() 2014-10-29 09:00:10 -06:00
shimniok@gmail.com
f43c9bdf51 Had to undo automatic detection until we can add a find() into openmv.py 2014-10-29 08:59:51 -06:00