aboutsummaryrefslogtreecommitdiffstats
path: root/notes
Commit message (Collapse)AuthorAgeFilesLines
* Final stm32_pin_info design candidate; ADC3 support on Native.Marti Bolivar2011-03-252-10/+54
| | | | | | | | | | | | | | | | | | | | Added an adc_dev to struct stm32_pin_info. This was necessary to add support for the channels on the Native which are only connected to ADC3, but it does add a bunch of NULLs to the PIN_MAPs. I don't think any other peripherals need representation on a per-pin basis. Each peripheral library will be responsible for keeping track of related GPIO ports and bits, and we can throw #defines in to boards/*.h for other things (e.g. BOARD_SPI1_MISO_PIN). Fleshed out the ADC refactor and brought it more in keeping with the new design as it evolves. A couple of other tweaks. Notably: waitForButtonPress() now takes a default argument meaning "wait forever". Removed Maple-specific documentation from core functions in io.h; this information will need to go into the individual board docs files.
* Initial timer refactor.Marti Bolivar2011-03-243-90/+17
| | | | | | | | | | | | | | | Basic PWM works. Had some problems in testing that might be due to USART bugs. HardwareTimer has been removed from the build for now; I will re-implement it in terms of the new libmaple API, but consider it deprecated. Let's come up with something better. Servo is implemented in terms of HardwareTimer, so it also has been temporarily removed from the build. pwmWrite() likely got a little bit less inefficient due to indirection, but the PIN_MAPs shrank by a pointer per PinMapping.
* [WIP] GPIO refactor: seems ok, ready for reviewMarti Bolivar2011-03-112-43/+109
|
* Trivial DAC-related updates.Marti Bolivar2011-02-181-0/+20
|
* Basic DAC functionality (high-density devices only).Marti Bolivar2011-02-181-5/+19
|
* Merge branch 'debug-serialusb'Marti Bolivar2011-02-121-14/+23
|\ | | | | | | | | | | Conflicts: libmaple/usb/usb.c notes/coding_standard.txt
| * readme and coding standard updatesMarti Bolivar2010-12-211-7/+25
| |
* | Made Native prototype B definitions in libmaple.h and boards.h; addedMarti Bolivar2011-02-102-6/+223
| | | | | | | | notes/native-pin-definitions.txt (copied from ST datasheet).
* | notes/pin-mapping.txt reflects Mini release candidate.Marti Bolivar2011-02-021-3/+80
| |
* | Updated coding standardMarti Bolivar2011-02-011-26/+76
|/
* added notes/coding_standard.txt, more cleanupsMarti Bolivar2010-09-271-0/+164
|
* whitespace cleanupsMarti Bolivar2010-09-271-8/+9
|
* Merge maple-native changes into portablebnewbold2010-08-312-2/+103
|\ | | | | | | This compiles for both maple and maple_native but is untested.
| * Further wirish portability progressbnewbold2010-08-311-1/+32
| | | | | | | | Sort of ugly changes. Compiles but untested.
| * inital portability workbnewbold2010-08-251-0/+69
| |
| * D38 notebnewbold2010-08-251-2/+3
| |
* | basic working dac implementationbnewbold2010-08-071-0/+32
| |
* | Partially working!bnewbold2010-08-051-15/+36
| | | | | | | | | | Documented; see ./notes/fsmc.txt. Not yet integrated into .ld scripts or fully tested
* | partial progress on FSMC for SRAMbnewbold2010-08-051-0/+42
|/
* timers progressbnewbold2010-07-202-37/+62
| | | | examples code cleanup, more descriptive comments, more notes
* good quality vga leaf logo; usb+systick disabledbnewbold2010-07-202-0/+109
| | | | | refactored timers and added interrupt behavior. see notes and comments... also includes a crude vga hack that doesn't use timers.
* working serialUSB with timeoutbnewbold2010-07-191-0/+2
| | | | | | | | | | | as a temporary workaround for the fact that SerialUSB is often blocking, this crude implementation makes the low-level C usbSendBytes function non-blocking (with a return code of bytes sent) and implements a 2ms timeout in the wirish write() function. also adds begin(), end(), getDTR(), getRTS(), pending(). device is still initialized the old fashioned way during init() so that, eg, autoreset will work. includes a simple multi-test program.
* notesbnewbold2010-07-191-0/+66
|
* info cleanupbnewbold2010-06-181-134/+0
|
* libcs3 refactor mergePerry Hung2010-05-281-8/+0
| | | | | | | | | | | | | | | | Removed dependency on libcs3.a because Codesourcery does not provide the source for it. We now link against a modified libcs3-lanchon-stm32.a built from parts in public domain from Lanchon, and a start_c.c from Codesourcery that is licensed under a permissive license. Also removed all of the extra linker cruft from the stm32conf directory. The linker files now live in support/ld The openocd scripts now live in support/openocd The udev rules and copy-to-ide scripts now live in support/scripts The source lives in support/ld/libcs3-lanchon-stm32.tar.gz
* minor mods to adjust the driver number and the vendor product id's (serial ↵AJM2010-05-211-0/+1
| | | | | | port now 1eaf:0004) and fixed a bug in reset.py, added a no-delay usb serial loop to main.cpp as an example. has no problem at 115200 in minicom!
* Finalized the libmaple changes required by newboot. Added setupUSB() to ↵AJM2010-05-211-0/+1
| | | | | | wirish init this involved some some changes to copy-to-ide, WProgram.h, and the makefile. Separated the reset.py from the wait.py so that the program closes the serial port correctly.
* Initial SPI Polling implementation.Perry Hung2010-04-241-0/+4
| | | | | | | | | Initial commit of a polling-based SPI driver. The driver is limited to synchronous, blocking sends and a 8-bit data frame format. Tested on SPI1 and SPI2. Other peripherals are temporarily disabled, and the rx function is untested until I find a good peripheral to test everything on.
* should have had this in beforebnewbold2010-04-071-0/+6
|
* updated README, LICENSE, notesbnewbold2010-04-072-0/+199