| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
perry forgot to add/edit these...
|
|
|
|
| |
out of main to cxxabi-compat.cpp.
|
|\ |
|
| |
| |
| |
| |
| | |
-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.
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
The 'core' directory has now been renamed to 'wirish.' Wirish is our
version of the Arduino Wiring language.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
interactions between peripherals.
|
| |
| |
| |
| |
| | |
Added a C++ HardwareSPI class to access the SPI interface. See
HardwareSPI.cpp and HardwareSPI.h for documentation.
|
|/
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
with the example main.cpp
|
| |
|
| |
|
| |
|
|
|
|
| |
gets written, cleaned it up a bit
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
stm32f10x_conf.h
|
|
|
|
|
| |
Accidentally deleted too many lines during relicensing, fix the
remaining files. Should compile now.
|
|
|
|
|
|
| |
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.h from libmaple. Will have another pass through to use
the standard libmaple types, but will come in another commit.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
Makefile
core/pwm.c
core/wiring.c
libmaple/usb.h
src/wiring/pwm.c
stm32lib/inc/cortexm3_macro.h
stm32lib/inc/stm32f10x_adc.h
stm32lib/inc/stm32f10x_bkp.h
stm32lib/inc/stm32f10x_can.h
stm32lib/inc/stm32f10x_crc.h
stm32lib/inc/stm32f10x_dac.h
stm32lib/inc/stm32f10x_dbgmcu.h
stm32lib/inc/stm32f10x_dma.h
stm32lib/inc/stm32f10x_exti.h
stm32lib/inc/stm32f10x_flash.h
stm32lib/inc/stm32f10x_fsmc.h
stm32lib/inc/stm32f10x_gpio.h
stm32lib/inc/stm32f10x_i2c.h
stm32lib/inc/stm32f10x_iwdg.h
stm32lib/inc/stm32f10x_lib.h
stm32lib/inc/stm32f10x_map.h
stm32lib/inc/stm32f10x_nvic.h
stm32lib/inc/stm32f10x_pwr.h
stm32lib/inc/stm32f10x_rcc.h
stm32lib/inc/stm32f10x_rtc.h
stm32lib/inc/stm32f10x_sdio.h
stm32lib/inc/stm32f10x_spi.h
stm32lib/inc/stm32f10x_systick.h
stm32lib/inc/stm32f10x_tim.h
stm32lib/inc/stm32f10x_type.h
stm32lib/inc/stm32f10x_usart.h
stm32lib/inc/stm32f10x_wwdg.h
stm32lib/src/stm32f10x_adc.c
stm32lib/src/stm32f10x_bkp.c
stm32lib/src/stm32f10x_can.c
stm32lib/src/stm32f10x_crc.c
stm32lib/src/stm32f10x_dac.c
stm32lib/src/stm32f10x_dbgmcu.c
stm32lib/src/stm32f10x_dma.c
stm32lib/src/stm32f10x_exti.c
stm32lib/src/stm32f10x_flash.c
stm32lib/src/stm32f10x_fsmc.c
stm32lib/src/stm32f10x_gpio.c
stm32lib/src/stm32f10x_i2c.c
stm32lib/src/stm32f10x_iwdg.c
stm32lib/src/stm32f10x_lib.c
stm32lib/src/stm32f10x_nvic.c
stm32lib/src/stm32f10x_pwr.c
stm32lib/src/stm32f10x_rcc.c
stm32lib/src/stm32f10x_rtc.c
stm32lib/src/stm32f10x_sdio.c
stm32lib/src/stm32f10x_spi.c
stm32lib/src/stm32f10x_systick.c
stm32lib/src/stm32f10x_tim.c
stm32lib/src/stm32f10x_usart.c
stm32lib/src/stm32f10x_wwdg.c
|
| |
| |
| |
| |
| | |
copy-to-ide and Makefile updated to conform; .gitignore added;
LICENSE added
|
| | |
|
| |
| |
| |
| |
| | |
Updated usb subsystem to use libmaple types, removed STM32 peripheral
library from the Makefile
|
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
Makefile
|
| |/
| |
| |
| |
| | |
copy-to-ide and Makefile updated to conform; .gitignore added;
LICENSE added
|
| |
| |
| |
| | |
There shouldn't be any STM32 rcc code anymore.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
brings up the board to 72MHz, clocked by external crystal PLL boosted to
72MHz.
|
|/ |
|
|
|
|
|
| |
version. New users are expected to write their or main.cpp or copy
from an example version.
|
|
|
|
|
|
|
|
|
| |
we discussed. There's no such thing as A0-A15 anymore. You should now
be able to do something like:
unsigned int val;
pinMode(15, INPUT_ANALOG);
val = analogRead(15);
|
| |
|
|\ |
|
| |
| |
| |
| | |
have unintended consequences?
|