aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-110.0.10 beta.0.0.10betaMarti Bolivar
2011-05-11Adding SPI3 definitions for Maple RET6 Edition.Marti Bolivar
2011-05-10Converting all files to UNIX newlines.Marti Bolivar
Committing the results of running the following on the libmaple root directory: $ fromdos `grep --exclude-dir='[.]git' -Ilsr $'\r$' .`
2011-05-09Merge branch 'refactor'Marti Bolivar
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.
2011-05-09Reverting commits between `git merge-head master refactor` and master.Marti Bolivar
This is a combination of 11 revert commits, and allows for a clean merge of the work done in the refactor branch. The combined commit messages follow. Revert "Committing basic ring_buffer test." This reverts commit 987fa5f433e0cd41b1621dad8b4e331cf82d49f3. Revert "qa-slave-shield.cpp and test-session.cpp fixes for Mini and RET6 Edition." This reverts commit cdd367bdd264c9e19180032c119850fbba2115ba. Revert "Brought examples/ up to date; PIN_MAP bugfix for D24." This reverts commit b4c2d4514c6d52cac8a649c5d5c24b68a3c0a416. Revert "Separated GPIO config to a separate FSMC routine." This reverts commit 744848ad0fc33eed66acc44e41c3c9d646c5b100. Revert "Slightly faster RAM writes (6.5MHz)." This reverts commit 8ba0b6bb065acb4aff26bc9c838de5f37515caf1. Revert "FSMC working but slow (~6 MHz)." This reverts commit 0dc9490cf4f4f10a23b08fef1728773f10c1b76a. Revert "Maple Mini ERROR_LED_PIN fix." This reverts commit 07d437706840901db1e09ff0ab88229c67c1fa8a. Revert "Fixing USBSerial::read(void*, uint32) return value (thanks, Crenn!)" This reverts commit 3ba7196712a5bfe4fe1166b6c34d49c3d7254568. Revert "Trivial gpio_init() bugfix" This reverts commit f6ce003bb935f26eeefa54acf7c2ae6afaabd871. Revert "Trivial changes to test-session.cpp" This reverts commit a32a37b121ac7e62660d2a83fe67c857fe705122. Revert ".gitignore: Ignore cscope* files" This reverts commit d8c72c17bd6d7416a0846e69f4f5ae5cb229d58e.
2011-05-06Finally getting rid of __read() and __write().Marti Bolivar
This brings util.h down to some bit manipulation macros, failure routines, and asserts.
2011-05-06IWDG include fixup.Marti Bolivar
2011-05-06Independent watchdog refactor.Marti Bolivar
2011-05-06Updating VGA examples for use with new timer API.Marti Bolivar
2011-05-06Putting updated HardwareTimer back into the build.Marti Bolivar
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.
2011-05-05Documentation link fixes.Marti Bolivar
Fixing some Sphinx error messages.
2011-05-05Renaming "enum ExtIntTriggerMode_" -> "enum ExtIntTriggerMode".Marti Bolivar
Done for consistency the rest of the source. Doesn't affect any documented features.
2011-05-05Doxygen syntax bugfixes.Marti Bolivar
2011-05-05Changing integration date of function in examples/test-timer.cpp.Marti Bolivar
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.
2011-05-04examples/test-spi-roundtrip.cpp now uses SerialUSB instead of Serial2.Marti Bolivar
2011-05-04SPI fixups.Marti Bolivar
Initial post-review changes based on thread here: https://github.com/leaflabs/libmaple/commit/77f707d7b87fce284945fc9fe21c824c18c4c93d#comments
2011-05-04Maple Mini pin map fix.Marti Bolivar
Thanks, Xavier!
2011-05-04Making micros() counter underrun safe.Marti Bolivar
Thanks, ala42!
2011-05-04systick_timer_millis is volatile, not IO-mapped.Marti Bolivar
2011-05-04SerialUSB fixups.Marti Bolivar
2011-05-04Fixing USBSerial::read(void*, uint32).Marti Bolivar
2011-05-04/examples/ cleanups.Marti Bolivar
2011-05-04Native and FSMC cleanups.Marti Bolivar
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.
2011-04-29Adding RCC_SPI3 for high density devices.Marti Bolivar
2011-04-28SPI refactor.Marti Bolivar
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.
2011-04-28boardUsesPin() docs tweak.Marti Bolivar
2011-04-27maple_native.cpp updates/fixes.Marti Bolivar
2011-04-27Trivial test-session.cpp bugfixMarti Bolivar
2011-04-27RET6 fixesMarti Bolivar
2011-04-26Removing Maple-specific values from WirinPinMode doxygen comment.Marti Bolivar
Comment changes only.
2011-04-260.0.10 Documentation checkpoint.Marti Bolivar
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
2011-04-25Fixing usart_putstr() atrocity.Marti Bolivar
2011-04-25Adding rcc_dev_clk(), an accessor for a peripheral's clock line.Marti Bolivar
2011-04-25Better debug port support.Marti Bolivar
- 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.
2011-04-25Trivial pin-definitions.txt updates.Marti Bolivar
No corrections made to the pin definitions themselves.
2011-04-25Docs tweaks.Marti Bolivar
Blocking fixes for 0.0.10; other changes.
2011-04-25Minor Print cleanups.Marti Bolivar
2011-04-25Adding nonblocking USART transmit, usart_tx().Marti Bolivar
Other USART transmission functions are still blocking, but are now implemented in terms of usart_tx().
2011-04-25Minor test-session.cpp fixupMarti Bolivar
2011-04-25gpio.h whitespace cleanup.Marti Bolivar
2011-04-25I2C fixup.Marti Bolivar
Added i2c_init() for consistency with rest of libmaple.
2011-04-250.0.10 documentation checkpoint.Marti Bolivar
Merging in the standalone refactor docs, etc. The individual libmaple API pages are going to need to get redone.
2011-04-21Requiring dac_dev* argument in DAC convenience functions.Marti Bolivar
2011-04-15usart.c comment fixes.Marti Bolivar
License header made 80-column clean. usart_irq() comment for the USART_SAFE_INSERT case made easier to understand.
2011-04-15Making usart.h license header 80-column clean.Marti Bolivar
2011-04-14Unix toolchain docs improvements.Marti Bolivar
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.
2011-04-14Ancillary file cleanups.Marti Bolivar
2011-04-14i2c cleanups.Marti Bolivar
Whitespace and column width changes only.
2011-04-14Moving external interrupts docs to "Hardware Peripherals" index section.Marti Bolivar
2011-04-13Updating Maple Native pins for prototype C.Marti Bolivar