aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Adding delay_us() TODO.Marti Bolivar2011-04-111-0/+2
|
* USART bugfix.Marti Bolivar2011-04-113-11/+14
| | | | | USART refactor commit f6f9a1122706ed336c52c984d76219dee0594487 only worked for USART1.
* Adding button test to examples/test-session.cpp.Marti Bolivar2011-04-111-1/+21
|
* Coding standard tweaks.Marti Bolivar2011-04-111-2/+5
| | | | It's mostly ready for inclusion in the main body of documentation.
* Coding standard updates.Marti Bolivar2011-04-081-63/+201
| | | | Added some content, converted document to .rst.
* Documentation improvements.Marti Bolivar2011-04-082-42/+75
| | | | | | | Simplified and clarified "flashing your own bootloader" documentation. Also made Windows 7 IDE workaround link directly to the forum post with the workaround, instead of the start of the thread.
* stm32loader.py prints more information about what it's doing.Marti Bolivar2011-04-081-6/+5
|
* Adding CLOCK_SPEED_MHZ and CLOCK_SPEED_HZ as derived board-specific values.Marti Bolivar2011-04-082-2/+21
|
* Trivial main.cpp.example cleanup.Marti Bolivar2011-04-081-2/+3
|
* USART fixups.Marti Bolivar2011-04-081-2/+2
| | | | | | | * usart_enable(): Doxygen comment bugfix. * usart_disable(): previously, usart_disable() would nuke the entire CR1 register just to clear the UE bit.
* Coding standard tweaks.Marti Bolivar2011-04-071-6/+6
|
* Timer tweaks.Marti Bolivar2011-04-072-92/+90
|
* Renaming some nvic_irq_num enumerators for better readability.Marti Bolivar2011-04-072-20/+20
|
* Coding standard updates.Marti Bolivar2011-04-071-22/+38
|
* USART refactor.Marti Bolivar2011-04-078-320/+582
|
* Updated coding standard.Marti Bolivar2011-04-061-6/+8
|
* SysTick refactor.Marti Bolivar2011-04-054-57/+82
| | | | | | | | For the changelog: * util.h is free of __read(), __write(), etc. macros. * systick_resume() was renamed systick_enable().
* NVIC and SCB refactorMarti Bolivar2011-04-057-208/+232
|
* ring_buffer.h function comments converted to DoxygenMarti Bolivar2011-04-051-14/+38
|
* ring_buffer tweaks.Marti Bolivar2011-04-052-2/+120
| | | | | | | Adding basic ring_buffer test (cherry-pick from master). Changing rb_safe_insert()'s type to match that of rb_push_insert(). (Makes it easier to pass around insertion functions.)
* Redid Servo in terms of new timer.h.Marti Bolivar2011-04-015-143/+384
|
* Broke the build with previous commit; sorry.Marti Bolivar2011-04-011-1/+1
|
* Hacks to get things to compile in the IDE.Marti Bolivar2011-03-306-8/+17
|
* Board-specific values; corresponding QA test generalizations.Marti Bolivar2011-03-3034-503/+985
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various board-specific #defines and arrays of pins added. For the changelog (some of this information predates this commit): * wirish/boards.h now declares the following arrays of pin numbers: * boardPWMPins - PWM-capable pins * boardADCPins - ADC-capable pins * boardUsedPins - pins already in use, e.g. BOARD_BUTTON_PIN It also declares a bool boardUsesPin(uint8 pin) function for convenient testing of whether a pin is in use. * wirish/boards/*.h now define: * BOARD_USART1_TX_PIN * BOARD_USART1_RX_PIN * BOARD_USART2_TX_PIN * BOARD_USART2_RX_PIN * BOARD_USART3_TX_PIN * BOARD_USART3_RX_PIN * BOARD_NR_GPIO_PINS (renamed from NR_GPIO_PINS) * BOARD_NR_USARTS (renamed from NR_USARTS) * BOARD_NR_PWM_PINS * BOARD_NR_ADC_PINS * BOARD_NR_USED_PINS * wirish/boards/maple_native.h now defines: * BOARD_UART4_TX_PIN * BOARD_UART4_RX_PIN * BOARD_UART5_TX_PIN * BOARD_UART5_RX_PIN (Unfortunately, wirish/boards/maple_RET6.h cannot, since at least one of the UART4/UART5 pins are used already; this will require layout changes for a wide-release Maple form factor RET6 board). * wirish/boards/*.cpp all include the corresponding array definitions. They all live in flash by default, thanks to the new __FLASH__ macro in wirish/wirish_types.h, which is a synonym for the existing __attr_flash #define in libmaple/libmaple_types.h. The documentation was updated to include this information. It also gained various FIXME/TODO comments related to its generalization across boards. The quality assurance-related examples (examples/qa-slave-shield.cpp and examples/test-session.cpp) now make heavy use of board-specific values to ensure portability.
* Removed Maple-specific information from digitalWrite() doxygen comment.Marti Bolivar2011-03-301-3/+2
|
* NitpicksMarti Bolivar2011-03-302-1/+5
|