aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
Commit message (Collapse)AuthorAgeFilesLines
* Various SPI changes.Perry Hung2010-04-281-4/+7
| | | | | -Read DR after each master send, return the response. -Added a send function to allow you to pass buffers to the SPI peripheral instead of goin a byte at a time.
* Added a spi send block functionPerry Hung2010-04-272-3/+28
|
* Fixed two compiler warnings in spiPerry Hung2010-04-251-2/+2
|
* Refactoring:Perry Hung2010-04-252-1/+20
| | | | | The 'core' directory has now been renamed to 'wirish.' Wirish is our version of the Arduino Wiring language.
* Added assert fails to exc.cPerry Hung2010-04-251-8/+26
|
* Initial SPI implementation.Perry Hung2010-04-244-0/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit b41eb846ca60559cff242d0c550699eb8f309909 Author: Perry Hung <iperry@alum.mit.edu> Date: Sat Apr 24 04:09:16 2010 -0400 Turn the other peripherals back on. Not extensively tested for interactions between peripherals. commit bf4fc3bf6bc02342ae508b52fb4515d361d626f6 Author: Perry Hung <iperry@alum.mit.edu> Date: Sat Apr 24 03:16:35 2010 -0400 Upper level libmaple interface Added a C++ HardwareSPI class to access the SPI interface. See HardwareSPI.cpp and HardwareSPI.h for documentation. commit 17e0e5edde60e9bf2aa4d52173ad7d47d6d6da75 Author: Perry Hung <iperry@alum.mit.edu> Date: Thu Apr 22 02:36:01 2010 -0400 Initial SPI Polling implementation. 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.
* Clear ODR for input pull-down mode.Perry Hung2010-04-221-4/+3
|
* PinMode pullup bug fix, wiring pin mode bug fixPerry Hung2010-04-222-37/+55
|
* after change of pin numbering scheme, NR_ANALOG_PINS doesn't make sense any morebnewbold2010-04-211-1/+1
|
* Aded two timer function to set max reload value and prescalerPerry Hung2010-04-192-0/+46
|
* Added libmaple gpio_read_bitPerry Hung2010-04-191-0/+4
|
* Cleanup: trivial rename for exception handlers, removed unnecessaryPerry Hung2010-04-013-408/+45
| | | | stm32f10x_conf.h
* Licensing: Relicensed libmaple under the MIT License.Perry Hung2010-03-3127-230/+524
| | | | | | Relicensed the bulk of libmaple under the more permissive MIT License, from GPLv3. Files that were largely or entirely derived from the Arduino, STM, or Lanchon retain their original licenses.
* Removed inttypes.hPerry Hung2010-03-3117-118/+114
| | | | | Removed inttypes.h from libmaple. Will have another pass through to use the standard libmaple types, but will come in another commit.
* Removed remaining STM32 types and #defines.Perry Hung2010-03-303-75/+71
| | | | | Updated usb subsystem to use libmaple types, removed STM32 peripheral library from the Makefile
* Removed STM32 flash code, replaced with barebones hacks for now.Perry Hung2010-03-306-7/+51
| | | | | At this point, there shouldn't be any STM code being compiled and linked against. There are still a bunch of STM header includes, though.
* Merge branch 'master' into rcc-devPerry Hung2010-03-307-30/+247
| | | | | Conflicts: Makefile
* Major hierarchy reorganization; see README.bnewbold2010-03-3125-0/+3271
copy-to-ide and Makefile updated to conform; .gitignore added; LICENSE added