aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/HardwareTimer.h
Commit message (Collapse)AuthorAgeFilesLines
* Putting updated HardwareTimer back into the build.Marti Bolivar2011-05-061-257/+173
| | | | | | | | | | | | | | | HardwareTimer was removed from the build when the timer refactor was done; this redoes it in terms of the new timer.h interface. A variety of conflicting or badly designed bits were deprecated or removed. I'm still not satisfied with this interface, as it's going to make life difficult moving forward to high-density chips, where the addition of basic timers means that the capture/compare methods won't apply in some cases. However, we need to get 0.0.10 out the door, so it'll have to do for now. The docs are up to date, and contain a warning that the Wirish API isn't stable and a recommendation to use libmaple proper.
* Cleaned out libmaple.h; this had wide-ranging implications.Marti Bolivar2011-02-271-1/+1
| | | | | | | | | | | | | | | | | | | Many of the #defines in libmaple.h were board-specific, not MCU-specific. Most of these were only used by code under libmaple/usb/. These were moved into usb_config.h, and are clearly marked as being terrible hacks. I'm going to treat the USB stack as a black box that we'll deal with later. Further, instead of having a variety of #defines like "How many USARTS do I have?", we decide that based on the density of the chip. This is determined by testing for STM32_MEDIUM_DENSITY or STM32_HIGH_DENSITY defines. libmaple currently doesn't support low-density chips, so that suffices. The Makefile will set these automatically based on the MCU. Other offending #defines are ERROR_LED_PORT and ERROR_LED_PIN; these were made optional, but they're set in the Makefile as a hack to keep things working.
* Finalized 0.0.9 documentation.Marti Bolivar2010-12-151-28/+41
|
* Servo library tested and debugged.Marti Bolivar2010-12-081-58/+118
| | | | | Some additional HardwareTimer methods introduced to make this convenient; ancillary libmaple/timers.h changes resulted.
* maple mini runs blinky now.Marti Bolivar2010-10-221-11/+274
| | | | still need usb descriptors to improve, and also nothing else is tested.
* wirish reformatted and code-styledMarti Bolivar2010-09-261-31/+31
|
* timer refactor (c, not c++)bnewbold2010-09-051-10/+0
| | | | also removed an old ASSERT()
* Further wirish portability progressbnewbold2010-08-311-0/+14
| | | | Sort of ugly changes. Compiles but untested.
* wirish implementation of timers plus testbnewbold2010-07-201-0/+73