Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Set NONEBASETHRDENA on exception. | Perry Hung | 2011-02-27 | 3 | -33/+58 |
| | |||||
* | Refactor linker scripts. Rename irq and exception handlers. | Perry Hung | 2011-02-27 | 8 | -35/+61 |
| | | | | | Add common linker scripts for ram and rom. Add medium and high density libraries for libcs3. | ||||
* | Cleaned out libmaple.h; this had wide-ranging implications. | Marti Bolivar | 2011-02-27 | 14 | -216/+210 |
| | | | | | | | | | | | | | | | | | | | Many of the #defines in libmaple.h were board-specific, not MCU-specific. Most of these were only used by code under libmaple/usb/. These were moved into usb_config.h, and are clearly marked as being terrible hacks. I'm going to treat the USB stack as a black box that we'll deal with later. Further, instead of having a variety of #defines like "How many USARTS do I have?", we decide that based on the density of the chip. This is determined by testing for STM32_MEDIUM_DENSITY or STM32_HIGH_DENSITY defines. libmaple currently doesn't support low-density chips, so that suffices. The Makefile will set these automatically based on the MCU. Other offending #defines are ERROR_LED_PORT and ERROR_LED_PIN; these were made optional, but they're set in the Makefile as a hack to keep things working. | ||||
* | Made DAC comments 80-column clean. | Marti Bolivar | 2011-02-27 | 1 | -39/+51 |
| | |||||
* | Refactor ADC: Pass device pointer instead of register map | Perry Hung | 2011-02-27 | 2 | -34/+42 |
| | |||||
* | Refactor DAC | Perry Hung | 2011-02-27 | 2 | -69/+141 |
| | | | | | DAC header and source slightly cleaned up. Test on Maple Native prototype. Add flags parameter to allow selective enabling of channels. | ||||
* | Refactor backup (BKP) and power (PWR) routines. | Marti Bolivar | 2011-02-27 | 6 | -96/+244 |
| | |||||
* | libmaple: Refactor ADC routines | Perry Hung | 2011-02-27 | 7 | -121/+232 |
| | | | | | | ADC routines rewritten, support for ADC2, 3, added. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com> | ||||
* | Trivial DAC-related updates. | Marti Bolivar | 2011-02-18 | 1 | -1/+1 |
| | |||||
* | Basic DAC functionality (high-density devices only). | Marti Bolivar | 2011-02-18 | 3 | -10/+10 |
| | |||||
* | 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 |
| | | |