aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Coding standard.Marti Bolivar2011-04-121-4/+6
| | | | Fixes for github .rst display.
* Fixing brain-damaged abs() implementation.Marti Bolivar2011-04-121-1/+1
|
* Reverting some "volatile" -> "__io" changes.Marti Bolivar2011-04-122-2/+2
| | | | See https://github.com/leaflabs/libmaple/commit/c57d760676b97a0fc9cb51db99c8400bae2cb3b7#commitcomment-338822
* Making 1c05ac8497222a12a675ba31564e7c4864107de9 comply with coding standard.Marti Bolivar2011-04-121-6/+5
| | | | Whitespace corrections only.
* Adding i2c2 and i2c fast modeAnton Eltchaninov2011-04-124-15/+48
| | | | Signed-off-by: Anton Eltchaninov <anton.eltchaninov@gmail.com>
* Changing usages of "volatile" to "__io".Marti Bolivar2011-04-125-7/+9
|
* Adding guards for negative nvic_irq_num enumerators.Marti Bolivar2011-04-121-0/+6
| | | | | nvic_irq_enable() and nvic_irq_disable() previously didn't protect against negative arguments.
* Doxygen bugfixes.Marti Bolivar2011-04-128-11/+23
| | | | Fixed various Doxygen comment errors.
* Coding standard.Marti Bolivar2011-04-111-2/+2
|
* Merging in changes from 0.0.9-maintenance.Marti Bolivar2011-04-112-6/+14
|
* DMA checkpoint; dma_attach_interrupt() is broken.Marti Bolivar2011-04-115-148/+921
| | | | | | Simple USART receiver to SRAM buffer demo partially working. Interrupting when buffer is full fails mysteriously. GDB thinks we ended up in an STM32 reserved exception.
* Resolving some FIXMEs.Marti Bolivar2011-04-114-26/+17
|