| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-09-30 | py: Remove IOError since it's deprecated; use OSError instead. | Damien George | |
| In CPython IOError (and EnvironmentError) is deprecated and aliased to OSError. All modules that used to raise IOError now raise OSError (or a derived exception). In Micro Python we never used IOError (except 1 place, incorrectly) and so don't need to keep it. See http://legacy.python.org/dev/peps/pep-3151/ for background. | |||
| 2014-09-27 | Fix timer overflow code. | Dave Hylands | |
| Teensy doesn't need to worry about overflows since all of its timers are only 16-bit. For PWM, the pulse width needs to be able to vary from 0..period+1 (pulse-width == period+1 corresponds to 100% PWM) I couldn't test the 0xffffffff cases since we can't currently get a period that big in python. With a prescaler of 0, that corresponds to a freq of 0.039 (i.e. cycle every 25.56 seconds), and we can't set that using freq or period. I also tested both stmhal and teensy with floats disabled, which required a few other code changes to compile. | |||
| 2014-09-17 | stmhal: Fix bugs in documentation so it compiles. | Damien George | |
| 2014-09-07 | Remove skeletal modselect from extmod and just put it in stmhal. | Damien George | |
| 2014-09-07 | stmhal: Fix modselect so non-hashable objects can be polled. | Damien George | |
| 2014-09-07 | stmhal: Add polling ability to UART object. | Damien George | |
| 2014-09-07 | stmhal: Implement generic select.select and select.poll. | Damien George | |
