Commit Graph

152 Commits

Author SHA1 Message Date
iabdalkader
6136bd04e1 Try to connect a few times before giving up.
* Fixes the connect button hang issue.
2016-03-11 03:37:35 +02:00
iabdalkader
596cdf527c Lower the text buffer polling rate. 2016-03-02 04:02:27 +02:00
iabdalkader
c4c25c70d9 Fix Enable/Disable JPEG 2016-02-19 18:10:04 +02:00
iabdalkader
7f9e95fdd5 Add enable/disable JPEG to preferences dialog. 2016-02-18 05:10:10 +02:00
iabdalkader
05144b63b1 Make the IDE handle older FW versions. 2016-02-06 20:10:16 +02:00
iabdalkader
b61ac5f067 Display the correct IDE version. 2016-02-06 19:32:02 +02:00
iabdalkader
eb97a51183 Fix the ABI version to avoid breaking older IDE's 2016-02-06 19:19:55 +02:00
iabdalkader
51390c9326 Update version mismatch error 2016-02-06 18:07:09 +02:00
iabdalkader
cf641af6b0 Add command to return script running flag.
* Return script running flag to disable/enable execute and stop buttons.
* Up ABI version
2016-02-06 17:59:52 +02:00
iabdalkader
cc312c3a53 Draw the last frame when fb is not ready. 2016-02-06 16:11:30 +02:00
iabdalkader
fc2a5bb1c7 Use python2 to run openmv.py, pydfu.py and openmv-ide.py 2015-10-03 23:53:03 +02:00
iabdalkader
8fd4ea6d16 Add pinout dialog to Help menu. 2015-10-01 23:51:00 +02:00
iabdalkader
f45128955f Move serial port opening to openmv.py 2015-09-27 23:41:25 +02:00
iabdalkader
29cbe8dc12 Add About Dialog. 2015-09-25 23:53:08 +02:00
iabdalkader
8f747b518d Fix IDE tag name 2015-09-24 01:00:45 +02:00
iabdalkader
9398ae0248 Add check for update
* Add check for latest release in IDE.
2015-09-23 05:04:55 +02:00
iabdalkader
4c065fac6e Fix menuitems underscores
* Issue #36
2015-09-14 03:00:30 +02:00
iabdalkader
e81e6d189e Fix style/lang search path 2015-09-11 07:03:10 +02:00
iabdalkader
b03a77a80e Append IDE directory to style search paths 2015-09-11 07:00:45 +02:00
iabdalkader
80259c7071 List Mac OS X ttys 2015-09-08 23:04:04 +02:00
iabdalkader
e04f7ec0fb Disable built-in DFU on Windows 2015-08-14 16:06:42 +02:00
iabdalkader
29af37cb93 Load helloworld.py on start up 2015-08-13 23:14:08 +02:00
iabdalkader
5c0e6b8710 Increase serial timeout 2015-08-04 10:41:33 +02:00
iabdalkader
be82b952c3 Use timeout_add to lower CPU usage 2015-08-04 10:34:01 +02:00
iabdalkader
730348f98c Use gtk main_quit instead of sys.exit 2015-07-31 15:18:59 +02:00
iabdalkader
ccc4de8488 Revert to numpy 2015-07-31 15:18:41 +02:00
iabdalkader
c866827e1b Add bundle dir 2015-07-28 20:17:13 +02:00
iabdalkader
c91ff380ce Check udev file when connecting. 2015-07-18 14:19:33 +02:00
iabdalkader
d691482385 Update connection failure message 2015-07-16 08:16:49 +02:00
iabdalkader
9234a04f68 Fix typo 2015-07-12 04:15:31 +02:00
iabdalkader
80e025dcd7 Append .py when saving files
* Fixes issue #41
2015-07-09 06:36:26 +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
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
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
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
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
f99ae139ad Fix IDE path in py2exe 2014-11-15 08:16:41 +02:00
iabdalkader
35a7cb47f7 Return string COM ports for Windows 2014-11-10 22:55:11 +02:00
iabdalkader
acf0c7b17e Move config file and user scripts to home dir 2014-11-10 22:12:30 +02:00
iabdalkader
7dfc2f0f24 Add preferences dialog, serial port enumeration 2014-11-10 21:58:41 +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
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
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
356fbaf904 Remove numpy dependency 2014-10-22 09:05:24 +02:00
iabdalkader
b40f537a70 Move np reshape to openmv.py 2014-10-19 17:52:12 +02:00
iabdalkader
b44fb48c7f Create default config from IDE 2014-10-16 07:13:59 +02:00
iabdalkader
d6f527e87f Catch exception when opening invalid file. 2014-10-14 20:01:01 +02:00
iabdalkader
e6fe67c7b5 Keep track of last uploaded binary 2014-10-05 03:10:55 +02:00
iabdalkader
70c251761f Add recent files menu 2014-10-05 03:06:26 +02:00
iabdalkader
77aef90607 Clear firmware update dialog before running 2014-10-05 02:10:24 +02:00
iabdalkader
30f586fe4a Hide Firmware update dialog on exit 2014-10-05 02:06:53 +02:00
iabdalkader
1ee8b4170c Remove old DFU cmd and fw path 2014-10-05 02:00:34 +02:00
iabdalkader
a1699f5f3b Use configparser to store/load configuration 2014-10-05 01:59:08 +02:00
iabdalkader
4bb1d3fc3f Use built-in Python DFU-util 2014-10-03 03:33:00 +02:00
iabdalkader
58ea8be932 Merge branch 'fwupdate' 2014-09-27 21:28:08 +02:00
iabdalkader
a819be7b80 Add Firmware Update from IDE 2014-09-27 21:16:47 +02:00
iabdalkader
f726e6b56b Sort examples 2014-09-27 12:27:18 +02:00
shimniok@gmail.com
9618f383ea Implemented DFU bootloader widget in UI, enabled handler, wrote handler to call bootloader in openmv. 2014-09-26 11:39:13 -06:00
iabdalkader
858c23b922 Update window title to show connected status 2014-09-25 19:47:35 +02:00
iabdalkader
d84985b5ef Add scripts dir
* Use for open/save user scripts
2014-09-25 19:32:11 +02:00
iabdalkader
a347081ee4 More cleanups
* Move control buttons to list
2014-09-25 19:23:54 +02:00
iabdalkader
b9b1eee93e Cleanup open/new/save/save_as 2014-09-25 19:12:59 +02:00
iabdalkader
7a1628480c Disable save button after saving 2014-09-25 18:35:08 +02:00
iabdalkader
99a4595e13 Add Examples submenu
* File->Examples lists all examples in ide_path/examples
2014-09-25 18:21:36 +02:00
Michael Shimniok
5e95efdac5 Modified udev rules to symlink openmvcam for serial; modified openmv-ide.py to open openmvcam symlink 2014-09-25 03:32:36 -06:00
iabdalkader
8467c67f06 Add System Reset Command
* Add sys reset to USBDBG and IDE
2014-09-25 03:37:00 +02:00
iabdalkader
c3306f2d05 Handle no device attached
* Fix issue #9
2014-09-23 15:51:06 +02:00
iabdalkader
392e613d3d Make IDE Handle Disconnect/Connect Gracefully
* Fix issue #10
2014-09-23 15:40:51 +02:00
iabdalkader
0d5f8ef1b9 Fix IDE GUI freeze 2014-09-20 01:37:51 +02:00
iabdalkader
7bb8bef8a1 Add Update FB Command 2014-09-10 22:22:50 +02:00
iabdalkader
7be9f51eb7 Add Zoom In/Out 2014-09-10 19:11:46 +02:00
iabdalkader
c70960d17e Add save descriptor from ROI 2014-09-10 18:59:34 +02:00
iabdalkader
5a66fd714b Upate FB every 80ms 2014-09-01 16:37:11 +02:00
iabdalkader
ef772ffc0a Move update callback to idle function 2014-08-20 21:19:07 +02:00
iabdalkader
16a69c7b08 Use gobject.timeout_add to schedule redraw 2014-06-30 03:48:40 +02:00
iabdalkader
f15aaae0f7 Update OpenMV module/ide
* Update commands
* Minor UI fixes
* Set screen size in openmv-fb
2014-06-25 19:52:08 +02:00
iabdalkader
b5587adc65 Add sensor controls 2014-06-21 09:41:27 +02:00
iabdalkader
01505510e7 Add UI path 2014-06-20 15:29:24 +02:00
iabdalkader
e8a44ae066 Update IDE
* Add save template
* Misc UI fixes
2014-06-19 23:12:32 +02:00
iabdalkader
e24da17ba3 Use INTERP_BILINEAR for scaling function 2014-05-02 22:07:08 +02:00
iabdalkader
a0adf6417a Scale IDE Image 2014-05-02 20:15:49 +02:00
iabdalkader
264d06aa7b Set filename as window title 2014-03-22 19:44:33 +02:00
iabdalkader
2adb1881bf Update IDE
* Add scroll windows
* Fix save as singal
2014-03-08 03:24:07 +02:00
iabdalkader
953624b3e1 Save/load last opened script 2014-03-07 23:57:25 +02:00
iabdalkader
0553daf50d Add file open/save/save as support 2014-03-07 22:11:49 +02:00
iabdalkader
7891a89723 Use pendsv exception to interrupt running code 2014-02-23 03:37:46 +02:00
iabdalkader
0256dbf01f Add color selection and fix layout
* Add color selection with mouse click
* Fix layout to center the framebuffer
2014-02-21 01:42:28 +02:00
iabdalkader
ab87906cac Update userspace apps
* Move rgb conversion to openmv module
* Add frame size function to openmv module
* Use new USBDBG commands
2014-02-13 02:16:24 +02:00
iabdalkader
4c2545fddf Update example script 2014-02-11 01:48:54 +02:00
iabdalkader
5ea84e8c20 Move openmv code to separate python module
* Add openmv module which has USB debug functions
* Update IDE and FB viewer to use openmv module
2014-02-10 03:14:14 +02:00