Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Generalizing adc_init() to allow user to select sample time | Marti Bolivar | 2011-02-17 | 2 | -8/+44 |
| | |||||
* | Merge branch 'nzmichaelh-master' into master. | Marti Bolivar | 2011-02-16 | 22 | -102/+815 |
|\ | | | | | | | | | | | | | | | | | This provides DMA, IWDG, PWR, and BKP support, and fixes several bugs. Conflicts: libmaple/adc.h libmaple/libmaple.h libmaple/ring_buffer.h | ||||
| * | undoing USART[45] -> UART[45] mistake | Marti Bolivar | 2011-02-15 | 6 | -23/+24 |
| | | |||||
| * | nvic bugfix; removed unnecessary volatile usage | Marti Bolivar | 2011-01-31 | 2 | -7/+7 |
| | | |||||
| * | [WIP] Code review picked up some bugs/issues. | Marti Bolivar | 2011-01-26 | 7 | -74/+131 |
| | | |||||
| * | Documentation improvements, DMA IRQ table volatile bugfix. | Marti Bolivar | 2011-01-03 | 2 | -1/+11 |
| | | |||||
| * | nzmichaelh-master branch is ready for code review. | Marti Bolivar | 2010-12-30 | 3 | -8/+8 |
| | | |||||
| * | Changed nzmichaelh's initial DMA interface to be more flexible. | Marti Bolivar | 2010-12-30 | 6 | -59/+153 |
| | | | | | | | | | | Some bugfixes in the external interrupt code were found along the way. Defines for nonexistent registers removed from nvic interface. | ||||
| * | nzmichaelh's pull request mods compile and upload. | Marti Bolivar | 2010-12-28 | 11 | -19/+256 |
| | | | | | | | | renamed SysTick_Handler back to SysTickHandler since all of our linker magic/lanchon-stm32 depends on that name. added backup register support in order to test independent watchdog support; it seems to work. next major test target is DMA support. | ||||
| * | Wait until the transmit buffer is empty before send to save time | Michael Hope | 2010-10-20 | 1 | -3/+3 |
| | | |||||
| * | Added DMA1 and DMA2 to the RCC | Michael Hope | 2010-10-20 | 2 | -0/+4 |
| | | |||||
| * | Added basic DMA support | Michael Hope | 2010-10-20 | 2 | -0/+175 |
| | | |||||
| * | Added independent watchdog support | Michael Hope | 2010-10-14 | 2 | -0/+107 |
| | | |||||
| * | Reduced the use of volatiles to speed up rb_insert() and rb_remove(). | Michael Hope | 2010-10-10 | 1 | -15/+15 |
| | | | | | | | | Added support for non-power-of-two ring buffers. | ||||
| * | Changed the ring_buffer indexes to uint16 to cut memory usage and increase ↵ | Michael Hope | 2010-10-10 | 1 | -5/+5 |
| | | | | | | | | capacity. Sorted struct members by size to improve the packing. | ||||
| * | Mark head and tail as volatile as a ring buffer works accross ↵ | Michael Hope | 2010-10-10 | 1 | -3/+17 |
| | | | | | | | | threads/interrupts. Add comments. | ||||
| * | Make rcc.h C++ safe | Michael Hope | 2010-10-10 | 1 | -0/+7 |
| | | |||||
| * | Change the systick handler to the CMSIS compliant SysTick_Handler | Michael Hope | 2010-10-10 | 1 | -1/+1 |
| | | |||||
| * | Make systick.h C++ safe. Expose the sys tick count via systick.h and remove ↵ | Michael Hope | 2010-10-10 | 2 | -6/+8 |
| | | | | | | | | other externs. | ||||
| * | Merge remote branch 'upstream/master' | Michael Hope | 2010-09-29 | 33 | -1103/+1056 |
| |\ | |||||
| * | | Fixed up the build due to a missing header file. | Michael Hope | 2010-09-29 | 1 | -4/+4 |
| | | | |||||
* | | | Merge branch 'debug-serialusb' | Marti Bolivar | 2011-02-12 | 7 | -179/+180 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: libmaple/usb/usb.c notes/coding_standard.txt | ||||
| * | | | readme and coding standard updates | Marti Bolivar | 2010-12-21 | 1 | -38/+46 |
| | | | | |||||
| * | | | Merge branch 'master' into debug-serialusb. | Marti Bolivar | 2010-12-21 | 3 | -224/+373 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chose debug-serialusb version in cases of conflict. Conflicts: libmaple/usb/usb_callbacks.c | ||||
| * | | | | added a usbBlockingSendByte(char ch) | AJM | 2010-12-14 | 2 | -5/+11 |
| | | | | | | | | | | | | | | | | | | | | this new function will only return AFTER the usb interrupt has been serviced and the byte is sent. Bytes should NOT fall on the floor ever with this function. (but they still do? pyserials problem?) | ||||
| * | | | | changed the serialusb to be simplest possible design | AJM | 2010-12-14 | 3 | -51/+20 |
| | | | | | | | | | | | | | | | | | | | | no longer use a ring buffer. No longer double buffer a local rx buffer and the packet memory. Instead, we read out of packet memory and block it for all reads. This is going to be slower. but it tests OK (unlike the old one...). | ||||
| * | | | | enlarged rx buffer and nak when less than 64 bytes is left in packet buf | AJM | 2010-12-13 | 5 | -20/+22 |
| | | | | | |||||
| * | | | | candidate bugfix for serialusb receive bug | AJM | 2010-12-13 | 4 | -26/+43 |
| | | | | | | | | | | | | | | | | | | | | changed USB driver to nak whenever it cant fill an entire endpoint (64B) worth of new data. The old scheme was to set receive valid as long as as the endpoint buffer wasnt full, the new scheme is to nak until it is completely empty. | ||||
* | | | | | Made Native prototype B definitions in libmaple.h and boards.h; added | Marti Bolivar | 2011-02-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | notes/native-pin-definitions.txt (copied from ST datasheet). | ||||
* | | | | | Fixing usb.c countTx race; thanks, geoffreymbrown! | Marti Bolivar | 2011-02-09 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Ported examples/test-session.cpp to work on Mini | Marti Bolivar | 2011-01-30 | 1 | -0/+2 |
| | | | | | |||||
* | | | | | Ported libmaple to the new mini prototype | Marti Bolivar | 2011-01-27 | 2 | -13/+12 |
| |/ / / |/| | | | |||||
* | | | | Finalized 0.0.9 documentation. | Marti Bolivar | 2010-12-15 | 2 | -74/+37 |
| | | | | |||||
* | | | | Merge branch 'master' into newdoc | Marti Bolivar | 2010-12-14 | 3 | -102/+218 |
|\| | | | |||||
| * | | | Servo library tested and debugged. | Marti Bolivar | 2010-12-08 | 2 | -75/+143 |
| | | | | | | | | | | | | | | | | | | | | Some additional HardwareTimer methods introduced to make this convenient; ancillary libmaple/timers.h changes resulted. | ||||
| * | | | maple mini prototype seems to be working | Marti Bolivar | 2010-11-30 | 1 | -8/+18 |
| | | | | |||||
* | | | | Finished converting the Arduino docs | Marti Bolivar | 2010-11-29 | 1 | -234/+234 |
| | | | | |||||
* | | | | arduino language reference nearing completion, properly CC-BY-SA 3.0 attributed | Marti Bolivar | 2010-11-17 | 2 | -36/+186 |
|/ / / | |||||
* | | | maple mini runs blinky now. | Marti Bolivar | 2010-10-22 | 5 | -13/+32 |
| | | | | | | | | | | | | still need usb descriptors to improve, and also nothing else is tested. | ||||
* | | | weird broken table for maple mini | Marti Bolivar | 2010-10-20 | 1 | -20/+55 |
| | | | |||||
* | | | Merge branch 'master' of github.com:leaflabs/libmaple | Marti Bolivar | 2010-10-14 | 2 | -31/+27 |
|\ \ \ | |||||
| * | | | Add selective enabling of channels for pwm channels | Perry Hung | 2010-10-12 | 2 | -31/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pinMode(PWM) turns the channel on, other modes should turn it off Fixes bug with conflicting timer for spi1 and timer. This is not well-tested. Conflicts: libmaple/timers.c | ||||
* | | | | more sphinx docs | Marti Bolivar | 2010-10-11 | 4 | -174/+198 |
|/ / / | |||||
* | | | more docs | Marti Bolivar | 2010-10-11 | 1 | -1/+1 |
| | | | |||||
* | | | docs | Marti Bolivar | 2010-10-11 | 19 | -94/+109 |
| | | | |||||
* | | | somebody broke assertions | Marti Bolivar | 2010-10-07 | 2 | -5/+7 |
| |/ |/| | |||||
* | | added notes/coding_standard.txt, more cleanups | Marti Bolivar | 2010-09-27 | 1 | -1/+1 |
| | | |||||
* | | whitespace cleanups | Marti Bolivar | 2010-09-27 | 31 | -892/+905 |
| | | |||||
* | | Enable external interrupts on all Maple GPIOs. | Perry Hung | 2010-09-22 | 4 | -177/+111 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the wirish attachInterrupt() and detachInterrupt() interface to work with all GPIOs. Note: The STM32 external interrupt lines are multiplexed between GPIO ports. While any GPIO can be used as an external interrupt, not all of them can be used at the same time. Each EXTI[n] line selects between PA[n], PB[n], PC[n], etc. For example, line EXTI5 can be used with STM32 pins PA5, PB5, or PC5, but not all at the same time. See table: EXTI Line Maple Pin STM32 Pin 0 D2 PA0 0 D27 PB0 0 D15 PC0 1 D3 PA1 1 D28 PB1 1 D16 PC1 2 D1 PA2 2 D17 PC2 2 D25 PD2 3 D0 PA3 3 D18 PC3 4 D10 PA4 4 D19 PC4 5 D13 PA5 5 D4 PB5 5 D20 PC5 6 D12 PA6 6 D5 PB6 6 D35 PC6 7 D11 PA7 7 D9 PB7 7 D36 PC7 8 D6 PA8 8 D14 PB8 8 D37 PC8 9 D7 PA9 9 D24 PB9 9 D38 PC9 (BUT) 10 D8 PA10 10 D29 PB10 10 D26 PC10 11 D30 PB11 12 D31 PB12 13 D32 PB13 13 D21 PC13 14 D33 PB14 14 D22 PC14 15 D34 PB15 15 D23 PC15 | ||||
* | | Fix improper interrupt clearing | Perry Hung | 2010-09-22 | 1 | -14/+4 |
| | | | | | | | | | | | | | | Interrupts should be cleared by writing to the interrupt clear-enable register (ICER). This commit fixes an improper read-modify-write on NVIC_ICER[n] that incorrectly cleared interrupt-enable bits on non-designated channels. |