1.1 --- a/upload.py Tue Jan 20 23:22:12 2015 +0100
1.2 +++ b/upload.py Tue Jan 20 23:23:33 2015 +0100
1.3 @@ -1,5 +1,23 @@
1.4 #!/usr/bin/env python
1.5
1.6 +"""
1.7 +A ROM upload utility for the Arduino-Am29F010 interface.
1.8 +
1.9 +Copyright (C) 2015 Paul Boddie <paul@boddie.org.uk>
1.10 +
1.11 +This program is free software; you can redistribute it and/or modify it under
1.12 +the terms of the GNU General Public License as published by the Free Software
1.13 +Foundation; either version 3 of the License, or (at your option) any later
1.14 +version.
1.15 +
1.16 +This program is distributed in the hope that it will be useful, but WITHOUT ANY
1.17 +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1.18 +PARTICULAR PURPOSE. See the GNU General Public License for more details.
1.19 +
1.20 +You should have received a copy of the GNU General Public License along
1.21 +with this program. If not, see <http://www.gnu.org/licenses/>.
1.22 +"""
1.23 +
1.24 from serial import Serial
1.25 from time import sleep
1.26 import sys