Commit Graph

56 Commits

Author SHA1 Message Date
David Betz 8582bbc752 Factored out the port handling code that interfaces to osint_xxx.c.
There is still some work to do to handle use_reset_method().
Started work on a program to read/write eeprom. Not working yet.
2015-02-19 22:00:12 -05:00
David Betz a3ae2034ba Make -r the default. 2015-02-12 16:53:26 -05:00
David Betz e26e3ec25c Make sure either -r or -e is specified with a program to load.
Check that the program isn't too big for hub memory.
2015-02-12 06:47:05 -05:00
David Betz 75632e6c75 Add help for the GPIO defaults. 2015-02-10 17:10:44 -05:00
David Betz a0b34a4bea Remove some debugging output. 2015-02-10 16:55:23 -05:00
David Betz 790876834c Remove a useless comment. 2015-02-09 21:03:08 -05:00
David Betz 093f46ea3a Increase the TX buffer to be big enough to fit an entire hub image. 2015-02-09 20:34:05 -05:00
David Betz 7596a4165b Fix an ugly bug in a call to set_reset_method. 2015-02-08 20:39:53 -05:00
David Betz b090d89c70 Make reset=gpio,17,0 the default for the RaspberryPi. 2015-02-08 20:35:58 -05:00
David Betz e5a0d5eb8c First tagged version. 2015-02-08 15:30:47 -05:00
dbetz 5864fd3db2 Merge pull request #3 from bweir/master
Added support for dynamic versioning; added gitignore for bin directory.
2015-02-08 15:21:30 -05:00
Brett Weir 3834573f5e Added support for dynamic versioning; added gitignore for bin directory. 2015-02-08 11:30:29 -08:00
David Betz f905a46461 More tweaking of the serial setup for Linux. 2015-02-08 11:57:18 -05:00
David Betz 8468c9dc49 Switch to simpler terminal settings. 2015-02-08 11:52:12 -05:00
David Betz 8f11a1678a Move some code to a better location. 2015-02-08 10:02:05 -05:00
David Betz 7c04cce7d9 Fixup the status output a bit. 2015-02-08 09:56:42 -05:00
David Betz 7f4f8c7fd4 Fix formatting of some error messages. 2015-02-08 09:18:23 -05:00
David Betz 88fe22e85b Add a readme.txt file with build instructions. 2015-02-08 08:46:58 -05:00
David Betz 843324389c Update the version number. 2015-02-08 08:43:43 -05:00
David Betz 4c554c2243 Remove the total size parameter from the progress callback. 2015-02-08 08:29:52 -05:00
David Betz cfec83ceb6 Add callbacks for load phases to get rid of the use of printf in ploader.c. 2015-02-08 08:21:46 -05:00
David Betz 082e1636a8 Add code to check the success of EEPROM write and verify. 2015-02-07 22:49:50 -05:00
David Betz 60d4399cd7 Fix a problem with setting the baud rate in osint_mingw.c. 2015-02-07 20:39:10 -05:00
David Betz 8e9fc22304 Fix a bug in setting the baud rate in osint_linux.c.
Need to make a similar change to osint_mingw.c next.
2015-02-07 20:34:40 -05:00
David Betz d71d7e7395 Fix the mingw build by adding the serial_baud function to osint_mingw.c. 2015-02-07 09:40:01 -05:00
David Betz bfd131d38b Moved a new version of osint_mingw.c from the propeller-load project but still needs serial_baud() function to work.
Started adding some better comments in ploader.c.
2015-02-03 08:45:38 -05:00
David Betz 808ba62a7b Fix a bug in the MinGW Makefile settings. 2015-02-02 10:34:29 -05:00
David Betz 0aca2d822b Try to get rid of "unused parameter" errors from the osint callback functions. 2015-02-01 12:37:55 -05:00
David Betz c396afe80b Improve parsing of gpio option. 2015-01-27 21:49:45 -05:00
David Betz 0f6f058d9f Remove GPIO as the default on the RaspberryPi because of initialization problems. 2015-01-27 21:42:07 -05:00
David Betz d494eba116 Go back to the newer version of osint_linux.c 2015-01-27 20:55:10 -05:00
David Betz 198c52d00f Try an older version of osint_linux.c 2015-01-27 20:48:18 -05:00
David Betz bc4bf23d18 Ugh. Another typo. 2015-01-27 20:17:01 -05:00
David Betz 35cdda6f38 Fix a typo. 2015-01-27 20:15:30 -05:00
David Betz d6be69d288 Add some better debugging output to the gpio code. 2015-01-27 20:12:25 -05:00
David Betz 71be8a8b74 More prefix fixes. 2015-01-27 20:06:05 -05:00
David Betz 30bb4bb40c More work on port defaults. 2015-01-27 20:03:46 -05:00
David Betz 0173024bec Fix the port default for the RaspberryPi. 2015-01-27 19:55:31 -05:00
David Betz 4e1dbe2bb6 Setup some useful defaults for the RaspberryPi. 2015-01-27 19:49:42 -05:00
David Betz df1907fbea Minor reordering of serial port setup. 2015-01-27 18:22:38 -05:00
David Betz b3512b52de Add a -D option to set internal variables and add a the "reset" variable to set the reset method. 2015-01-27 17:41:41 -05:00
David Betz 331c85f4f3 Yet another typo. :-( 2015-01-27 17:10:16 -05:00
David Betz ec0d325120 Fixed a typo. 2015-01-27 17:08:12 -05:00
David Betz f6173c5bdc More work on GPIO reset for the RaspberryPi. 2015-01-27 17:06:44 -05:00
David Betz 6292d3a2e7 Restore the default GPIO pin to 17 as it was in Heater's code. 2015-01-27 09:14:25 -05:00
David Betz 33e361a354 Add a macro to determine which GPIO pin to use. 2015-01-27 09:11:29 -05:00
David Betz 9959b123d2 Cleanup the Makefile. 2015-01-26 23:06:40 -05:00
David Betz dff1df30bc Add instructions for building the RaspberryPi loader. This is still untested. 2015-01-26 22:41:00 -05:00
David Betz d5b5b31e98 Add the GPIO handling code for the RaspberryPi. Still need to integrate RaspberryPi into the Makefile. 2015-01-26 22:23:43 -05:00
David Betz 6adc7f3c1e Add GPIO reset support for the RaspberryPi. 2015-01-26 22:14:34 -05:00