aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Converting all files to UNIX newlines.Marti Bolivar2011-05-1033-4362/+4362
| | | | | | | Committing the results of running the following on the libmaple root directory: $ fromdos `grep --exclude-dir='[.]git' -Ilsr $'\r$' .`
* Merge branch 'refactor'Marti Bolivar2011-05-09328-10934/+18654
|\ | | | | | | | | | | | | | | | | | | | | This merges the libmaple refactor work into master. The contents of libmaple proper (/libmaple/) are almost completely incompatible with previous APIs in master. See /docs/source/libmaple/overview.rst for more information on the new design. Wirish incompatibilities are limited to the HardwareTimer class; however, there are several new deprecations, most likely to be removed in 0.1.0.
| * Finally getting rid of __read() and __write().Marti Bolivar2011-05-061-8/+1
| | | | | | | | | | This brings util.h down to some bit manipulation macros, failure routines, and asserts.
| * IWDG include fixup.Marti Bolivar2011-05-061-0/+1
| |
| * Independent watchdog refactor.Marti Bolivar2011-05-062-38/+88
| |
| * Updating VGA examples for use with new timer API.Marti Bolivar2011-05-062-29/+31
| |
| * Putting updated HardwareTimer back into the build.Marti Bolivar2011-05-067-762/+500
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Documentation link fixes.Marti Bolivar2011-05-055-18/+25
| | | | | | | | Fixing some Sphinx error messages.
| * Renaming "enum ExtIntTriggerMode_" -> "enum ExtIntTriggerMode".Marti Bolivar2011-05-051-1/+1
| | | | | | | | | | Done for consistency the rest of the source. Doesn't affect any documented features.
| * Doxygen syntax bugfixes.Marti Bolivar2011-05-053-3/+8
| |
| * Changing integration date of function in examples/test-timer.cpp.Marti Bolivar2011-05-051-1/+1
| | | | | | | | | | | | | | It would be nice to have something like a timer_set_period() in libmaple proper that takes the period and the clock rate as parameters, much the same as usart_set_baud_rate() does. No time for that now, though, so punt to 0.1.0.
| * examples/test-spi-roundtrip.cpp now uses SerialUSB instead of Serial2.Marti Bolivar2011-05-041-46/+43
| |
| * SPI fixups.Marti Bolivar2011-05-044-83/+47
| | | | | | | | | | | | Initial post-review changes based on thread here: https://github.com/leaflabs/libmaple/commit/77f707d7b87fce284945fc9fe21c824c18c4c93d#comments
| * Maple Mini pin map fix.Marti Bolivar2011-05-041-1/+1
| | | | | | | | Thanks, Xavier!
| * Making micros() counter underrun safe.Marti Bolivar2011-05-041-10/+7
| | | | | | | | Thanks, ala42!
| * systick_timer_millis is volatile, not IO-mapped.Marti Bolivar2011-05-042-2/+2
| |
| * SerialUSB fixups.Marti Bolivar2011-05-049-99/+67
| |
| * Fixing USBSerial::read(void*, uint32).Marti Bolivar2011-05-041-3/+3
| |
| * /examples/ cleanups.Marti Bolivar2011-05-0411-112/+91
| |
| * Native and FSMC cleanups.Marti Bolivar2011-05-047-106/+31
| | | | | | | | | | | | | | Got rid of native_sram.h (and native_sram.cpp), and pushed their functionality into maple_native.cpp. Fixed includes in maple_native.h. Fixed includes in fsmc.h.
| * Adding RCC_SPI3 for high density devices.Marti Bolivar2011-04-292-0/+2
| |
| * SPI refactor.Marti Bolivar2011-04-2812-426/+1389
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Still a polling driver, but the libmaple proper interface exposes enough that users enable the various interrupts and define their own IRQ handlers if they feel like it. Wirish HardwareSPI interface was largely redone; it's more like the Arduino implementation now, although there are some differences when I didn't like their API. The old methods are still there, but are deprecated and slated for deletion in 0.1.0. New board-specific values: BOARD_NR_SPI, BOARD_SPIx_NSS_PIN, BOARD_SPIx_MOSI_PIN, BOARD_SPIx_MISO_PIN, and BOARD_SPIx_SCK_PIN, for x from 1 to BOARD_NR_SPI. Documentation was updated appropriately.
| * boardUsesPin() docs tweak.Marti Bolivar2011-04-281-3/+3
| |
| * maple_native.cpp updates/fixes.Marti Bolivar2011-04-271-9/+9
| |
| * Trivial test-session.cpp bugfixMarti Bolivar2011-04-271-1/+1
| |
| * RET6 fixesMarti Bolivar2011-04-273-6/+21
| |
| * Removing Maple-specific values from WirinPinMode doxygen comment.Marti Bolivar2011-04-261-11/+0
| | | | | | | | Comment changes only.
| * 0.0.10 Documentation checkpoint.Marti Bolivar2011-04-26113-1113/+1301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The vast majority of the Maple-specific values have been pulled out of the higher-level overview pages and replaced with refs into documents under /docs/source/hardware/. Much of the work that's left to be done in this regard is labeled with versioned TODO and FIXME comments. Suggestions from StephenFromNYC and gbulmer were incorporated from this forum thread: http://forums.leaflabs.com/topic.php?id=703
| * Fixing usart_putstr() atrocity.Marti Bolivar2011-04-251-1/+1
| |
| * Adding rcc_dev_clk(), an accessor for a peripheral's clock line.Marti Bolivar2011-04-252-8/+23
| |
| * Better debug port support.Marti Bolivar2011-04-2515-108/+347
| | | | | | | | | | | | | | | | | | | | | | - gpio.h: afio_mapr_swj_config() renamed afio_cfg_debug_ports() - [new] wirish_debug.h: disableDebugPorts(), enableDebugPorts() - Maple, Maple Native, and Maple RET6 PIN_MAPs are now larger by 5, have mappings for the extra JTAG/SW pins. Documentation was updated appropriately.
| * Trivial pin-definitions.txt updates.Marti Bolivar2011-04-251-5/+2
| | | | | | | | No corrections made to the pin definitions themselves.
| * Docs tweaks.Marti Bolivar2011-04-253-5/+7
| | | | | | | | Blocking fixes for 0.0.10; other changes.
| * Minor Print cleanups.Marti Bolivar2011-04-252-5/+5
| |
| * Adding nonblocking USART transmit, usart_tx().Marti Bolivar2011-04-252-23/+42
| | | | | | | | | | Other USART transmission functions are still blocking, but are now implemented in terms of usart_tx().
| * Minor test-session.cpp fixupMarti Bolivar2011-04-251-4/+3
| |
| * gpio.h whitespace cleanup.Marti Bolivar2011-04-251-1/+0
| |
| * I2C fixup.Marti Bolivar2011-04-252-4/+14
| | | | | | | | Added i2c_init() for consistency with rest of libmaple.
| * 0.0.10 documentation checkpoint.Marti Bolivar2011-04-2550-337/+1507
| | | | | | | | | | Merging in the standalone refactor docs, etc. The individual libmaple API pages are going to need to get redone.
| * Requiring dac_dev* argument in DAC convenience functions.Marti Bolivar2011-04-213-61/+87
| |
| * usart.c comment fixes.Marti Bolivar2011-04-151-15/+18
| | | | | | | | | | License header made 80-column clean. usart_irq() comment for the USART_SAFE_INSERT case made easier to understand.
| * Making usart.h license header 80-column clean.Marti Bolivar2011-04-151-14/+16
| |
| * Unix toolchain docs improvements.Marti Bolivar2011-04-142-155/+168
| | | | | | | | | | | | | | Folded information in the README about the library Makefile target into docs/source/unix-toolchain.rst. Added a pointer to the JTAG HOWTO page on the wiki. Made some other miscellaneous cleanups, updates and improvements.
| * Ancillary file cleanups.Marti Bolivar2011-04-147-379/+17
| |
| * i2c cleanups.Marti Bolivar2011-04-142-91/+90
| | | | | | | | Whitespace and column width changes only.
| * Moving external interrupts docs to "Hardware Peripherals" index section.Marti Bolivar2011-04-141-1/+1
| |
| * Updating Maple Native pins for prototype C.Marti Bolivar2011-04-132-109/+110
| |
| * Adding examples/test-print.cpp.Marti Bolivar2011-04-131-0/+181
| | | | | | | | | | This uses templates, which I don't like, but it's not going into the core library, so I'm okay with it for now.
| * Compromise Print implementation.Marti Bolivar2011-04-122-42/+117
| | | | | | | | | | | | | | | | | | | | | | The users really hated the code size requirements for an snprintf()-based Print implementation, but I really hated how bad the old implementation was. Revised version fixes bugs related to printing 64-bit values and has some improved behavior when it comes to printing doubles. Now, instead of happily printing garbage values when large doubles are printed, we try printing "<large double>" or "-<large double>" (depending on sign) when the argument is too big for the old strategy to accommodate.
| * Reverting "Rewrote Print class."Marti Bolivar2011-04-124-235/+167
| | | | | | | | This reverts commit 8bd3cebbee62e2dd7e961b149cc8bb0e980eaf88.