aboutsummaryrefslogtreecommitdiff
path: root/support/scripts
AgeCommit message (Collapse)Author
2013-04-21Make a quick reset script.Donald Delmar Davis
2012-08-22reset.py: Not every Unix is Linux.Marti Bolivar
Move the sysfs tests for Maple out of unix_get_maple_path() and into a new linux_get_maple_path(). This prevents unnecessary probing for a nonexistent /sys on e.g. OS X. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-08-22Improve Maple device detection in reset.py on LinuxDavid Kiliani
Adds a function to lookup the USB vendor & product id from the udev info in the sysfs tree. This removes invalid choices and reduces user queries for the correct ttyACM device. Signed-off-by: David Kiliani <mail@davidkiliani.de>
2012-08-20reset.py fixups for OS X 10.8.Marti Bolivar
As discussed on this forum thread: http://forums.leaflabs.com/topic.php?id=2451 Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-07-20reset.py: Remove advisory for 64-bit Linux.Marti Bolivar
We test on that platform now, and it does work. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-07-13Add win-list-com-ports.py.Marti Bolivar
Utility for listing COM ports available on the system. Taken from Eli Bendersky. Signed-off-by: Marti Bolivar <mbolivar@lozenge.(none)>
2012-06-28reset.py: Use the real print function (requires Python 2.6+).Marti Bolivar
Use "from __future__ import print_function" so the recent py3k compatibility patches to reset.py preserve the old output in Python 2. This increases our minimum Python version to 2.6, but avoids ugly output Python 2, where print statements with a tuple argument print the tuple with parentheses etc. Python 2.6 came out almost four years ago, and it's widely available: - even on older Linux distros (e.g. Ubuntu 10.04 and Debian Squeeze have 2.6 default at time of writing), - on OS X since 10.6, - and Windows users will probably be installing from python.org anyway, so they've likely got a reasonably recent vintage. Dropping 2.5 support thus doesn't seem likely to cause problems. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-06-28 ventosus
Make the reset script work for both python2 and python3 Make the reset script work for both python2 and python3 by putting brackets around print statements and properly encoding the string sent with ser.write Signed-off-by: Hanspeter Portner <agenthp@users.sf.net>
2012-06-07Move OpenOCD stuff into contrib/.Marti Bolivar
This has gone unmaintained for long enough. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-04-11copy-to-ide: Remove references to libcs3_stm32_*_density.a.Marti Bolivar
These no longer exist. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2011-10-07reset.py: Hackishly silence DeprecationWarning.Marti Bolivar
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2011-09-26Add Windows support to DFU installation tools.Marti Bolivar
Tweak Makefile further for cs-make on Windows. Add Windows support to support/scripts/reset.py Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2011-09-13Update support/scripts/copy-to-ide.v0.0.12Marti Bolivar
Oh, copy-to-ide. I long for your death.
2011-06-11Remove reST documentation, attendant updates.Marti Bolivar
The documentation covers topics not specifically relevant to libmaple, so it doesn't make sense for it to be part of the libmaple source distribution. Delete the docs/ tree, and prepare libmaple for use with the new leaflabs-docs repo, which will contain the docs from now on. * README: update to reflect this change * support/doxygen/Doxyfile: This is the old docs/Doxyfile * Makefile: Add a doxygen target * wirish/comm/HardwareSerial.h: fix reference to docs/. The comment informing maintainers that the HardwareSerial interface is documented by hand refers to the docs/ tree, which no longer exists. Update it to refer to the separate leaflabs-docs repository. * support/scripts/copy-to-ide: No longer build the documentation
2011-05-27openocd: Add missing filePerry Hung
Forgot openocd support script in 0e5eb75c80bd8036bf85bfe0cce09d1fce56f50a.
2011-03-30Hacks to get things to compile in the IDE.Marti Bolivar
2011-03-16Maple RET6 edition supportMarti Bolivar
2011-01-13updating copy-to-ide script for more convenient IDE compilationMarti Bolivar
2010-12-150.0.9 release.0.0.9Marti Bolivar
Made some changes to Servo to get it to compile from within the IDE. Also fixed a lurking broken link in the docs.
2010-12-15Finalized 0.0.9 documentation.Marti Bolivar
2010-09-17Improve reset reliability on OS X.Perry Hung
The USB reset scheme on OS X is unreliable. Adding a little bit of sleep seems to make it much more reliable. This will probably do until we get a chance to rewrite the USB stack and redo the whole auto-reset scheme...
2010-09-02changes to copy-to-ide for portable branchbnewbold
2010-08-29Toolchain improvementsMarti Bolivar
Updated Makefile to read the directory where libmaple is from the environment variable LIBMAPLE_PATH, if it exists, defaulting to the current working directory otherwise. Updated reset.py to look around in /dev for the Maple serial port, prompting the user if there appear to be multiple possibilities and complaining if there aren't any.
2010-08-29fix reset.py to work on OS X,; .gitignore leaves out ~ files; cleanupMarti Bolivar
support/make/build-rules.mk
2010-07-09latest greatest udev rulebnewbold
2010-06-10osx reset script changesbnewbold
2010-06-10new reset scheme, compatbile with oldbnewbold
2010-06-09added a somewhat broken version of the reset magic number scheme.AJM
current version gets stuck in the isr somewhere. not sure why or where. must debug.
2010-06-09first approach at modding the reset schemeAJM
now we reset from recv bytes. After receiving the DTR/RTS toggle the next byte in from usb is parsed as the program_delay. For now, this just delays the reset for a period to close the serial port gracefully. Later, this delay will perhaps inform the bootloader of how long to live for...
2010-06-04fixed copy-to-ide linker stuffbnewbold
2010-06-04updated TODO, copy-to-idebnewbold
2010-05-28fix botched merge from linker-refactorPerry Hung
2010-05-28Moved reset script to support directoryPerry Hung
For kicks.
2010-05-28udev rule symlinkPerry Hung
new udev rule, adds a symlink to /dev/maple